gzc / CLRS

:notebook:Solutions to Introduction to Algorithms
MIT License
9.48k stars 2.75k forks source link

Typo and correction on n range in exercise 1.2 - 2 #350

Closed Dfredude closed 9 months ago

Dfredude commented 1 year ago

Typo in file C01-The-Role-of-Algorithms-in-Computing/problem.md

Correction exercise 1.2 - 2

The comparison operators are saying that numbers 2 and 43 are exclusive from the range when in fact they are inclusive. Proof: MATLAB calculations Functions used: image image


Lower bound

image


Upper bound

image