data structure

DSA: Heap

A heap is a specialized tree-based data structure that satisfies the heap property. It is commonly used to implement priority…

11 months ago

DSA: Trie

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

12 months 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,…

12 months ago

Binary Search Tree (BST)

A Binary Search Tree (BST) is a type of binary tree that satisfies the following properties: For any node in…

12 months ago

Queues in DSA

What is a Queue in DSA? A queue is a linear data structure that holds elements in a certain order. It accesses items using the FIFO (First In First Out) method.It can only be changed by adding data entities at one end or…

12 months ago

Stack in DSA

What is a Stack? A stack is an abstract data type that adheres to the Last-In-First-Out (LIFO) principle in the…

12 months ago

Pointers in DSA

What are pointers? Pointers are variables that are used to save the position of a value in memory. A memory…

12 months ago

DSA: Strings Pattern Matching

What is Pattern Matching? Pattern matching is a fundamental problem in computer science that is employed in a wide range…

12 months ago

DSA: Binary Search

What is Searching? Searching is a fundamental process in computer science that is commonly used to locate certain items or…

12 months 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…

12 months ago