ByteDance interview question

Side view of a binary tree