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.
fixed
Thank you for your previous and current feedback. :)
thanks for your feedback
Very good solution.
But I think you were not fair in ranking it.
because not every one can sove it in 9 lines of code like you :) especially using another language.
thank you, I solved it.
I am trying to solve this kata in C and passed all test cases, but I got that error :
Test Crashed
Exit code: 0
Signal code: 6
*** Error in `/home/codewarrior/solution': free(): invalid pointer: 0x00000000006031e0 ***
is not it more concise ?
Fabulous Kata,
I hava made 2 solutions for it and I have shocked.
the first one is longer with self implementation for the stack class, and the second one is shorter with the use of java.util.Stack class.
when I tried 60000000 as a large test case, it took 1s 163ms with the first solution and 6s 86ms with the second one :o
how that ?
the java library should be the fastest, should not it ?
1s 242ms with me. why 12s ?