Skip to content
  1. Sep 15, 2022
  2. Aug 28, 2022
    • Morgan Elder's avatar
      printPreorder and printPostorder are called from main to print the binary tree... · 07f10e16
      Morgan Elder authored
      printPreorder and printPostorder are called from main to print the binary tree argument in a file in preorder and postorder respectively.
      07f10e16
    • Morgan Elder's avatar
      Header/source of buildTree contains buildTree function that stores string data... · 5a765775
      Morgan Elder authored
      Header/source of buildTree contains buildTree function that stores string data from input file in a binary tree. The insert function handles sorting new nodes. New nodes are created with the allocateNode function. The printInOrder function recursively traverse inorder a binary tree and calls writeNodeData in order to write the structure and data of the tree into a file. Before buildTree and printInorder are called in main, the deleteExistingTraversalFile function removes any traversal files created before the currently executing process.
      5a765775
  3. Aug 27, 2022
  4. Aug 26, 2022