That will lead me to use a technique I mentioned again last time, called memoization.
这就使得我要是,用我上次提过的一种技术,也就是默记法。
Remember, I said when we do a bisection method, we're assuming the answer lies somewhere between Well, what is the square root of a quarter? It is a half.
记住,我提过当我们用二分法的时候,我们假设答案处于,上边界和下边界之间,0。25的平方根是多少?,是0。5。
应用推荐