push_back() vs push_front() in deque.

Правка en1, от 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.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский RakibJoy 2023-01-06 22:26:54 317 Initial revision (published)