feat(content): hidden test cases
This commit is contained in:
@@ -23,6 +23,14 @@ test_cases:
|
||||
expected: [[0, 0], [0, 1], [1, 0], [1, 1]]
|
||||
- input: { heights: [[1, 2], [4, 3]] }
|
||||
expected: [[0, 1], [1, 0], [1, 1]]
|
||||
- input: { heights: [[1, 2, 3], [4, 5, 6], [7, 8, 9]] }
|
||||
expected: [[0, 2], [1, 2], [2, 0], [2, 1], [2, 2]]
|
||||
- input: { heights: [[10, 10, 10], [10, 1, 10], [10, 10, 10]] }
|
||||
expected: [[0, 0], [0, 1], [0, 2], [1, 0], [1, 2], [2, 0], [2, 1], [2, 2]]
|
||||
- input: { heights: [[3, 3, 3, 3, 3]] }
|
||||
expected: [[0, 0], [0, 1], [0, 2], [0, 3], [0, 4]]
|
||||
- input: { heights: [[3], [3], [3], [3], [3]] }
|
||||
expected: [[0, 0], [1, 0], [2, 0], [3, 0], [4, 0]]
|
||||
|
||||
description: |
|
||||
There is an `m x n` rectangular island that borders both the **Pacific Ocean** and **Atlantic Ocean**. The **Pacific Ocean** touches the island's left and top edges, and the **Atlantic Ocean** touches the island's right and bottom edges.
|
||||
|
||||
Reference in New Issue
Block a user