- #1
evinda
Gold Member
MHB
- 3,836
- 0
Hi! (Smile)
If we want to look for an element $x$ in a list, we can use a sentinel value.
What do we gain, with the use of a sentinel value?
If we want to look for an element $x$ in a list, we can use a sentinel value.
What do we gain, with the use of a sentinel value?