Are you sure you want to leave Paper?
Continue to https://algs4.cs.princeton.edu/code/edu/princeton/cs/algs4/Stack.java.html
Please turn on JavaScript to use Paper in all of its awesomeness. ^_^