Match each list on the left with a corresponding list on the
Match each list on the left with a corresponding list on the right by substituting NIL for () wherever possible. Draw a box and pointer diagram for the list ((A) (B)).
Solution
1. Matching
( ) - NIL
( ( ) ) - ( NIL )
( ( ( ) ) ) - ( ( NIL) )
( ( ) ( ) ) - ( NIL NIL)
( ( ) ( ( ) ) ) - ( NIL (NIL) )
