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.
You should create a synchronous function that takes 7 seconds.
The log says 7000+ ms since it waits for the process to end. Meanwhile, Node have to wait until all promises are resolved. That's why the log says 7 seconds but not the tests.
This comment is hidden because it contains spoiler information about the solution
it's nice when mine matches the top answer
funny but good! :D
This is not true ( anymore ) and should be taken out.
Tests are vulnerable to input modification.
If you like your object equality, the pieces should be ( individually ) frozen. Object equality is actually unnecessary, and deepcopied pieces could be passed, but that's probably more work.
Performance constraints are different, and the identifyable parts are also different enough to make these two different kata's.
i found this kinda funny, the title literally say "Lost Without a Map", but here you are using a "Map()" xDD
its still a good solution tho
These solutions showing me how I need to think differently and not overcomplicate things lol.
No answer after 3 weeks, closing.
This comment is hidden because it contains spoiler information about the solution
I learned quite a few ways for manipulating execution time from this kata and it's solutions, so I disagree with you here.
Lua translation!
approved
Loading more items...