Pregunta de entrevista de LendingKart

Array based programming question and java oops concepts.