Sir, doubt in Square painting

I am able to pass all cases except one testcase.

Sir, any updates on this thread?

Second reminder, please update me on this query.

@pangatt4
try to debug your code for
7 3
WWWWWWW
BWWWWWB
WWWWBWW
WBBBWWB
BBWWBBB
WBBWWWW
BWBBBWB

ans : 3

1 Like