I am new to this board and unfortunately though I can usually hold my own with math I seem to be out of my league with this math class. I am being asked:
Write an algorithm that returns the index of the first occurrence of the largest element in a sequence S1,...,Sn
Seems like it should be simple yet I just can't get my head around it.
Thanks for any help you can give.