This week, we covered Binary Search Trees, as well as inserting and deleting information in them.
Binary Search trees are a way to recursively store data, as well as fetch it in an easy and elegant manner. They're similar to Trees (as the name implies), but they're only limited in scope to a maximum of two children.
Compared to Trees, I personally find these a lot more easier to navigate and work with, but due to the hard limit of only two children, it makes the application very limited in scope.
My issues with Trees continue to be working with variables or lists that have to travel between the recursive layers. However, as I continue to do the exercises, it's slowly starting to make sense.
No comments:
Post a Comment