Advertisement
Guest User

Untitled

a guest
Feb 8th, 2015
477
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
DCL 0.29 KB | None | 0 0
  1. So instead of the above, lets say we have an index of the youngest value.
  2.  
  3.       ^
  4. 1,3,4,8
  5.  
  6.  
  7. So we know that the next value after this, is the oldest. In this case it will be 1.
  8.  
  9. 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