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

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

Link to the problem...

I have tried this approach.Try to sort the subarray closer to the last index.Shift the window towards lefts if the new element in left is smaller than all the elements in the new window but this approach fails in one case.

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