Jyotiprakash Mishrablog.jyotiprakash.orgยทSep 25, 2024Introduction to TreesIn computer science, trees are a fundamental non-linear data structure composed of nodes connected by edges. A tree is a hierarchical model that represents a collection of elements, each of which can have a number of children but only one parent (exc...2.7K readsTrees
Fatima Jannetmahia.hashnode.devยทAug 17, 2024Basics of Binary Search Trees (BST)In this blog, you will get a deep knowledge about binary search tree, which includes creating binary search based on Linked list and various operations, like creation, inserting, deleting and searching on binary tree data structure. What is Binary Se...2 likesยท29 readsPython Data Structure and Algorithm - DSAbst
Tanmay Sarkartanmaysarkar.hashnode.devยทJun 24, 2023Binary Trees Explained: A Step-by-Step TutorialIntroduction ๐ง๐ฝโ๐ป Welcome to the fascinating world of binary trees! If you're new to this topic or looking to reinforce your understanding, you're in the right place. In this tutorial, I'll take you on a step-by-step journey through the fundamenta...114 readsWeMakeDevs
Nilesh Saininileshsaini.hashnode.devยทJun 23, 2023Binary Search Tree in JavaScript (Data Structures)A binary Search Tree is a node-based binary tree data structure. It has the following properties: Every parent node has at most two children. Every node to the left is always less than the parent node. Every node to the right is always greater tha...41 readsMastering Data Structures in JavaScript: A Comprehensive Guidebst
Divyanshibooleanbit1.hashnode.devยทApr 27, 2023Kth Smallest element in a BSTProblem Statement Note: Your solution should have only one BST traversal and O(1) extra space complexity, since this is what you will be asked to accomplish in an interview. A tree is considered a binary search tree (BST) if for each of its nodes the...Interview ProblemsBinary Search Algorithm
Kumar Pallavkumarpallav.devยทAug 12, 2022235. Lowest Common Ancestor of a Binary Search TreeLet's discuss problem no 235 at leetcode i.e 235. Lowest Common Ancestor of a Binary Search Tree. Problem Link: https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree/ Here we are supposed to find the lowest common ancestor in ...238 readsData Structure & Algorithmsleetcode