PayPay interview question

The OA stage includes four coding problem (easy - medium level).