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.
My bad...
Well, it's O(2N) to be precise (an std::sort and a for loop). And yes, there is.
I know this is a performance kata, but the fact that an O(N) solution (2nd best time complexity) doesn't pass is just ridiculous.
Can you elaborate on "we don't have calculate this kind of numbers."?
BTW I'm sorry for being an ass; you're a cool guy.
In C++, std::round(std::log(ULLONG_MAX)) is equal to 44; However, the kata expects more than that (e.g. some exercises in the kata expect up to more than a 100). Can someone explain to me how is that possible?
Why is "Helloworld" true and then later false?
In C++, how am I supposed to use the optional parameter? I'm a beginner to C++ and from what I know, default arguments are supposed to be written next to other parameters. (e.g. func(int x, int y, int default = 0)) The function header is not written like this in the kata. Help?
Bad description... But then again, I don't expect anything more from g964....
If you can take the time to respond, how about you take the time to help me you dick
Can someone explain to me what "76A0000021000" means as if to a five year old?
I solved it. Thank you.
I didn't understand the description. Can someone explain this to me? Thank you!
Isn't "abcba" already a palindrome? ("abc-" && "-cba" ("abc" inverted)) If so, why is it true? If not, can someone rectify the misunderstanding? Thank you!
Whenever I click "Attempt", an error pops up: "use of undeclared identifier strcpy." But the thing is, I don't have any strcpy identifier in my code. Help?
Whenever I click "Attempt", an error pops up: "use of undeclared identifier strcpy." But the thing is, I don't have any strcpy identifier in my code. Help?
Loading more items...