- #1
paanz
- 4
- 0
guys..i need help...
how to extract a maximum occurring element in array using perl...
example...
a[1]=11;
a[2]=12;
a[3]=13;
a[4]=14;
a[5]=15;
a[6]=13;
a[7]=14;
a[8]=14;
we will see that, 14 is the most occurring at element 8...
how to know the no of frequently it occur?example above 14 is 3...
really need your help...
how to extract a maximum occurring element in array using perl...
example...
a[1]=11;
a[2]=12;
a[3]=13;
a[4]=14;
a[5]=15;
a[6]=13;
a[7]=14;
a[8]=14;
we will see that, 14 is the most occurring at element 8...
how to know the no of frequently it occur?example above 14 is 3...
really need your help...