PPT Slide
Suppose L is the list ( A B C D ).
( cons ’A (cons ’B (cons ’C (cons ’D NIL ) ) ) )
( cdr (cdr L ) ) = ( C D )
( car (cdr (cdr L ) ) ) = C
( cdr (cdr (cdr L ) ) ) = ( D )
( car (cdr (cdr (cdr L ) ) ) ) = D
( cdr (cdr (cdr (cdr L ) ) ) ) = NIL
(rest (rest (rest (rest L ) ) ) ) = NIL