Exploring Binary Search Trees and Efficient Tree Traversal