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

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

please help me in following problem , i tried to read its analysis ,but was unable to understand its optimised solution . I looked for various people solution ,they had used bfs, but i am unable to interpret that too.

Just give me the way ,through which i should approach this problem .

Problem

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