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
Shiva Krishnadsa-patterns.hashnode.dev·Feb 3, 2025Tree Data Structure Patterns | DSA1. Tree Traversal Techniques (BT & BST) Inorder Traversal (Recursive, Iterative) Preorder Traversal (Recursive, Iterative) Postorder Traversal (Recursive, Iterative) Level Order Traversal (BFS Approach) Zigzag Level Order Traversal Boundary Tra...1 likeDSA
Arka Infotecharkainfotech.hashnode.dev·Jan 11, 2025Morris Traversal: In-Order Traversal Without RecursionIntroduction In the realm of tree traversal algorithms, in-order traversal is one of the most commonly used techniques for visiting all the nodes in a binary tree. Traditionally, in-order traversal requires recursion or a stack to keep track of the n...10 likesSpaceEfficientTraversal
Shashi Shekharpointers.hashnode.dev·Jan 6, 2025DS/TreesTypes of Trees: A. General Trees Nodes can have any number of children. B. Binary Trees Each node has at most two children. Full Binary Tree: Every node has either 0 or 2 children. Complete Binary Tree: All levels except possibly the last are co...data structures
Junaid Bin Jamanjunaidbinjaman.help·Jan 4, 2025Building and Understanding Binary Search Trees in JavaScriptBinary Search Trees (BSTs) are one of the most fundamental and widely used data structures in computer science. They allow for efficient searching, insertion, and deletion of data. In this blog, we’ll break down the concepts of BSTs and walk you thro...Data Structures and AlgorithmsBinaryTrees
Saumyaa Gargsaumyaagarg.hashnode.dev·Dec 16, 2024Day 20: Binary Search Trees (BST)Welcome to Day 20 of my 100 Days of DSA challenge! Today, I tackled five problems focused on Binary Search Trees (BSTs). From understanding their fundamental operations to solving more advanced challenges, these problems deepened my understanding of ...10 likesWeek 3DSA
Saumyaa Gargsaumyaagarg.hashnode.dev·Dec 15, 2024Day 19: Binary Trees AdvancedWelcome to Day 19 of my 100 Days of DSA challenge! Today, I tackled five problems focused on advanced binary tree concepts. From structural checks to transformations and various traversal techniques, these problems deepened my understanding of binary...10 likesWeek 3DSA
Saumyaa Gargsaumyaagarg.hashnode.dev·Dec 14, 2024Day 18: Binary Trees BasicsWelcome to Day 18 of my 100 Days of DSA challenge! Today, I tackled five problems centered around the fundamentals of binary trees. These problems helped me dive deeper into constructing trees, understanding their properties, and applying tree traver...10 likesWeek 3DSA
Kanchan Raikanchanraiii.hashnode.dev·Dec 8, 2024Day 19: 100 Days of DSAWelcome to Day 19 of my 100 Days of DSA challenge! Today, I solved five problems focused on binary trees. Here's a quick look at the questions I tackled and how I approached them 🤖✨ Check out my GitHub repository for all my solutions and progress. L...1 like100 Days of DSABinaryTrees
Kanchan Raikanchanraiii.hashnode.dev·Dec 7, 2024Day 18: 100 Days of DSAWelcome to Day 18 of my 100 Days of DSA challenge! Today, I solved five problems focused on basics of binary trees. Here's a quick look at the questions I tackled and how I approached them 🤖✨ Check out my GitHub repository for all my solutions and p...100 Days of DSADSA in cpp