Skip to content

C++ Template Implementation of the Fundamental Data Structures: Stack, Queue, Linked List, Binary Tree, Graph - all with TDD Unit Testing (Boost)

Notifications You must be signed in to change notification settings

CarltonBranch/CPlusPlus2-DataStructures_MEGA_Review

Repository files navigation

CPlusPlus2-DataStructuresMEGAReview

Functions:

  1. String Functions -check unique character - return bool -delete unique character -replaces spaces in string with predetermined character -check if two strings are anagrams of each other - return bool -reverse a C-style string

  2. Array Functions -rotate 2d array 90 degrees -search 2d array -fill 2d array

Template Implementations:

  1. Binary Trees - BinTree.hpp -constructor and destructor -preOrderTraversal() -postOrderTraversal() -inOrderTraversal() -push() -findNode() -delete Note()

  2. Graphs - Graph.hpp -Constructor creates both Adjacency List and Adjacency Matrix -insert() -matrix_insert()

  3. Linked List Class - LinkdList.hpp -getSize() -peek() -pushToFront() -appendToBack() -getFront(), getBack() -deleteNode() -pop() -delete_duplicates()

  4. Stack Class - Stack.hpp -constructor and destructor -getSize() -peek()
    -push()
    -pop()
    -min()

  5. Queue Class - Queue.hpp -constructor and destructor -push() -pop() -print() -isEmpty() -sort() - This function sorts a queue in ascending order in-place

Unit Testing:

-ArrayClassTest.cpp -BinaryTree_Graph_Test.cpp -Linked_List_Test.cpp -StackQueueUnitTest.cpp -StringClassTest.cpp

Carlton B - December 2016 - approximate time to complete: 1 week

About

C++ Template Implementation of the Fundamental Data Structures: Stack, Queue, Linked List, Binary Tree, Graph - all with TDD Unit Testing (Boost)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages