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.
This comment is hidden because it contains spoiler information about the solution
Please can anyone explain me this ?
This comment is hidden because it contains spoiler information about the solution
While it could technically contain any number of elements, that is not what the description specify.
Your example is not proper. The list may be [1, 2, 4] for you, and you can easily find the answer is [1, 2, 3, 4], now you also can know there are "list.length" intervals and "The missing term will never be the first or last one." So the step is "(list[list.length - 1] - list[0]) / (list.length)". Sorry, my poor English...I hope you can understand what I say.
The input data consist of an array which contains "five" names
But it can be any number, not only five