Playing with Cards


it shows tle

Probably your code is running into an infinite loop somewhere.
Crosscheck the approach and the logic from here: Playing with cards
You can refer this implementation