Saturday, September 7, 2013

project euler problem 266

Pseudo Square Root

This problem is not easy in my opinion. I forgot how I solved the problem for the first time.  But I remembered that it was slow. I then read the discussion and found a clever solution for this problem. I was surprised that many people knew the algorithm or found the algorithm by themselves. 

The algorithm can be used to solve problem 185 or problem 418 and now problem 461

No comments:

Post a Comment