package
Version:
v0.0.0-...-899dd15
Opens a new window with list of versions in this module.
Published: Sep 11, 2020
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
题目
Implement pow(x, n).
解题思路
注意到指数是整数,所以,可以利用乘法计算幂
总结
o(N)的算法会浪费很多时间,o(lgN)的算法要快的多。
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.