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.
No need to apologize ~~ I've got a similar solution as yours @myjinxin2015 ^^
The last test with the very long array is confusing. Why should we get Log as a result? Gollum contains all the symbols l, o, g. So in this case we have no unique string?
Or please change the conditions from "contains unique or not contains some of repeating"
Haha, sorry...
very short... and totally unclear
Given that 0 is a natural number, just saying that it's defined for them would be enough.
sorry for nitpicking, but then could you fix this: "This is only applicable to the real numbers and zero." You didn't mean real numbers, just say natural + 0.
I agree with xcthulu here, this could be seen as both an algorithm and a formula, but the mathematics wins over, so I see this as a function with a domain of the Natural Numbers and zero.
this is not about theory - it's about possibilities )
In number theory, it is not defined for negative numbers, so I have to disagree.
Maybe it makes sense to add test case with negative number?