yesiamrajeev / Hacktoberfest2024

Do contribute to this repository and gain experience. Happy-Hacking.
16 stars 65 forks source link

Added file for Skewed BST #108

Closed mhatresujal closed 6 hours ago

mhatresujal commented 6 hours ago

Overview

This C++ code implements a binary search tree (BST) with insertion . It inserts nodes based on their values, maintaining the BST property (left child is smaller, right child is larger). The code checks if the tree is skewed, meaning all nodes are either aligned to the left or the right, and prints whether the tree is skewed or not.

Issue Addressed

106

yesiamrajeev commented 6 hours ago

nice work!!