TransUnion interview question

Two Stack implementation and their complexities