PhonePe interview question

Two coding questions were there in technical round