Pergunta de entrevista da empresa ClearCorrect

Java coding assessment online was asked