Skip to content

Commit d7f95b7

Browse files
authored
Clarify introduction
While doing this exercise I was stuck on a test, when I noticed that this introduction doesn't fit the existing scenario. The test `Can identify multiple saddle points` has the following matrix: `Matrix(List(List(4, 5, 4), List(3, 5, 5), List(1, 5, 4)))` This is meant to produce `Set((0, 1), (1, 1), (2, 1)))`. This implies that in: ``` 4 5 4 3 5 5 1 5 4 ``` every tree in the middle column is valid; this contradicts the introduction that said that the tree must be **taller than**/**shorter than** the east-west and north-south line respectively.
1 parent 89311a3 commit d7f95b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exercises/practice/saddle-points/.docs/introduction.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ You need to analyze each grid on the map to find good trees for your tree house.
77

88
A good tree is both:
99

10-
- taller than every tree to the east and west, so that you have the best possible view of the sunrises and sunsets.
11-
- shorter than every tree to the north and south, to minimize the amount of tree climbing.
10+
- at least as tall as every tree to the east and west, so that you have the best possible view of the sunrises and sunsets.
11+
- at most as tall as every tree to the north and south, to minimize the amount of tree climbing.

0 commit comments

Comments
 (0)