EPI Bug Report
Summary of problem
For example, the solution to the binary search in two arrays problem fails when K is larger than the length of the smallest array
Your answer
Specific location
For example, Page 123, Para 2 of Problem 12.3 or Page 19, Solution 12.16, Code line 26
Your answer
Details
For example, I don't get the last sentence on this page. Suppose we have t[0] = 3, t[1] = 5, and p[0] = 0.4, p[1] = 0.6, and the value we get from the random number generator is 0.45, then since 0.45 > p[0], the t value we return should be t[1], right? In my opinion, the last sentence on this page should be changed to: "we return the LEAST t[i] such that Fx(t[i]) >= r."
Your answer
Your email address
Your answer
Submit
Never submit passwords through Google Forms.
This content is neither created nor endorsed by Google. Report Abuse - Terms of Service - Additional Terms