Quote (carteblanche @ Oct 4 2013 12:38am)
hashtable is one method. each number you see becomes the key and the value is the count. print the key with the highest value. alternatively you can flatten it to a 1 dimensional array and sort it so everything's together, then iterate over it counting up which is the most seen. you'll have to think about what you're doing if more than one number repeats the most.
still confused on how to do this can u explain it to me?