Salvatore Labs
  • Home
  • LeetCode
  • About
Sign in Subscribe

Math

A collection of 1 post
LeetCode: 69. Sqrt(x)
LeetCode

LeetCode: 69. Sqrt(x)

The Problem Given a non-negative integer x, return the square root of x rounded down to the nearest integer. The returned integer should be non-negative as well. You must not use any built-in exponent function or operator. * For example, do not use pow(x, 0.5) in c++ or x
Mar 21, 2024 2 min read
Page 1 of 1
Salvatore Labs © 2025
  • Sign up
Powered by Ghost