The Algorithms logo
The Algorithms
AboutDonate

Data Structures

Quadratic Probing

Hash Table with Linked List

Alternate Disjoint Set

Binary Search Tree

Inorder Tree Traversal 2022

Lowest Common Ancestor

Binary Tree Path Sum

Non Recursive Segment Tree

Binary Tree Node Sum

Number of Possible Binary Trees

Binary Tree Traversals

Diff Views of Binary Tree

Merge Two Binary Trees

Binary Search Tree Recursive

Maximum Fenwick Tree

Double Ended Queue

Queue on Pseudo Stack

Priority Queue Using List

Circular Queue Linked List

Queue by Two Stacks

Doubly Linked List Two

Doubly Linked List

Singly Linked List

Circular Linked List

Middle Element of Linked List

Next Greater Element

Infix to Postfix Conversion

Postfix Evaluation

Dijkstras Two Stack Algorithm

Stock Span Problem

Stack with Doubly Linked List

Balanced Parentheses

Infix to Prefix Conversion

Stack with Singly Linked List

Prefix Evaluation

Evaluate Postfix Notations

Randomized Heap

Queue Using 2 Stacks

Min Priority Queue

Key Priority Queue

Reverse Singly Linked List

Singly Circular Linked List

Number Of Local Maximum Points

Local Maximom Point

Queue Using Two Stacks

Dsu Union Rank

Queue Using Linked List

Trie Using Hashmap

Reverse a Linked List

Circular Queue Using Linked List

Binary Search Tree 2

Queue Using Array

Linkedlist Implentation Usingarray

Dsu Path Compression

Linked List

Stack Using Array

Morrisinorder

Stack Using Queue

Queue Using Array 2

Tree Random Node

Zigzag Traversal

Check Binary Tree Is Valid BST

Vertical Order Traversal

BST Recursive Generic

Check If Binary Tree Balanced

Level Order Traversal

Pre Order Traversal

Ceil In Binary Search Tree

Same Trees Check

BST From Sorted Array

Post Order Traversal

Print Top Viewof Tree

Inorder Traversal

Nearest Right Key

Check Tree Is Symmetric

Create Binary Tree From Inorder Preorder

Disjoint Sets

Empty Heap Exception

Hash Map Cuckoo Hashing

Linear Probing Hash Map

Generic Hash Map Using Array

Generic Hash Map Using Array List

Dynamic Array

Decimal To Any Using Stack

Balanced Brackets

Postfix To Infix

Calculate Max Of Min

Next Grater Element

Maximum Minimum Window

Stack Array List

Infix To Postfix

Duplicate Brackets

Largest Rectangle

Next Smaller Element

Generic Array List Queue

Search Singly Linked List Recursion

Create And Detect Loop

Merge K Sorted Linkedlist

Cursor Linked List

Merge Sorted Singly Linked List

Circle Linked List

Count Singly Linked List Recursion

Merge Sorted Array List

Connected Component

Bipartite Grapf DFS

Tarjans Algorithm

DIJSKSTRAS ALGORITHM

Middle Element in List

Singly Link List Deletion

Ascending Priority Queue

Circular Doubly Linked List

Transitive Closure

Recursive Traversals

Threaded Binary Trees

Segment Tree Recursive

Cycle in Linked List

Richest Customer Wealth

Find All Duplicates in an Array

Arrays Intersection

Remove Elements

Shortest Word Distance

Sorted Arrays Intersection

Maximum Product Subarray

Sort Squares of an Array

Find the Highest Altitude

Almost Palindrome Checker

Get Products of All Other Elements

Data Structure

Basic Binary Search Tree

Undirected Graph

Prefix Aggregate List