Skip to content
Library
Solve
Practice
Search 7,000+ topics
/
Color theme
Dark
Light
Sign in
Library
Solve
Practice
Search everything
About Expii
Contributors
Topic directory
Math
Advanced Topics
Intro to Theoretical Computer Science
Data Structures
Data Structures: Stacks
Read this topic
Explanations
1
A stack is a last-in-first-out data structure. You can "push" an element onto the stack, which means it becomes the top element, and you can "pop" an element off of the stack, w…
By Cody Johnson
Problems
1
Let SSS and TTT be stacks. Suppose SSS contains the elements 1,2,3,4,51,2,3,4,51,2,3,4,5 in that order, with 111 on top and 555 on the bottom. Now suppose the following piece of…
Find a topic
Type a concept, like “slope” or “photosynthesis”.
↑ ↓ to choose · Enter to open
Search explanations and problems