Domanda di colloquio di Reliance Jio Infocomm

Longest consecutive subsequences in an array