You are viewing a single comment's thread. Return to all comments →
Really nice solution!
I'm not sure why you're doing:
reversed(range(1, k+1))
when you could directly do:
range(k, 1, -1)
Append and Delete
You are viewing a single comment's thread. Return to all comments →
Really nice solution!
I'm not sure why you're doing:
when you could directly do: