Check If an Array Represents a Max Heap (Danny Heap Algorithm) November 22, 2020 algorithms, c / c++, data structure No Comments Given a list of integers nums, return whether it represents a max heap. That is, for every i we have that: nums ≥ nums if 2*i + 1 is … [Continue Reading...]