Блог пользователя the_explorer_adarsh

Автор the_explorer_adarsh, история, 16 месяцев назад, По-английски

There was this problem that I came across, and solutions here did not cover all edge cases from my perspective. Please clarify if for test case 1 1 5 9 2 3 The result should be 3 moves or 11 moves because it accepted 11, but it can be done in 3 moves by inserting top 3 zeros at the position just 4th from the bottom.

As it accepted my solution where the result for above was 11.

2122B - Pile Shuffling ahsoltan Please do review it.

  • Проголосовать: нравится
  • -7
  • Проголосовать: не нравится