Turning Learners Into Developers
Codekilla
CODEKILLA
back to course
Lesson 47 / 14932%
Stack (LIFO)4/10

Stack Operation — Push

Add an element to the top.

// stack · LIFO (last-in first-out) · push() / pop() both O(1)op: startbase
Visual explanation diagram · click steps to walk through it

This lesson is Pro only.

Unlock every premium lesson and module — Pro from ₹299 / month (or ₹999 / year, saves ~₹2,589).

Sign in to unlock
// feedback.matters()
Did this lesson help you?