Tle in one case

i have used deque approach but still showing tle