We took the earlier concept of binary trees and went a step further to binary search trees.
The codes themselves are pretty standard recursions, not quite as fascinating as the idea behind the data structure: by sorting the data, we can effectively keep cutting a problem by half.
Also the assignment 2 is due next week, which though shorter, is quite as challenging as the first one.
No comments:
Post a Comment