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 comment is hidden because it contains spoiler information about the solution
I thought about doing this at first, but I wasn's sure how to whittle it down this small
this solution is amazing man, thank you
What if the best sub sequence starts not from index 0 ?
This comment is hidden because it contains spoiler information about the solution
you picked the wrong language, should have picked C instead
yeah, I know. But I don't like the syntax. It feels cumbersome to me. 'Prefer the import...
This comment is hidden because it contains spoiler information about the solution
what is the output for int[] arr = {-2,-1,-3,-1};
Expected output : -3
the above logic gives : 0
niu bi
niu bi
Looking nice, but isn't it rather C-style than C++?
That algorithm looks interesting, I also used 2 for loops for doing this kata...
Nice but, what happened with "!", in the example it was at final of the word...
Not sure, but I think may be the fifth(last part of string) %d holds the 'end of the string character (or so called null termination) "\0"'.
Loading more items...