1 |
|
problem
Implement int sqrt(int x).
approach1
单调递增可以用二分法
1 |
- time:O()
- space:O()
approach2
1 |
- time:O()
- space:O()
approach3
1 |
- time:O()
- space:O()
1 |
|
Implement int sqrt(int x).
单调递增可以用二分法
1 |
1 |
1 |
Update your browser to view this website correctly. Update my browser now