AppDynamics Interview Question

Print out the top-view of a binary tree