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.
Note** : number of terms in a sequence can never be in decimal! This method will fail if n = 2.333. So, do not use decimal numbers as arguments.
Ahh that makes sense, thanks!
This comment is hidden because it contains spoiler information about the solution
except that when you talk about "approach", you're normally talking about the algorithmic aspects...
The code is concise. There are a bunch of criterias to evaluate a solution, big-O notation is one of them.
not a great approach at all! this is O(n² log n)!
Sample tests (in JS) are broken:
"ReferenceError: objectEqual is not defined
at /home/codewarrior/index.js:17:29
at /home/codewarrior/index.js:19:5
at Object.handleError"
Resolving dangling ticket