Sigmoid interview question

bottomview of a binary search tree