failure_forever's blog

By failure_forever, history, 20 months ago, In English

Can someone explain how to do this Soldier and cards according to the method given in editorial . I have done this question using deque but I want a approach as followed in editorial.

Any help is much appreciated.

  • Vote: I like it
  • 0
  • Vote: I do not like it