Some examples are given in the table below empty list

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: d lists should have length n except possibly the last one which might contain fewer than n strings. For example, (make-groups empty 2)=>(list empty) and, (make-groups (list "Sandy" "Jesse" "Tian" "Daniel" "Leila" "Wei-Shou" "Lori" "J.P" "Alyssa" "Matthew" "Robin" "Jeff" "Peter" "Sarah" "Elizabeth" "Grace" "Daniel" "Shawn" "Sharon" "Lachlan" ) 7) => (list (list "Sandy" "Jesse" "Tian" "Daniel" "Leila" "Wei-Shou" "Lori") (list "J.P" "Alyssa" "Matthew" "Robin" "Jeff" "Peter" "Sarah") (list "Elizabeth" "Grace" "Daniel" "Shawn" "Sharon" "Lachlan")) 1 CS 116 Winter 2012 Assignment 04 Due at 10:...
View Full Document

This document was uploaded on 01/19/2014.

Ask a homework question - tutors are online