On Run Code the Particular case is working fine but on submitting the same case is giving TLE

I dont know why this is happening but if anyone know's it then please help me out

Every time i am submitting the code it give TLE on different case but on running the same code it works fine.
Some proof are given below
@LeetCode




image




image

The same Code is passing different number of cases after each submission

image




image

Comments (3)