Thursday, November 7, 2013

Week #8

Having done CSC165 already in the summer, I learned about Big-O and measuring algorithm performance. But it's not like I completely understand it now. I think it's a very complex topic. Another thing we learned this week is the binary search tree. Its requirements are first, it's a binary tree, secondly, its left nodes contain smaller values than the current node, and finally, its right nodes contain larger values than the current node, provided the tree is balanced. This is convenient to computer scientists because we don't have to look through the whole tree. We can eliminate the other half if the node we're searching for is smaller or larger than the current node. In class, we learned how to insert and delete nodes.

No comments:

Post a Comment