Skip to content

ofugsnuid

bradendubois edited this page Nov 24, 2021 · 8 revisions

Reverse

ID: ofugsnuid

Difficulty: 1.2 - 1.6

CPU Time: 1 second

Memory: 1024 MB

Solution

For this, just use a stack. Read in n numbers, pushing them onto the stack, and then pop them off and print them.

Clone this wiki locally