Thread
:
Finding the Mode in An Array
View Single Post
#
12
(
permalink
)
09-10-2008, 01:21 PM
Eranga
Moderator
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 5,061
Quote:
Originally Posted by
khajalid
what can you do is that just search for number with highest frequency.Then,search again and compare with that no and print the index.
Yes, this is the easiest way you have to follow. That's why I ask about the maximum occurrence.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Someone helped you?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.
Help:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Resources:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Web:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Tips:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Eranga
View Public Profile
Send a private message to Eranga
Find all posts by Eranga