At all times the algorithm only needs to remember two values: the largest number found so far, and its current position in the input list.
Setiap saat algoritme hanya perlu mengingat dua nilai: nilai terbesar yang ditemukan, dan posisinya sekarang dideretan input.