Driver Code
if __name__ == ' _ _ main _ _ ' : NEW_LINE INDENT mat = [ [ 0 , 1 , 0 , 0 ] , [ 1 , 0 , 1 , 1 ] , [ 0 , 1 , 0 , 0 ] , [ 0 , 1 , 0 , 0 ] ] NEW_LINE V = 2 NEW_LINE print ( maximumLength ( mat , V ) ) NEW_LINE DEDENT