Data Abstractions
Question 1
Draw box-and-pointer for the values of the following expressions. Also give box and list notation.
list(list(1, 2, list(3)), list(4, 5), pair(6, 7));
pair(1, list(2, 3, pair(4, null)));
pair(1, pair(2, list(3, list(4, 5))));