Eniola Bakareeniola-bakare.hashnode.dev·Feb 3, 2025Implementing a Binary Search Tree in JavascriptA tree is a hierarchical data structure with a set of connected nodes. A family tree or an organogram comes to mind easily. With this data structure, there is a parent-child relationship between an ancestor node and a child node, and these relationsh...8 likesA Working Understanding of Data Structures and Algorithms (DSA)algorithms
Sahil Bhosaleliongueststudios.com·Sep 14, 2024Tree Data Structure in C: An OverviewThis blog post will give you an overview of the tree data structure in C programming language, types of tree data structure, and tree traversal techniques on a tree. Introduction of Tree Data Structure A tree is a hierarchical data structure (top to ...Algorithms & Data StructuresTree
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
Ishan Bhusariishanbhusari.hashnode.dev·Jun 12, 2024129. Detailed Solution for Solving "129. Sum Root To Leaf Numbers"(Note: I think it's a testament nowadays to not copy answers directly from ChatGPT. On that note, I'd like to inform the readers that the below answer has not been derived from ChatGPT nor has it been proofread or even checked grammatically by the so...data structures
Ayoola Adewaleaythejuggernaut.hashnode.dev·Feb 29, 2024Demystifying Tree Data Structure: A Journey into the World of Hierarchical StructuresEver heard of trees in the world of programming? No, not the ones in your backyard but a fascinating concept that helps organize information in the digital world using a tree-like structure. Whether you're a coding newbie or a seasoned developer, und...11 likes·198 readsdata structures
Shagun Mengishagunmengi.hashnode.dev·Jan 9, 2024Unveiling TREES!Binary trees are fundamental data structures that offer a hierarchical organization of data, allowing for efficient search, insertion, and deletion operations. In this blog post, we'll delve into some important questions related to binary trees, shed...68 readsBinaryTrees
Karelle Hoflerkarellehofler.hashnode.dev·Oct 18, 2023Explanation for Leetcode 230: Kth Smallest Element in BST - Solution Code in Java and JavaScriptThis intermediate Leetcode problem may seem challenging but it's not once you understand the traversal and the basics of binary search trees. To solve this problem you would have to do an in-order traversal. If you're not familiar with traversing a b...5 likesleetcode-solution
Haneunhanlee.hashnode.dev·Aug 4, 2023What is LCA(Lowest Common Ancestor)Definition Lowest Common Ancestor, LCA. LCA is an algorithm or concept used in tree structures to find the closest common ancestor of two nodes. Example In the above binary tree, the LCA of 4 and 6 is 1. LCA(4, 6) = 1 Purpose The purpose of the LCA...ProgrammingLowest Common Ancestor
Safiul Kabirsafiulkabir.com·Jul 30, 2023Basic Operations on a Binary TreeNote: If you're hearing about binary tree for the first time (or after a long time), this Introduction to binary tree article will be helpful. We can perform four basic operations on a binary tree: Inserting an element Removing an element Searchin...35 readsBinaryTrees
Abu Hurairaabuhuraira.hashnode.dev·Jul 2, 2023Binary tree implementation array based.Introduction: Binary trees are hierarchical data structures commonly used in computer science and programming. They consist of nodes connected by edges, where each node can have at most two children: a left child and a right child. Binary trees are e...56 readscoding