Network 18 Interview Question

Write code for BFS traversal. Write code for Max Heap.