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

Автор getdebarghya1025, история, 4 года назад, По-английски

UVA — 732

Somebody help me with this problem. How to get all the permutations of pop and push operations? as there are no constraints specified I think checking all the permutation by brute force will get me TLE, so is there any good approach to solve this problem?

Полный текст и комментарии »

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