time limit is being exceede. please rectify my code. Here’s the link to my code:-https://ide.codingblocks.com/s/660286