Lou Talman Department of Mathematical and Computer Sciences Metropolitan State College of Denver
You are wrong about me having to be more careful when a rectangle counts. In the description for this problem, I never limited the orientation of the rectangles I was seeking to be counted within an array. I stated to get a count for the total. If I had only wanted a total of vertical/horizontal rectangles, I would have had to mention that explicitly. Or if I had wanted only a total of oblique rectangles, I would have had to mention that explicitly.