Compare with maximum area so far and accordingly update the final variables
if ( ( len != 0 ) and ( maxArea < ( finish - start + 1 ) * ( right - left + 1 ) ) ) : NEW_LINE INDENT finalLeft = left NEW_LINE finalRight = right NEW_LINE finalTop = start NEW_LINE finalBottom = finish NEW_LINE maxArea = ( finish - start + 1 ) * ( right - left + 1 ) NEW_LINE DEDENT