BILL Interview Question

The question was based on Stacks from DSA