Domanda di colloquio di Thoughtworks

Array Related, Solving the given problem with OOPs Concept