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.
for how much cleaner it is, it's only marginially slower than my solution; Only once we get to a test size of 2,500,000 data points does my solution actually start to be "noticiably faster" (180ms vs 320ms)
nice and tidy
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
seems easy for a 5kyu
For some reason this exceeds max call stack once the input gets really big
solid solution. Nice work
you're a pro. The way you compare the directions is the best I've seen of all the solutions. Also solved in O(n)
yup, I ran into the same issue
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
This comment is hidden because it contains spoiler information about the solution