EPI Python, 17.8: Max trapped water, "we iteratively eliminate one or two lines at a time"

#1

Since we are only moving in from one direction in each iteration, why does the text say, “two lines at a time”?

0 Likes

#2

Hi @interviewing.joe,

It is a typo, and we fix that to one line at a time recently.

0 Likes

#3

Cool, thanks for the reply!

It would definitely save a lot of your time from replying to similar posts if an errata was published on this website. Are there plans to do this?

0 Likes

#4

We did not maintain an errata now as we modified the book too frequently so we cannot specify the page number and question number since it varies from different versions. The idea is to stabilize the book in the future so we can provide this then.

0 Likes