Name: Anonymous 2015-05-04 23:22
How often is the answer to a tricky programming problem to use a fancy data structure?
Appending and popping is O(1) for both structuresYou need to take CS 101 course or whatever. Appending and popping for an array aren't O(1).