Hello sir I tried to write the code using the exact approach as in the video but some of the test cases are failing :(.
Code: https://ide.codingblocks.com/s/652184
Could you please tell on which conditions the code is giving the incorrect answer and the necessary corrections that I need to make in the code.
Thank You