Pregunta de entrevista de PayPay

commonly coding question ( easy and medium )