You are viewing a single comment's thread. Return to all comments →
Do we need to use two stacks in Python when we can do it with just one and index it cleverly?
Seems like cookies are disabled on this browser, please enable them to open this website
Queues: A Tale of Two Stacks
You are viewing a single comment's thread. Return to all comments →
Do we need to use two stacks in Python when we can do it with just one and index it cleverly?