jeffgerickson / algorithms

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

[Oops.] Typo in recurrence Chapter 9 p315 #255

Open vszabo2 opened 2 years ago

vszabo2 commented 2 years ago

Error is present even in the 1st Edition and not mentioned in Errata.

Chapter number or note title: Chapter 9 All-Pairs Shortest Paths, 9.6 Divide and Conquer.

Page number: 315

Error description: In the recurrence, the variable i is mentioned in the condition of the casewise description, but the variable is not introduced anywhere. It looks like a typo for the variable ell.

Suggested fix (if any): "if l = 1" instead of "if i = 1"