Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Yup, i got the same idea. But im not familiar w Java syntax. I'll keep practicing.
Kruto!!! 😎
I did the same! nice
yes the while loop will break if the f0 is below or equal to 0 or if n becomes 0
or both so if the loop breaks by n becoming 0 then still the f0 is larger than 0 so true else if f0 becomes 0 or below the loop breaks and then if n is 0 returns true else false.
Thanks for your solution, i did the same way but with a hashmap at first, which cost me a lot more operations.