Back to course home
0% completed
Vote For New Content
I'm wondering: do we really need the while loop to check if the `fruitFrequencyM...
manulorenzop@gmail.com
Jul 11, 2022
I'm wondering: do we really need the while loop to check if the fruitFrequencyMap is bigger than 2? We are increasing the size of the fruitFrequencyMap with 1 each time. So, is there really the need for the while?
0
0
Comments
Comments
K
Kiriyama Rei3 years ago
we are using the while loop to check if we have more than 2 elements, we want to repeat the actions of the while loop until we have only two elements.
On this page