6sense interview question

Asked about a Tree Question in coding round