Knoldus Software interview question

Puzzle, simple java basic , Algorithm , coding