Algomination
SortingSearchingData StructuresAboutContact

Algomination

Learn algorithms and data structures through smooth, interactive visualizations.

SortingSearchingData StructuresAboutContact

© 2026Algomination. Created by Omang Rawat & Rahul Soni.

Omang Rawat
Rahul Soni
All data structures

Stack

Ops O(1)Space O(n)

A LIFO structure — push adds to the top, pop removes the top, peek inspects it. All O(1).

5← top
7
3
3 / 8 elements
Push, pop, or peek to manipulate the stack (LIFO — last in, first out).
Top of stackPeek