Challenge for Binary Search
The method doStuff takes in one square number. Create a separate recursive method that returns the square root of a given number. Call that method from doStuff and return the answer to be printed out.
Do not use any built in methods for calculating the square-root and don't try searching through all the numbers. Instead, use a binary-style search to home in on the actual square root.
(To make it simpler, the input will just contain square numbers.)
Alternatively, you can try out Learneroo before signing up.