The Algorithms logo
The Algorithms
AboutDonate

Data Structures

Quadratic Probing

Hash Table with Linked List

Evaluate Postfix Notations

Infix to Prefix Conversion

Stock Span Problem

Stack with Doubly Linked List

Postfix Evaluation

Infix to Postfix Conversion

Next Greater Element

Prefix Evaluation

Dijkstras Two Stack Algorithm

Stack with Singly Linked List

Balanced Parentheses

Number of Possible Binary Trees

Inorder Tree Traversal 2022

Maximum Fenwick Tree

Binary Search Tree Recursive

Binary Search Tree

Merge Two Binary Trees

Non Recursive Segment Tree

Binary Tree Path Sum

Binary Tree Traversals

Lowest Common Ancestor

Diff Views of Binary Tree

Binary Tree Node Sum

Alternate Disjoint Set

Circular Linked List

Singly Linked List

Doubly Linked List Two

Middle Element of Linked List

Doubly Linked List

Double Ended Queue

Queue by Two Stacks

Queue on Pseudo Stack

Priority Queue Using List

Circular Queue Linked List

Randomized Heap

Queue Using 2 Stacks

Number Of Local Maximum Points

Local Maximom Point

Reverse Singly Linked List

Singly Circular Linked List

Key Priority Queue

Min Priority Queue

Trie Using Hashmap

Binary Search Tree 2

Queue Using Two Stacks

Queue Using Array

Circular Queue Using Linked List

Queue Using Linked List

Stack Using Array

Reverse a Linked List

Dsu Union Rank

Linkedlist Implentation Usingarray

Morrisinorder

Dsu Path Compression

Stack Using Queue

Queue Using Array 2

Linked List

Infix To Postfix

Maximum Minimum Window

Decimal To Any Using Stack

Stack Array List

Next Smaller Element

Next Grater Element

Largest Rectangle

Duplicate Brackets

Calculate Max Of Min

Postfix To Infix

Balanced Brackets

Dynamic Array

Tarjans Algorithm

DIJSKSTRAS ALGORITHM

Bipartite Grapf DFS

Connected Component

Vertical Order Traversal

Zigzag Traversal

Inorder Traversal

Tree Random Node

Print Top Viewof Tree

Check Binary Tree Is Valid BST

Pre Order Traversal

Create Binary Tree From Inorder Preorder

BST From Sorted Array

Ceil In Binary Search Tree

Check If Binary Tree Balanced

BST Recursive Generic

Post Order Traversal

Level Order Traversal

Check Tree Is Symmetric

Nearest Right Key

Same Trees Check

Empty Heap Exception

Disjoint Sets

Generic Hash Map Using Array List

Generic Hash Map Using Array

Hash Map Cuckoo Hashing

Linear Probing Hash Map

Generic Array List Queue

Search Singly Linked List Recursion

Merge Sorted Singly Linked List

Count Singly Linked List Recursion

Create And Detect Loop

Merge Sorted Array List

Cursor Linked List

Merge K Sorted Linkedlist

Circle Linked List

Recursive Traversals

Threaded Binary Trees

Transitive Closure

Middle Element in List

Singly Link List Deletion

Ascending Priority Queue

Circular Doubly Linked List

Segment Tree Recursive

Cycle in Linked List

Richest Customer Wealth

Find All Duplicates in an Array

Arrays Intersection

Unweighted Graph

Almost Palindrome Checker

Shortest Word Distance

Sort Squares of an Array

Maximum Product Subarray

Sorted Arrays Intersection

Remove Elements

Get Products of All Other Elements

Find the Highest Altitude

Basic Binary Search Tree

Data Structure

Undirected Graph

Prefix Aggregate List