Question: 2. Alice has learned the sqrt function in her math class last week. She thinks that the method to compute sqrt function can be improved

2. Alice has learned the sqrt function in her math class last week. She thinks that the method to compute sqrt function can be improved at least for perfect squared numbers. Please help her to find a divide and conquer algorithm to find perfect squared numbers and their squared root. The input to the algorithm is n and the output is its squared root if it is a perfect squared number
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
