Search

1 of 8 0-day streak

Implement algorithms with lists

Question 1 of 8

No calculator

A list stores entries in order, including repeated values. In this pseudocode, positions start at 1 and ← means assignment

\[L=[2,-4,2,0,10]\]

Execute L[2] ← L[2] + 10

1 mark

What value is now stored at position 2?