PMMockr

QuestionsTechnical PMTop-Interview

Print the top view of nodes in a binary tree.

Print the top view of nodes in a binary tree.

Additional context: The top view of a binary tree refer to nodes visible when the tree is viewed from the top. Return nodes from left to right.

What this question tests

Practise this question under interview conditions. Answer it out loud against a timer with an AI interviewer that asks follow-ups, then review the scored report.

Start a timed mock interview

Related Technical PM questions

All Technical PM questions · Product manager interview questions by skill area