Given the size of array heap 'A' say 50 million, on calling MAX-HEAPIFY (A,300), how can I calculate the maximum and minimum no. of exchanges that can take place?
katti.shyam 0 Newbie Poster
BestJewSinceJC 700 Posting Maven
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.