The logic is failing on 1 test case. If i change the order of ans and sz variable in info class. test case 3 fails. else test case 2 fails for the same code.
DOnt know why on etest case is failing
The logic is failing on 1 test case. If i change the order of ans and sz variable in info class. test case 3 fails. else test case 2 fails for the same code.
DOnt know why on etest case is failing
@piyush.bansal8158625 hey piyush refer rhis code it as similar as your implementation
reference code