Source

Adapted from my own handwritten and hand-typed notes from Year 1 to Year 3 of my EEE degree

Largest Element with a While Loop

Largest Element with a For Loop

Largest Element with a Backward For Loop

Index of the Last Occurrence of a Key