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.
I should just return false whenever its invalid, then return true if it's passed. Then the solution is more elegant.
Yes for sure!
The compiler should be smart enough to get rid of them, but the boolean logic operations should be simplified.
Using bool for a variable name might not be the best practice. Using the bool variable at all seems pointless.
This is quite unreadable tbh.
Thanks
I did not really keep track of time, but I guess it took me 2-3 hours.
May I ask how long it took you ?
How long did it take you ?