This week Heap introduced a system of data in the form of a tree. This data consists of leaves which, implied by the name, are branches off from the base bit of data. These branches of leaves can go to various levels and aren't necessarily dependent on each element in the level below which makes it interesting but confusing to comprehend and think about how it might be executed in python.
I'm kinda struggling with it both in class and trying to execute the various functions in Lab 6 which had to do with listing leaves of data by level and the lengths of strings for the longest branches in the data type. Overall not a huuge fan on this ADT and I don't really recognize how often and where to find this kind of data type being used.
No comments:
Post a Comment