Week 6 - CST 370
This week we learned about two balanced binary search tree algorithms: AVL tree and 2-3 tree. AVL tree balances via rotations and each node has at most two children while a 2-3 tree has two or three nodes per children and one or two keys per node. We also learned about heaps which are data structures They can be either max heaps or min heaps, where the largest or smallest element is a the root. Children in max heaps less than or equal to their parent node and greater than or equal to their parent node in min heaps. We also learned about hashing, which is an efficient way of finding, adding and removing data. It involves keys, hash function and hash table to store the data using a modular hashing, for example.
Comments
Post a Comment