Two Stack Coding Questions