We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
"push back" is a term from c++ that corresponds to adding an element to the top of the stack; the commenter was not suggesting that Nick can actually put numbers back. Nick doesn't care about stacks; stacks are just something the problem suggests to use to solve the problem.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Game of Two Stacks
You are viewing a single comment's thread. Return to all comments →
"push back" is a term from c++ that corresponds to adding an element to the top of the stack; the commenter was not suggesting that Nick can actually put numbers back. Nick doesn't care about stacks; stacks are just something the problem suggests to use to solve the problem.