@@ -0,0 +1,617 @@
+class Solution(object):%0A    def constructRectangle(self, area):%0A        %22%22%22%0A        :type area: int%0A        :rtype: List%5Bint%5D%0A        %22%22%22%0A        minDiff = -1%0A        rect    = %5B0, 0%5D%0A        %0A        for length in xrange(int(area ** 0.5), area + 1):%0A            width = area // length%0A            %0A            if length * width == area and length %3E= width:%0A                curDiff = abs(length - width)%0A                %0A                if minDiff %3C 0 or curDiff %3C minDiff:%0A                    minDiff = curDiff%0A                    rect    = %5Blength, width%5D%0A                    break%0A            %0A        return rect%0A

Create solution.py