Tree Data Structure

DSA: Trie

What is a Trie in DSA? A trie, often known as a prefix tree, is a tree-like data structure used…

1 year ago

Trees: Lowest Common Ancestor

What is the Lowest Common Ancestor? In a tree, the lowest common ancestor (LCA) of two nodes, n1 and n2,…

1 year ago

Binary Trees: Structure & Tree travels

Binary Tree Structure: A binary tree is a tree data structure where each node has at most two children: a…

1 year ago

DSA: Types of Tree

There are various varieties of trees that are often used in the context of Data Structures and Algorithms (DSA). Here…

2 years ago

DSA: Trees

What is Tree Data Structure? A tree data structure is made up of nodes that are connected via edges. The…

2 years ago