// Q1) You are given a sorted array containing N integers and a number target, you have to find the number of // occurrences of the target in the given array.
Heapify means it is a method of converting any array to heap(minheap/maxheap). There is two ways for heapify i) By insertion technique--> (Insertion)insert element at ...