Skip to content

Commit 61fc95c

Browse files
committed
saddle-points: Fix row values in instructions
exercism/problem-specifications#2272
1 parent 198f17a commit 61fc95c

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

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

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,12 @@ Or it might have one, or even several.
1313
Here is a grid that has exactly one candidate tree.
1414

1515
1 2 3 4
16+
|-----------
17+
1 | 9 8 7 8
18+
2 | 5 3 2 4 <--- potential tree house at row 2, column 1, for tree with height 5
19+
3 | 6 6 7 1
1620

17-
|-----------
18-
1 | 9 8 7 8
19-
2 | 5 3 2 4 <--- potential tree house at row 2, column 1, for tree with height 5
20-
3 | 6 6 7 1
21-
22-
- Row 2 has values 5, 3, and 1. The largest value is 5.
21+
- Row 2 has values 5, 3, 2, and 4. The largest value is 5.
2322
- Column 1 has values 9, 5, and 6. The smallest value is 5.
2423

2524
So the point at `[2, 1]` (row: 2, column: 1) is a great spot for a tree house.

exercises/practice/saddle-points/.meta/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
},
2424
"blurb": "Detect saddle points in a matrix.",
2525
"source": "J Dalbey's Programming Practice problems",
26-
"source_url": "http://users.csc.calpoly.edu/~jdalbey/103/Projects/ProgrammingPractice.html",
26+
"source_url": "https://users.csc.calpoly.edu/~jdalbey/103/Projects/ProgrammingPractice.html",
2727
"custom": {
2828
"version.tests.compatibility": "jest-27",
2929
"flag.tests.task-per-describe": false,

0 commit comments

Comments
 (0)