JUSPAY interview question

the coding rounding had three questions