TikTok Interview Question

Bird eye view of Binary tree