Strongest fighter

whats wrong with it??

@Kush_1312 you’re using the push_back function so dont already declare the size of the deque, the code will take care of it. https://ide.codingblocks.com/s/204577 try submitting this code and let me know

no not working the same test cases are failing again

@Kush_1312 you can refer this code https://ide.codingblocks.com/s/204913 uses the same logic

1 Like

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.