Just another Perl shrine | |
PerlMonks |
occurence of repeated numbers groupby satya02 (Initiate) |
on Jul 19, 2018 at 13:42 UTC ( [id://1218823]=perlquestion: print w/replies, xml ) | Need Help?? |
satya02 has asked for the wisdom of the Perl Monks concerning the following question: Please help me in finding occurence of repeated numbers group. Example input: 1 2 5 9 1 2 5 10 4 5 10 12 5 9 10 11 output:- 1 2 repated 2 times 2 5 repeated 2 times 5 10 repeated 3 times
Back to
Seekers of Perl Wisdom
|
|