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.
Great kata! It was a lot of fun! A fun addition would be to differentiate between trips and sets meaning trips are three of a kind with 1 hole card, and a set is three of a kind with 2 hole cards. You could also do a kata where you calculate equity for 2 hands, or determine the winner between two players. There are a lot of possible ideas like that for future katas!
This comment is hidden because it contains spoiler information about the solution
It does it remove i after the foreach loop and i is the lowest index min value there is cause its compared to the rest of the array.
It's actually a very efficient solution.
"Do not mutate the original array/list."
is a requirement
This comment is hidden because it contains spoiler information about the solution
the else statement is not needed since fizz and buzz default is false already