1253. Reconstruct a 2-Row Binary Matrix
Description
**Input:** upper = 2, lower = 1, colsum = [1,1,1]
**Output:** [[1,1,0],[0,0,1]]
**Explanation:** [[1,0,1],[0,1,0]], and [[0,1,1],[1,0,0]] are also correct answers.**Input:** upper = 2, lower = 3, colsum = [2,2,1,1]
**Output:** []ac
Last updated