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.
It's too late to change the kata design, it's been solved many times. (Also it teaches new c0ncept about arguments of functions, so why not?!)
Yes, it would've lmao
Yes true,I just wanted to practise ternary operators.
you could remove the " ? true : false" part
if the first element is not x, the program will return false because the else statement is inside the foreach loop.
wouldn't be easy if the function only takes an int array containing all the ages?
I'm just saying.
I just got a StackOverflowException xd