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.
just retake a look on it.
Your name contains a hate symbol "SS". I will report you.
Bye, take care
here's the ambiguity with your name
those rules are unambiguous, unlike your user name
agree
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
Your solution is faster by a constant factor; both are
O(n)
. Micro-optimisations are generally discounted for Best Practice ( though this one is a bit extreme according to your numbers ).That said, lots of people also just seem to like oneliners here.
https://www.youtube.com/watch?v=bfpPArfDTGw
... so far!
Thank you for your valuable feedback! The time complexity has been added to the task description. Unfortunately, the task's difficulty level is not set by the author; it is determined by the first solvers during the beta testing phase
Thanks for the comment! The task requires algorithms with a time complexity of O(n). To ensure that slower algorithms are not used, we need some way to check this. Very large input data is used for this purpose
done
This comment is hidden because it contains spoiler information about the solution
Loading more items...