Find which numbers appears most in a vector
Posted
by VaioIsBorn
on Stack Overflow
See other posts from Stack Overflow
or by VaioIsBorn
Published on 2010-03-21T22:08:30Z
Indexed on
2010/03/21
22:11 UTC
Read the original article
Hit count: 270
I have some numbers stored in a vector . I want to find which number appears most in the vector.
Is there any easy/fast algorithm (STL or whatever) that does this ?
© Stack Overflow or respective owner