Snakes and ladders bfs

https://practice.geeksforgeeks.org/problems/snake-and-ladder-problem/0

iam getting rong answer for the given question…plz help ho can i correct code?