Last test case showing TLE
Hey @EkanshJain2323 Updated ur code with faster algo : https://ide.codingblocks.com/s/353974