Time limit exceed for a testcase

used sorting then also getting tle in one of the test case

Please share the link to your code