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.
Double is used for slicing not indexing
wow!
I think this is the best practice because we replace the rest of the letters with lowerCase
could anyone explain what makes 2*(n-1) option better than n*2-2?
During C programming it's becoming a habit, couse without semicolon in every place where it should be your program won't run
Getting all of them can be very expensive for large arrays with small n.
Such a wow moment when you see a simple elegant solution and you're like dammn why did I overcomplicate the hell out of it :D
damn
The last line of kata description literally asks to modify the input not create a new one
Oooh I understand now, I did something similar but instead i subtracted 360. Thank you so much for such a detailed response!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I've never seen the double colon used for indexing like that. Thanks for the new info.
Funny kata all i had to do was press backspace three times.
Loading more items...