Sponsored
Solve with full IDE support and test cases
Use these hints if you're stuck. Try solving on your own first.
Find the minimum and maximum coordinates of a cell with a value of 1 in both directions.