Domanda di colloquio di HCLTech

Array Problem to get addition and count of duplicate