LeetCode----Sqrt(x)
摘要:
Implement int sqrt(int x).Compute and return the square root of x.思路: 其实就是求解 非线性方程 x^2 = A. (A为开方的数)一般形式是 求解 f (x) = 0解法1: 牛顿切线法这是牛顿在 1736年提出的方法,其实思想非... 阅读全文
posted @ 2014-02-12 21:59
L_J_SHOU
阅读(135)
评论(0)
推荐(0)
浙公网安备 33010602011771号