Complete the method below. // returns true if the array heap…

Complete the method below. // returns true if the array heapData represents a proper min-heap, false otherwise.// assume that heapData is an array of String with the index 0 representing the root. // write an iterative method, do not use recursionpublic boolean isMinHeap(String [] heapData, int size){

You are adding the following integers to a Min Heap: 5, 9, 8…

You are adding the following integers to a Min Heap: 5, 9, 8, 6, 3, 7 If you inserted the integers using the Heap rules, what would be the Level-order traversal of the heap?  Write your answer as a series of digits with no commas or spaces. Do not worry if Canvas automatically inserts a comma in your response.