LinkedList, protocol-complete
Challenge on lesson: Checkpoint: The Data Model
CHALLENGE
Difficulty: advanced+25 XP
Implement Node and LinkedList per the checkpoint specification: len, iteration, membership, repr 'LinkedList(1 -> 2 -> 3)', int indexing with negatives, slicing to a new LinkedList (with step), O(1) prepend, non-mutating reverse, and __slots__ on both classes.
Press Submit to check your solution.
Back to lesson: Checkpoint: The Data Model