Representing lists as Binary Trees

(previously represented trees as lists)

 

A list is either

or

first      <-- not necessarily a list

   and a

rest       <-- always a list

 

To Next Slide To Previous Slide To Contents