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

Автор adaptatron, 6 часов назад, По-английски

Given an array, you can reverse any subarray if the minima and maxima of the subarray have different pairities. Can you sort the array after any number of operations?

I created a video discussing the ideas used in this problem

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