- Longest Line of Consecutive One in Matrix
Thanks for your help.
The result comes from the bold ones:
The line of ones should be consecutive.
@fallcreek Thank you very much,:-)
Thank you for pointing out the key point of the case, and let me understood my misunderstanding of the problem.
poor me, I need to learn more about the word "consecutive". :-)
Thanks a lot.