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.
balanced_num = balancedNum
it provides an alias to the snake_case version of the camelCase function name.
Example of function name aliasing:
p = print
p("Hello, World!")
Has anybody tested the performance of this ? it feels to me like recursivity would be less efficient than a regular loop here
Starting the loop from 0 is unecessary, wasting an iteration. Just a small detail
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
It's shocking how slow this solution is.
Our solutions have the same time complexity but different readability
doesn't work anymore
Can you explain, please, string: balanced_num = balancedNum? Without this solution doesn't work. Something tries import, i don't understand
Where Typescript?
This comment is hidden because it contains spoiler information about the solution
cool practice
yeah i understood that n is day after facing wrong answer but still didn't knew substracting from height can do the trick
oh i see, i used same logic to do it quickly but i didnt knew i had to subtract down speed once from height before doing this
wonderful,
that kinda like reminding me tht I need to refresh my info about arrays since I had studied at hight school
Loading more items...