Help me to remove tle

i am getting only 1 test case passed

hello @singh.pankhil40
observe the pattern of the mentioned algorithm and then write ur own algorithm with less complexity with same functionality.