This repository holds the implementations of data structures
The codes in this repository were initially created during the period of 09.2019. - 12.2019.
This repository contains:
- A queue impementation using uniary Node class
- A binary search tree implementation using binary Node Class which offers:
a. basic insertion / deletion methods
b. inOrder and preOrder traversal methods
c. a function which computes the lowest common ancestor of given two nodes
d. a function which flattens given binary search in its preOrder traverse sequence - A non binary tree (specifically, a parent pointer tree) implementation using Node which can have unrestricted number of children. This project consists of:
a. basic insertion / deletion methods
b. merging trees with weighted union method c. solving "island count problem" using a parent pointer tree