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