how can i improve the efficiency of my code because one of the test case is showing timelimit exceeded
hi @anugrahrastogi refer geeks for optimal solution