You are viewing a single comment's thread. Return to all comments →
why don't you pop out of two stack into one stack in 2nd command ?
Seems like cookies are disabled on this browser, please enable them to open this website
Queue using Two Stacks
You are viewing a single comment's thread. Return to all comments →
why don't you pop out of two stack into one stack in 2nd command ?