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.
This is with random test cases. Random TCs generation needs to be fixed not to have leading zeroes
Will do!
@ogryzek, I guess this is now resolved, if so, update and mark it as resolved once the issues are fixed.
Testing in C#: "'Ghost' does not contain a definition for 'GetColor'".
The Details don't mention such a method.
Test cases for the java are wrong. it checks strings equality with == instead of .equals , please fix it.
Please explain. Did not understand this
Thank you for this comment!, I did not know this.
len function is unnecessary here, as the problem statement specifies that input is a triplet.
Third-party-ified
I will assume that @resetxd's question was sarcastic ),
Sorting will take extra space and higher time complexity than just parsing linearly.
Thanks for the explanation @Chrono79. I got confused by the same discrepancy in answers but your point clarified it for me
This comment is hidden because it contains spoiler information about the solution
One run your tests with string "when we add 100 to 3250, it becomes 3350"
you could just do
return (condition_in_if_statement)
;This comment is hidden because it contains spoiler information about the solution
Loading more items...