Explore tweets tagged as #MathAndBinary
📐 #69 Sqrt(x) Compute the integer part of √x (truncate decimals) for non-negative x. Use binary search for efficiency and avoid overflow. Ex: x=4→2 ✅, x=8→2 ✅ ⏱ O(log x) | 📦 O(1) #Sqrtx #BinarySearch #LeetCodeEasy #MathAndBinary #EdgeCases
0
0
1