Question d’entretien chez Bank BTPN

Simple algorithm puzzle that should be coded live