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.
check out my solution
Done. Thanks.
Count the letters, the cases where your function should return true have 3 of one kind and 2 of other.
The one where your function should return false has 3 different letters there.
I do not understand the terms of the problem.
Why this condition ['b', 'b', 'a', 'b', 'a'] is true
This condition ['a', 'a', 'b', 'c', 'b'] is is false
And this condition ['c', 'a', 'c', 'a', 'c'] is true
Add
['a', 'a', 'a', 'a', 'a']
as a fixed test.Fixed. Thanks.
Typo in the description: should be
Given an array with 5 string values 'a', 'b' or 'c'. Check if the array contains exactly, three of the same values and two of the same values.
@osuushi you should add some test cases for passing in 2x and x^2
Something is missing from the Bomb
Needs to be the NEXT biggest number, not the biggest number. (It took me a while to figure this out too)