Peak Size of a Stack Under a Fixed Push and Pop Sequence

Company: Paytm_3oct

Difficulty: easy