0562: Longest Line of Consecutive One in Matrix

Problem Statement