- #1
- 4
- 0
guys..i need help...
how to extract a maximum occuring 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 occuring 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 occuring 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 occuring at element 8...
how to know the no of frequently it occur?example above 14 is 3...
really need your help....