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.
good work using repeat two times to avoid looping
will the function able to work well for arrays with more than three repeated numbers and one unique number?
example array = [1,2,2,2,1,1,1,3,3,4,2,2]
This comment is hidden because it contains spoiler information about the solution
Never knew we could tostring method on boolean.I wonder if we could use String(Boolean);