-
Notifications
You must be signed in to change notification settings - Fork 2
zoo
bradendubois edited this page Jul 18, 2021
·
7 revisions
ID: zoo
Difficulty: 2.0
CPU Time: 1 second
Memory: 1024 MB
For each case, create a map that tracks an animal and the number of them seen. For each line, turn the last word into lowercase and increase the value that word maps too. Then, go through the keys of this map and output the animal:count pairs.