489 views
0 votes
0 votes

1 Answer

0 votes
0 votes

Well in worst case answer will be 4

If you start bfs from E, ans will be 4. So a min. Queue size of 4 is reqd. With a queue of size 3, you can't do bfs from E.

No related questions found