push_back() vs push_front() in deque.

Revision en1, by RakibJoy, 2023-01-06 22:26:54

Can anyone please explain why my second solution is getting tle ?

I just used push_front() instead of push_back() here.

First Solution — 188254737

Second Solution — 188254960

Problem — 1527E - Partition Game

Thanks in advance.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English RakibJoy 2023-01-06 22:26:54 317 Initial revision (published)