Challenge: Is Tree a Heap?
Let’s check if a tree is also min heap or not.
We'll cover the following...
Problem
Given a binary tree, find if it represents a min heap.
...
Let’s check if a tree is also min heap or not.
Given a binary tree, find if it represents a min heap.
...