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


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


Hi @interviewing.joe,

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


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?


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.