Programming, Algorithms, Data, Tech, Web Development.
yet valuable example and try to answer the “why” question, “Why use a binary search tree in the first place”. As you’ve noticed, there is a “search” in binary search tree. So basically, everything that needs a fast lookup, should be placed in a binary search tree. “Should” doesn’t mean must, the