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.
Needed a help for a question
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.
| Rev. | Lang. | By | When | Δ | Comment | |
|---|---|---|---|---|---|---|
| en1 |
|
failure_forever | 2023-03-15 16:17:15 | 335 | Initial revision (published) |