Min/max binary search tree