Question d’entretien chez RippleHire

Logic based java question