calculate x^1/2
Anonymous
You can calculate this efficiently using a numerical method which is a twist on binary search. 1- Let z = 0 2- Let y = x+z/2 3- Calculate y^y If equal return y else if smaller than x let z = y else let x = y 4- Repeat
Check out your Company Bowl for anonymous work chats.