Domanda di colloquio di PhonePe

Two coding questions were there in technical round