algoritmauzmanı
Sign in
TREN
Part 4

Stack

14lessons1 h 30 min0done

A is a structure where elements are added and removed only at the top: the last one in is the first one out (). The undo button, the browser's back button and function calls all work this way.

The part first introduces the stack as an . Then it codes the same operations twice: first with an array, then with a linked list. After comparing the two, it covers the classic stack applications and ends with exam questions.

Lesson 4.0 What is a stack?5 min