Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. treds01

    Array Problem

    sorry didn't explain very well, i am basically lookign for the majority element which is an element that apears more than n/2 times
  2. treds01

    Array Problem

    hi I am tryign to find out if n/2 occurences of a digit appear in an array, the numbers will be next to each other, eg A = [1,2,2,4,7,7,7,8,9] IN this case it should return the 2 but not the 7 as is not n/2 cocurences. Any ideas Nick

Part and Inventory Search

Back
Top