Merge pull request #1869 from evanmiller2112/main

Clarify language in hashmap3.rs (sum vs per match)
This commit is contained in:
liv 2024-03-15 14:32:12 +01:00 committed by GitHub
commit 31e7920cee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,10 +4,11 @@
// the form : "<team_1_name>,<team_2_name>,<team_1_goals>,<team_2_goals>" // the form : "<team_1_name>,<team_2_name>,<team_1_goals>,<team_2_goals>"
// Example: England,France,4,2 (England scored 4 goals, France 2). // Example: England,France,4,2 (England scored 4 goals, France 2).
// //
// You have to build a scores table containing the name of the team, goals the // You have to build a scores table containing the name of the team, the total
// team scored, and goals the team conceded. One approach to build the scores // number of goals the team scored, and the total number of goals the team
// table is to use a Hashmap. The solution is partially written to use a // conceded. One approach to build the scores table is to use a Hashmap.
// Hashmap, complete it to pass the test. // The solution is partially written to use a Hashmap,
// complete it to pass the test.
// //
// Make me pass the tests! // Make me pass the tests!
// //