Hi,
In the description, there is a sentence saying “Suppose we know the length s of the largest square region that has A[i+1][j+1] as its bottom-left corner. Then the length of the side of the largest square with A[i,j] as its bottom-left corner is at most s+1, …”
I have two problems of it, first one minor, second one is major.
(1) A[i,j] means A[i][j] right? So it would better if keep the writing style unchanged, just write it as A[i][j] all the time would better?
(2)
I doubt the correctness of the argument. Please see the example below
suppose i==3, j==0, clearly the square with left-bottom corner (i+1,j+1) has side length s==2, and square with left-bottom corner (i,j) has side length s’==4
s’ == s+2.
This example contradicts to the argument that it is at most s+1.
1 1 1 1 0
1 1 1 1 0
1 1 1 1 0
1 1 1 1 0
0 1 1 0 0
Is there a problem with my understanding or the description is problematic?
Thanks