TLE in second test case

I have used the same implementation as the video but in java and I am getting TLE in my second test case. Please help.
https://ide.codingblocks.com/s/72045

Hi

your code is passing all the test cases

Do check again

1 Like