master-blaster
Matthew Butterick 9 years ago
parent 3bd775b014
commit ee9c496c44

@ -34,7 +34,7 @@ The building has an indefinite number of floors in both directions. So the ultim
@subsection{Alternate approach} @subsection{Alternate approach}
Rather than counting matches with @racket[regexp-match*], we could also convert the string of parentheses into a string of numbers directly. Rather than counting matches with @racket[regexp-match*], we could also convert the string of parentheses directly into a list of numbers.
@chunk[<q1-alt> @chunk[<q1-alt>
(define (elevator-string->ints str) (define (elevator-string->ints str)