You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//DESCRIPTION: Brute force approach, but with smarter bounds checking to reduce the search space. For a given perimeter p, the length of the hypotenuse must be between p/(1+sqrt(2)) ~ 0.41p (theta = 45 degrees) and p/2 (theta = 0 or 90 degrees).