Drip (CA) Interview Question

Medium level DS algo problems