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.
Ugh, those ternaries :)
OP solved it, closing
just creating that sod sieve times out already, is micro optimisation required?
duplicate of this issue
This comment is hidden because it contains spoiler information about the solution
this app use node 8.1.3 which doesn't support private methods(
you should use another approach for this purpose
Youre right. I forgot the division does a floor()
That's not how integer division work. You'll get 6(D) in both cases, the only difference is the remainder.
This comment is hidden because it contains spoiler information about the solution
If that doesn't answer the question, nothing does.
super cool, learned a lot of JavaScript!
the originals arrays get mutated after de function?
it took me a lot of days insert emoji what a relief
it took me a lot of time to figure out and still unsure wich could be the best solution, cant stop thinking bout this problem haha
the same algorithm worked on JavaScript but no in C and by the comments I'm not the only one with this problem
Loading more items...