Because that's how JS works.
This comment is hidden because it contains spoiler information about the solution
I support))
The maximum roll in all these 3 cases are 2.
Why 3 case doesn't contain (2,2), (2,1), (1,2)?
we just don't want to repeat the last jump in the first loop which had 'n' jumps.
Why does the second iteration have "let i = n-1"?
How? 0_o
The same
Loading collection data...
Because that's how JS works.
This comment is hidden because it contains spoiler information about the solution
I support))
The maximum roll in all these 3 cases are 2.
Why 3 case doesn't contain (2,2), (2,1), (1,2)?
we just don't want to repeat the last jump in the first loop which had 'n' jumps.
Why does the second iteration have "let i = n-1"?
This comment is hidden because it contains spoiler information about the solution
How? 0_o
The same