I am trying to solve the problem (practice problem) on geeksforgeeks and getting the time limit exceeds message. Here is the problem statement problem please check my code