The ListBuilder was not putting things in the correct order which made the list became undefined -> undefined -> .... This has been fixed, thanks to your solution.
No, they actually don't move.
You can read the above line as It is the letter, that takes some amount (value) and moves it (i.e. adds or subtracts it) at a certain position.
So, the letters do stay put.
A kind of puzzles i genuinely love. Thank you!
Thank you! I'm glad you enjoyed it. Merry Christmas.
A pleasure to deal with katas like that.
Merry Christmas, dfhwze!
==>
You're welcome, glad to help.
The ListBuilder was not putting things in the correct order which made the list became
undefined -> undefined -> ...
. This has been fixed, thanks to your solution.Thank you!
Took a while to come to an approach like that.
well done. I think this is the first I've seen with this approach in O(n) time
Nice!! Thanks to you!
Hi, Quark Fox!
Have a look at the example (0, 30, 0, 30) once again:
According to the instruction steps(#1, #3) you have a value of 360 times 2(#1) + 360(#3), which is 1080.
Now add this to 90*3 and you get 1350.
Hope that helps.
Translated test cases look nothing like the Java original (??)
Where is the validation function checking the user returned password?
Javascript translation:
https://www.codewars.com/kumite/64058635b2dd990031b7ece4?sel=64058635b2dd990031b7ece4
No, they actually don't move.
You can read the above line as
It is the letter, that takes some amount (value) and moves it (i.e. adds or subtracts it) at a certain position
.So, the letters do stay put.
Yep, BigInt is fine, thank you.
Should BigInt be used in js solutions?
While having everything correct up to 57, mine fails at all the next bigger values.
Loading more items...