I'm studying Java data structures and algorithms in college and we have come across the topic of binary search trees and tree transversal but I don't see the purpose of these topics in my programming.I know that they can be modified so that you can control the search path and search times can be improved.My questions are as follows:
1.When would a binary search tree be used in a program?(examples)
2.Some examples of when binary search trees are used in real world application?