Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- So instead of the above, lets say we have an index of the youngest value.
- ^
- 1,3,4,8
- So we know that the next value after this, is the oldest. In this case it will be 1.
- So if we replace 1, this becomes the youngest value, and we know that the next value in this list is the oldest.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement