Programming Question

Question: You are given a set of integers in an unordered binary tree. Use an array sorting routine to transform the tree into a heap that uses a balanced binary tree as its underlying data structure.

From: Programming Interviews Exposed

Subject: Trees and Graphs

Load Another Question


Select a Subject