Given a sequence such as x = [5, 9, 0, -14], I need to find the min and max without sorting the sequence or by using min() and max(). I've been instructed to use loop constructs, but I can't figure out how to do so. Help is greatly appreciated.
Name:
Anonymous2007-02-09 16:55
>>5
without sorting the sequencewithout sorting the sequencewithout sorting the sequencewithout sorting the sequencewithout sorting the sequencewithout sorting the sequencewithout sorting the sequencewithout sorting the sequencewithout sorting the sequencewithout sorting without sorting the sequencewithout sorting the sequencewithout sorting the sequencewithout sorting the sequencewithout sorting the sequencewithout sorting the sequencewithout sorting the sequencethe sequence