Question d’entretien chez Knoldus Software

Puzzle, simple java basic , Algorithm , coding