Can Anyone Help me to solve this Spoj problem of bfs using python
https://www.spoj.com/problems/AKBAR/