Delete from a linked list
Point the previous node past the one you remove.
List7, 4, 9, 1, 6value 9
Delete the first 9 from the list.
- compare
- swap or write
- settled
Space play · ← → step · Home End jump · drag the strip to scrub
Point the previous node past the one you remove.
List7, 4, 9, 1, 6value 9
Delete the first 9 from the list.
Space play · ← → step · Home End jump · drag the strip to scrub