SPOJ INVESORT

Правка en3, от tojra, 2022-06-15 19:37:44

SPOJ Inversion Sort is a problem mentioned in list of practice problems for bfs here. I tried using bfs by starting from current string and moving to all possible inversions from that till desired string, but I am getting TLE. I couldnot find any editorial for this problem. Any ideas on how to solve this? Thankyou.

Теги bfs, editorial

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский tojra 2022-06-15 19:37:44 100
en2 Английский tojra 2022-06-15 19:36:34 0 (published)
en1 Английский tojra 2022-06-15 19:36:12 354 Initial revision (saved to drafts)