.. This file is part of the OpenDSA eTextbook project. See .. http://opendsa.org for more details. .. Copyright (c) 2012-2020 by the OpenDSA Project Contributors, and .. distributed under an MIT open source license. .. avmetadata:: :author: Molly Trees ========================= Objectives ---------------------- * Describe the Tree ADT, and the characteristics of a Tree and a Binary Tree * Define Tree terminology including - node, root, edge, parent, child, sibling, leaf, height, level * Traverse a given Tree using Inorder, Preorder, Postorder, and Level order * Determine the height and number of nodes of a given Tree * Implement a Tree ADT as a recursive data structure Suggested Reading ~~~~~~~~~~~~~~~~~ Chapter 23 Trees & Chapter 24 Tree Implementations from `Data Structures and Abstractions with Java, 4th edition by Frank M. Carrano and Timothy Henry `_ .. _TreeIntro: Interactive: Introduction to Trees ----------------------------------- .. admonition:: Follow Along and Engage Download the slides corresponding to the video. Take notes on them as you watch the video, practice drawing diagrams yourself! .. raw:: html TreeIntro.pdf .. raw:: html
Checkpoint 1 ------------ .. avembed:: Exercises/SWDesignAndDataStructs/TreesCheckpoint1Summ.html ka :long_name: Checkpoint 1 .. _TreeBinTree: Interactive: Binary Trees ------------------------- .. admonition:: Follow Along and Engage Download the slides corresponding to the video. Take notes on them as you watch the video, practice drawing diagrams yourself! .. raw:: html BinaryTrees.pdf .. raw:: html
Checkpoint 2 ------------ .. avembed:: Exercises/SWDesignAndDataStructs/TreesCheckpoint2Summ.html ka :long_name: Checkpoint 2 .. _TreeTraverse: Interactive: Binary Tree Traversals ----------------------------------- .. admonition:: Follow Along and Engage Download the slides corresponding to the video. Take notes on them as you watch the video, practice drawing diagrams yourself! .. raw:: html IntroToTraversals.pdf .. raw:: html
Checkpoint 3 ------------ .. avembed:: Exercises/SWDesignAndDataStructs/TreesCheckpoint3Summ.html ka :long_name: Checkpoint 3 .. _TreeProg: Interactive: Programming Binary Trees ------------------------------------- .. admonition:: Follow Along and Engage Download the slides corresponding to the video. Take notes on them as you watch the video, practice drawing diagrams yourself! .. raw:: html ProgrammingTrees.pdf .. raw:: html