LeetCode
Longest Line of Consecutive One in Matrix
Click
here
for an explanation.