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.
This comment is hidden because it contains spoiler information about the solution
Well damn, I thought common sense would serve me well in programming!
One of the most difficult katas I've done so far, but also one of my absolute favourites. Absolutely loved this kata!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Goddamn it I saw the title and my brain went to n being a multiple of both x and y. Guess I need to get better at reading.
I'm no expert but I think they're saying it's not good practice because not only is it overcomplicated for a fairly simple task, it also would probably suffer a bit in performance compared to the other solutions. That's just my assumption though and I am not great at evaluating whether or not a solution is good practice.
This comment is hidden because it contains spoiler information about the solution
Where the heck did you get the word "product" from? It's not that. The task is literally in the title of the kata, nothing special. Is 24 divisible by 4? Yes. Is 24 divisible by 8? Yes. So, expected return of
true
is correct.Not a kata issue, so, closing.
This comment is hidden because it contains spoiler information about the solution