Added basic documentation for BST
This commit is contained in:
parent
b26f6c4501
commit
9c8c9fa65e
@ -1,3 +1,23 @@
|
|||||||
|
/* Unit 2: BST
|
||||||
|
*
|
||||||
|
* - Written in template format for flexibility
|
||||||
|
*
|
||||||
|
* - In project, BST holds primary key of CPU IDs
|
||||||
|
*
|
||||||
|
* - Sorted based off string comparison
|
||||||
|
*
|
||||||
|
* - Has insert, search, and remove functionality
|
||||||
|
*
|
||||||
|
* - Has multiple transversal functions (inorder, preorder, postorder)
|
||||||
|
*
|
||||||
|
* - Has printTree function that prints all nodes in function
|
||||||
|
*
|
||||||
|
* - In project, function pointer is used to print in indented format
|
||||||
|
*
|
||||||
|
* Written By: Tuhin Mondal
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
#ifndef INC_08_TEAM_PROJECT_BINARYSEARCHTREE_H
|
#ifndef INC_08_TEAM_PROJECT_BINARYSEARCHTREE_H
|
||||||
#define INC_08_TEAM_PROJECT_BINARYSEARCHTREE_H
|
#define INC_08_TEAM_PROJECT_BINARYSEARCHTREE_H
|
||||||
|
|
||||||
|
20
BinaryTree.h
20
BinaryTree.h
@ -1,3 +1,23 @@
|
|||||||
|
/* Unit 2: BST
|
||||||
|
*
|
||||||
|
* - Written in template format for flexibility
|
||||||
|
*
|
||||||
|
* - In project, BST holds primary key of CPU IDs
|
||||||
|
*
|
||||||
|
* - Sorted based off string comparison
|
||||||
|
*
|
||||||
|
* - Has insert, search, and remove functionality
|
||||||
|
*
|
||||||
|
* - Has multiple transversal functions (inorder, preorder, postorder)
|
||||||
|
*
|
||||||
|
* - Has printTree function that prints all nodes in function
|
||||||
|
*
|
||||||
|
* - In project, function pointer is used to print in indented format
|
||||||
|
*
|
||||||
|
* Written By: Tuhin Mondal
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
#ifndef INC_08_TEAM_PROJECT_BINARYTREE_H
|
#ifndef INC_08_TEAM_PROJECT_BINARYTREE_H
|
||||||
#define INC_08_TEAM_PROJECT_BINARYTREE_H
|
#define INC_08_TEAM_PROJECT_BINARYTREE_H
|
||||||
|
|
||||||
|
@ -1,3 +1,23 @@
|
|||||||
|
/* Unit 2: BST
|
||||||
|
*
|
||||||
|
* - Written in template format for flexibility
|
||||||
|
*
|
||||||
|
* - In project, BST holds primary key of CPU IDs
|
||||||
|
*
|
||||||
|
* - Sorted based off string comparison
|
||||||
|
*
|
||||||
|
* - Has insert, search, and remove functionality
|
||||||
|
*
|
||||||
|
* - Has multiple transversal functions (inorder, preorder, postorder)
|
||||||
|
*
|
||||||
|
* - Has printTree function that prints all nodes in function
|
||||||
|
*
|
||||||
|
* - In project, function pointer is used to print in indented format
|
||||||
|
*
|
||||||
|
* Written By: Tuhin Mondal
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
#ifndef INC_08_TEAM_PROJECT_BINARYTREENODE_H
|
#ifndef INC_08_TEAM_PROJECT_BINARYTREENODE_H
|
||||||
#define INC_08_TEAM_PROJECT_BINARYTREENODE_H
|
#define INC_08_TEAM_PROJECT_BINARYTREENODE_H
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user