sir some test cases failed . Pls review it.
Strongest Fighter
some minute mistakes! see to them!
@mayankA47 https://ide.codingblocks.com/s/243123
Sir still 1 test case did not passed it’s giving TLE
The code runs with O(n) complexity, also I tested the code manually and it gives correct answer!, so don’t worry. You may also download the testcase the code fails and test it locally. The code is fine!
@mayankA47 But Sir my score is not a perfect 100 it’s 88 and green tick is also not coming means it is not considered as a correct ans?
Ramit you can download the test case and run it on your machine for which your code is failing, I’ve tried same and your code just works fine!, there might be some issue at backend so don’t worry as your code is perfect.