trackler 2.1.0.5 → 2.1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 620261476b48055d0323fba94bb437ce706ec439
|
4
|
+
data.tar.gz: 947ffcea3e9587dec2b25a7dd129e6e590039380
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 743e170938414ca4ac8c659f12e491a1fc936e13e80a3ca925bca14d5e0aabeea17c232cbebaadc1502591643ace81d067d279168a2cb6bb255dd094a442edf5
|
7
|
+
data.tar.gz: 3a4063e9244b78cf505ded3ba77399b212bd12810dd644f3f3d14e5e2ae7a13a869a15e8f2418dbfe056a771d97101ea9f13d10eaada279bd973b14b28320a16
|
@@ -0,0 +1,87 @@
|
|
1
|
+
{
|
2
|
+
"exercise": "saddle-points",
|
3
|
+
"version": "1.0.0",
|
4
|
+
"comments": [
|
5
|
+
"Matrix rows and columns are 0-indexed."
|
6
|
+
],
|
7
|
+
"cases": [
|
8
|
+
{
|
9
|
+
"description": "Can identify single saddle point",
|
10
|
+
"comments": [
|
11
|
+
"This is the README example."
|
12
|
+
],
|
13
|
+
"property": "saddlePoints",
|
14
|
+
"input": [
|
15
|
+
[9, 8, 7],
|
16
|
+
[5, 3, 2],
|
17
|
+
[6, 6, 7]
|
18
|
+
],
|
19
|
+
"expected": [
|
20
|
+
{
|
21
|
+
"row": 1,
|
22
|
+
"column": 0
|
23
|
+
}
|
24
|
+
]
|
25
|
+
},
|
26
|
+
{
|
27
|
+
"description": "Can identify that empty matrix has no saddle points",
|
28
|
+
"property": "saddlePoints",
|
29
|
+
"input": [
|
30
|
+
[]
|
31
|
+
],
|
32
|
+
"expected": []
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"description": "Can identify lack of saddle points when there are none",
|
36
|
+
"property": "saddlePoints",
|
37
|
+
"input": [
|
38
|
+
[1, 2, 3],
|
39
|
+
[3, 1, 2],
|
40
|
+
[2, 3, 1]
|
41
|
+
],
|
42
|
+
"expected": []
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"description": "Can identify multiple saddle points",
|
46
|
+
"property": "saddlePoints",
|
47
|
+
"input": [
|
48
|
+
[4, 5, 4],
|
49
|
+
[3, 5, 5],
|
50
|
+
[1, 5, 4]
|
51
|
+
],
|
52
|
+
"expected": [
|
53
|
+
{
|
54
|
+
"row": 0,
|
55
|
+
"column": 1
|
56
|
+
},
|
57
|
+
{
|
58
|
+
"row": 1,
|
59
|
+
"column": 1
|
60
|
+
},
|
61
|
+
{
|
62
|
+
"row": 2,
|
63
|
+
"column": 1
|
64
|
+
}
|
65
|
+
]
|
66
|
+
},
|
67
|
+
{
|
68
|
+
"description": "Can identify saddle point in bottom right corner",
|
69
|
+
"comments": [
|
70
|
+
"This is a permutation of the README matrix designed to test",
|
71
|
+
"off-by-one errors."
|
72
|
+
],
|
73
|
+
"property": "saddlePoints",
|
74
|
+
"input": [
|
75
|
+
[8, 7, 9],
|
76
|
+
[6, 7, 6],
|
77
|
+
[3, 2, 5]
|
78
|
+
],
|
79
|
+
"expected": [
|
80
|
+
{
|
81
|
+
"row": 2,
|
82
|
+
"column": 2
|
83
|
+
}
|
84
|
+
]
|
85
|
+
}
|
86
|
+
]
|
87
|
+
}
|
data/lib/trackler/version.rb
CHANGED
data/tracks/go/config.json
CHANGED
@@ -159,19 +159,31 @@
|
|
159
159
|
]
|
160
160
|
},
|
161
161
|
{
|
162
|
-
"difficulty":
|
162
|
+
"difficulty": 4,
|
163
163
|
"slug": "pascals-triangle",
|
164
|
-
"topics": [
|
164
|
+
"topics": [
|
165
|
+
"Arrays",
|
166
|
+
"Mathematics"
|
167
|
+
]
|
165
168
|
},
|
166
169
|
{
|
167
|
-
"difficulty":
|
170
|
+
"difficulty": 3,
|
168
171
|
"slug": "series",
|
169
|
-
"topics": [
|
172
|
+
"topics": [
|
173
|
+
"Strings",
|
174
|
+
"Arrays",
|
175
|
+
"Refactoring"
|
176
|
+
]
|
170
177
|
},
|
171
178
|
{
|
172
|
-
"difficulty":
|
179
|
+
"difficulty": 5,
|
173
180
|
"slug": "queen-attack",
|
174
|
-
"topics": [
|
181
|
+
"topics": [
|
182
|
+
"Booleans",
|
183
|
+
"Logic",
|
184
|
+
"Games",
|
185
|
+
"Errors"
|
186
|
+
]
|
175
187
|
},
|
176
188
|
{
|
177
189
|
"difficulty": 2,
|
data/tracks/javascript/README.md
CHANGED
@@ -2,6 +2,10 @@
|
|
2
2
|
|
3
3
|
Exercism exercises in JavaScript
|
4
4
|
|
5
|
+
## Installing
|
6
|
+
|
7
|
+
To run the tests, you'll need NodeJS and Jasmine. For information about how to install these tools, see the [Javascript](http://exercism.io/languages/javascript/about) page.
|
8
|
+
|
5
9
|
## Running Unit Test Suite
|
6
10
|
|
7
11
|
The following commands assume that you are in the 'xjavascript' directory:
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trackler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.0.
|
4
|
+
version: 2.1.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Katrina Owen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-05-
|
11
|
+
date: 2017-05-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubyzip
|
@@ -353,6 +353,7 @@ files:
|
|
353
353
|
- common/exercises/run-length-encoding/canonical-data.json
|
354
354
|
- common/exercises/run-length-encoding/description.md
|
355
355
|
- common/exercises/run-length-encoding/metadata.yml
|
356
|
+
- common/exercises/saddle-points/canonical-data.json
|
356
357
|
- common/exercises/saddle-points/description.md
|
357
358
|
- common/exercises/saddle-points/metadata.yml
|
358
359
|
- common/exercises/say/canonical-data.json
|