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.
It doesn’t not specify the exact threshold. That’s perfectly fine. The instructions can further clarify things. The problem here isn’t that the wording needs to be exact, but it shouldn’t be incorrect, which is the case with the current intro.
But “among the tallest” is simpler and more suitable IMO.
Hey all, thanks for the suggestions! I forgot to include my proposal (I created this thread after my PR was auto-closed - I wasn’t aware of the forum) - how about:
A good tree is both:
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.
at most as tall as every tree to the north and south, to minimize the amount of tree climbing.
@RafSobol This works, but it’s unnecessarily complicated. Given the previous debate on this topic, we can only aim to make the wording consistent with the instructions at this point.