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.
Thank you so much, I have solved my problems, its because I dont count the spaces between numbers
For me, I don't count the spaces between eight and hundred, so I compare character "e" in 18 and "h" in 800
This comment is hidden because it contains spoiler information about the solution
You should check your Big O Notation (O) of your algorithm, if it is O(n^2) then your code will got an erro timed out.
The complex of algorithm should be O(n) or O(nLog(n))
You should check your Big O Notation (O) of your algorithm, if it is O(n^2) then your code will got an erro timed out.
The complex of algorithm should be O(n) or O(nLog(n))
I have an error when compile in codewars,
but when I compile it in another tools, It's work,
I don't know why, please help me!
The error when compile in codewars is:
Fixed_Tests
Caught unknown exception
oh, Thank you so much, I got it.
Thank you! I already searched on google, but I can not find any post about "rounded up to the next integer".
Can sombody help me?
I don't really understand this sentence: "rounded up to the next integer".
Can somone give me an example?
Thank you so much!
You can change data type like this
bool isTriangle(long a, long b, long c)