How can retrieve the two highest item from a list containing 100,000 integers without having to sort the entire list first?
Without sorting the list the only way to really do it is to iterate through the whole list and save the highest two numbers. I think you'd be better off sorting the list.