Today, wrestled with Implementation stuff related to Data structure ( Binary Tree ).Its was nice experience. Came face to face with a lot of old problems about which I had forgotten.
IMPLEMENTED IT IN THREE VERSIONS:
- c program:https://github.com/amarjeetkapoor1/c_programs/blob/master/data_structure/BinaryTree.h
- C++ program: https://github.com/amarjeetkapoor1/Cplusplusprograms/blob/master/DAA/BinaryTreeWithClasses.cpp
- C++ program with pure OPPs and recursion: https://github.com/amarjeetkapoor1/Cplusplusprograms/blob/master/DAA/PureOppBInaryTree.cpp
Felt a lot of happiness after Implementation with pure OPPs and recursion.