jeffgerickson / algorithms

Bug-tracking for Jeff's algorithms book, notes, etc.
7.92k stars 1.02k forks source link

[Oops.] #78

Closed zx9w closed 5 years ago

zx9w commented 5 years ago

Page 29 in book or page 9 in chapter 1.

There is a fancy L in the word less:

The variable -fancy L- counts the number of items in the array that are less <- the problem is in this word.

plin25 commented 5 years ago

This is probably intentional, to tie the variable to the meaning.

jeffgerickson commented 5 years ago

As Patrick suggests, this is an intentional mnemonic device.