InterviewBit Problems
Square Root of Integer : Unsolved
About the Square Root of Integer : Unsolved category
(1)
Constraints mentioned are wrong
(2)
Do binary search,if sqrt found return it else return high(or right,whatever terminology you use)
(1)
Disappointed by the simplicity
(2)
Implementation using low and high gives TLE
(4)
What the meant by not using SQRT function can i use**0.5 in python trick
(1)
How can i optimize it further?
(3)
Why is this happening
(2)
TLE and Constraints not followed
(1)
Not sqrt! why not pow?
(3)
Compilation err due to intrisic sqrt() used in main.c
(2)
Easiest Solution | C++
(1)
VV Easy C++ soln (works)
(3)
For those who are facing Overflow/TLE
(11)
The value of A violates the constraints
(2)
Correct Output For Square root Integer
(1)
Ques not correct
(1)
CONSTRAINTS AND TLE, DONT GO FOR O(sqrt(N)) solution, GO FOR O(LOG(N)) solution
(1)
Not running for a partivular test case
(2)
Helper comment - SQRT(N)
(7)
Constraint of question not followed
(7)
Simple BS O(logn)
(1)
Why its giving wrong
(1)
Facing problem for the larger values
(2)
Simple is better
(6)
Hint: Use A/mid instead of mid*mid
(1)
Expected oytputerror
(1)
Can the upper bound of the loop be reduced to n/2.Since n/2*n/2> n(obviously)
(3)
Is this is correct approach!
(1)
Newton's method can be helpful here, for an easy and fastest solution
(2)
next page →