Stack Implementation
Problem 101basic15 mins
Stack Implementation
Created on: 10 Sep 2025, 10:30 AM
Time Elapsed
00:00
Problem Description
Implement a stack data structure with push, pop, peek, and isEmpty operations.
Requirements
- •push() method
- •pop() method
- •peek() method
- •isEmpty() method
- •Size property
- •Array or linked list implementation
Tags
JavaScriptData StructuresStackLIFO
Code Editor
Loading editor...