We know that for Breadth First Traversal we should use 'Queue'.
Example:
For this graph, if we start from '0', the visit order will be like this : 0 1 3 8 7 2 4 5 6.
What would be the visit order if we use a priority queue?
Edit: Priority Queue will be min-heap.