Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refine wording in Saddle Points #2413

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion exercises/saddle-points/instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Your task is to find the potential trees where you could build your tree house.
The data company provides the data as grids that show the heights of the trees.
The rows of the grid represent the east-west direction, and the columns represent the north-south direction.

An acceptable tree will be the largest in its row, while being the smallest in its column.
An acceptable tree will be the tallest in its row, while being the shortest in its column.

A grid might not have any good trees at all.
Or it might have one, or even several.
Expand Down
4 changes: 2 additions & 2 deletions exercises/saddle-points/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ You need to analyze each grid on the map to find good trees for your tree house.

A good tree is both:

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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- at least as tall as all trees to the east and west, so that you have the best possible view of the sunrises and sunsets.
- at most as tall as all trees to the north and south, to minimize the amount of tree climbing.
- at least as tall as all the trees to the east and west, so that you have the best possible view of the sunrises and sunsets.
- at most as tall as all the trees to the north and south, to minimize the amount of tree climbing.