Trees are fundamental data structures that are important to know for interviews or on any computer science course. They are actually a type of graph without cycles. An example of a tree we use daily is the file structure in a computer. Another example is the DOM or Document Object Model of a webpage. There are different types of trees. The one we will focus on here is the binary search tree.