A priority queue is implemented as a max-heap initially, it has five elements. The level-order traversal of the heap is as follows:
20, 18, 15, 13, 12
Two new elements '10' and '17' are inserted in the heap in that order, The level-order traversal of the heap after the insertion of the element is