JASK interview question

Code a leetcode easy/medium-ish binary tree problem on the whiteboard.