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.
More readable write with line breaks)
This comment is hidden because it contains spoiler information about the solution
not much much more) asimptotically
not much much more) asimptotically
not much much more)
better use to valueOf()
Более лаконичное и понятное решение в реальном коде, только я бы еще и switch case использовал, вынес бы значения в константы
better to do CONST value for 10, i done so, but think then more
Очень хорошее решение, выносить предельные значения в константы - отличная практика