Skip to content
the poor coder

Home / Topics / #binary-search

#Binary Search

2 posts
2021

Leetcode - Sqrt(x) Solution

Given a non-negative integer x, compute and return the square root of x. Since the return type is an integer, the decimal digits are truncated, and only the integer part of the result is returned. Example 1: Example 2…

ESC