TransUnion Interview Question

Two Stack implementation and their complexities