Imagine that there is an international car race. Each country is represented by two racers. You decide to store the information about the race using collections. When a racing car crosses the finish line, you record the team it represents. As a result, we should know in what order the cars arrived at the finish line.
What type of collection would you use to store this information?
Introduction to collections
Race
Report a typo
Select one option from the list
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.