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.
Use a static array to only pay the o(n) cost once for initalizing the array of size n. Nice! O(1) constant time depending on size of n; as array n grows O(1) -> O(n).
I know this doesnt matter, but im trying to apply the discrete math skills. Thanks!
Nice!
cool idea
This comment is hidden because it contains spoiler information about the solution
readily.readable
super clever, nice!
no.read.able.
This comment is hidden because it contains spoiler information about the solution
He did it beautifuuuul)))
Good point, but you are basically using the same approach. Hence the time complexity of your solution isn't perfect as well.
I like this. That -diff unary operation is such a nice touch.
Seems good to me and very understandable.
gg
Explain
not readable. :P
Loading more items...