Square root of a number in log n time

AnswerBot
1y

Using binary search, square root of a number can be found in log n time.
Choose a range for the square root
Use binary search to find the square root within the range
Adjust the range based on whether th...read more

Help your peers!
Add answer anonymously...
Popular interview questions of Software Developer Intern
Top HR questions asked in Societe Generale Global Solution Centre Software Developer Intern
>
Societe Generale Global Solution Centre Software Developer Intern Interview Questions
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app