trackler 2.2.1.58 → 2.2.1.59
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/trackler/version.rb +1 -1
- data/problem-specifications/exercises/isbn-verifier/canonical-data.json +3 -3
- data/tracks/c/docs/C_STYLE_GUIDE.md +23 -0
- data/tracks/erlang/config.json +10 -0
- data/tracks/erlang/exercises/custom-set/README.md +54 -0
- data/tracks/erlang/exercises/custom-set/include/exercism.hrl +11 -0
- data/tracks/erlang/exercises/custom-set/rebar.config +30 -0
- data/tracks/erlang/exercises/custom-set/src/custom_set.app.src +9 -0
- data/tracks/erlang/exercises/custom-set/src/custom_set.erl +27 -0
- data/tracks/erlang/exercises/custom-set/src/example.erl +51 -0
- data/tracks/erlang/exercises/custom-set/test/custom_set_tests.erl +188 -0
- data/tracks/erlang/testgen/src/tgen_custom-set.erl +98 -0
- data/tracks/haskell/config.json +11 -0
- data/tracks/haskell/exercises/perfect-numbers/README.md +78 -0
- data/tracks/haskell/exercises/perfect-numbers/examples/success-standard/package.yaml +16 -0
- data/tracks/haskell/exercises/perfect-numbers/examples/success-standard/src/PerfectNumbers.hs +10 -0
- data/tracks/haskell/exercises/perfect-numbers/package.yaml +20 -0
- data/tracks/haskell/exercises/perfect-numbers/src/PerfectNumbers.hs +6 -0
- data/tracks/haskell/exercises/perfect-numbers/stack.yaml +1 -0
- data/tracks/haskell/exercises/perfect-numbers/test/Tests.hs +79 -0
- data/tracks/javascript/exercises/acronym/README.md +1 -1
- data/tracks/javascript/exercises/all-your-base/README.md +1 -1
- data/tracks/javascript/exercises/allergies/README.md +1 -1
- data/tracks/javascript/exercises/alphametics/README.md +1 -1
- data/tracks/javascript/exercises/anagram/README.md +1 -1
- data/tracks/javascript/exercises/atbash-cipher/README.md +1 -1
- data/tracks/javascript/exercises/beer-song/README.md +1 -1
- data/tracks/javascript/exercises/binary-search-tree/README.md +1 -1
- data/tracks/javascript/exercises/binary-search/README.md +1 -1
- data/tracks/javascript/exercises/binary/README.md +1 -1
- data/tracks/javascript/exercises/bob/README.md +1 -1
- data/tracks/javascript/exercises/bowling/README.md +1 -1
- data/tracks/javascript/exercises/bracket-push/README.md +1 -1
- data/tracks/javascript/exercises/change/README.md +1 -1
- data/tracks/javascript/exercises/circular-buffer/README.md +1 -1
- data/tracks/javascript/exercises/clock/README.md +1 -1
- data/tracks/javascript/exercises/collatz-conjecture/README.md +1 -1
- data/tracks/javascript/exercises/crypto-square/README.md +1 -1
- data/tracks/javascript/exercises/custom-set/README.md +1 -1
- data/tracks/javascript/exercises/diamond/README.md +1 -1
- data/tracks/javascript/exercises/difference-of-squares/README.md +1 -1
- data/tracks/javascript/exercises/diffie-hellman/README.md +1 -1
- data/tracks/javascript/exercises/etl/README.md +1 -1
- data/tracks/javascript/exercises/flatten-array/README.md +1 -1
- data/tracks/javascript/exercises/food-chain/README.md +1 -1
- data/tracks/javascript/exercises/gigasecond/README.md +1 -1
- data/tracks/javascript/exercises/grade-school/README.md +1 -1
- data/tracks/javascript/exercises/grains/README.md +1 -1
- data/tracks/javascript/exercises/hamming/README.md +1 -1
- data/tracks/javascript/exercises/hello-world/README.md +1 -1
- data/tracks/javascript/exercises/hexadecimal/README.md +1 -1
- data/tracks/javascript/exercises/isogram/README.md +1 -1
- data/tracks/javascript/exercises/kindergarten-garden/README.md +1 -1
- data/tracks/javascript/exercises/largest-series-product/README.md +1 -1
- data/tracks/javascript/exercises/leap/README.md +1 -1
- data/tracks/javascript/exercises/linked-list/README.md +1 -1
- data/tracks/javascript/exercises/list-ops/README.md +1 -1
- data/tracks/javascript/exercises/luhn/README.md +1 -1
- data/tracks/javascript/exercises/matrix/README.md +1 -1
- data/tracks/javascript/exercises/meetup/README.md +1 -1
- data/tracks/javascript/exercises/minesweeper/README.md +1 -1
- data/tracks/javascript/exercises/nth-prime/README.md +1 -1
- data/tracks/javascript/exercises/nucleotide-count/README.md +1 -1
- data/tracks/javascript/exercises/ocr-numbers/README.md +1 -1
- data/tracks/javascript/exercises/octal/README.md +1 -1
- data/tracks/javascript/exercises/palindrome-products/README.md +1 -1
- data/tracks/javascript/exercises/pangram/README.md +1 -1
- data/tracks/javascript/exercises/pascals-triangle/README.md +1 -1
- data/tracks/javascript/exercises/perfect-numbers/README.md +1 -1
- data/tracks/javascript/exercises/phone-number/README.md +1 -1
- data/tracks/javascript/exercises/pig-latin/README.md +1 -1
- data/tracks/javascript/exercises/point-mutations/README.md +1 -1
- data/tracks/javascript/exercises/prime-factors/README.md +1 -1
- data/tracks/javascript/exercises/protein-translation/README.md +1 -1
- data/tracks/javascript/exercises/proverb/README.md +1 -1
- data/tracks/javascript/exercises/pythagorean-triplet/README.md +1 -1
- data/tracks/javascript/exercises/queen-attack/README.md +1 -1
- data/tracks/javascript/exercises/raindrops/README.md +1 -1
- data/tracks/javascript/exercises/rna-transcription/README.md +1 -1
- data/tracks/javascript/exercises/robot-name/README.md +1 -1
- data/tracks/javascript/exercises/robot-simulator/README.md +1 -1
- data/tracks/javascript/exercises/roman-numerals/README.md +1 -1
- data/tracks/javascript/exercises/run-length-encoding/README.md +1 -1
- data/tracks/javascript/exercises/saddle-points/README.md +1 -1
- data/tracks/javascript/exercises/say/README.md +1 -1
- data/tracks/javascript/exercises/scrabble-score/README.md +1 -1
- data/tracks/javascript/exercises/secret-handshake/README.md +1 -1
- data/tracks/javascript/exercises/series/README.md +1 -1
- data/tracks/javascript/exercises/sieve/README.md +1 -1
- data/tracks/javascript/exercises/simple-cipher/README.md +1 -1
- data/tracks/javascript/exercises/simple-linked-list/README.md +1 -1
- data/tracks/javascript/exercises/space-age/README.md +1 -1
- data/tracks/javascript/exercises/strain/README.md +1 -1
- data/tracks/javascript/exercises/sum-of-multiples/README.md +1 -1
- data/tracks/javascript/exercises/transpose/README.md +1 -1
- data/tracks/javascript/exercises/triangle/README.md +1 -1
- data/tracks/javascript/exercises/trinary/README.md +1 -1
- data/tracks/javascript/exercises/twelve-days/README.md +1 -1
- data/tracks/javascript/exercises/two-bucket/README.md +1 -1
- data/tracks/javascript/exercises/word-count/README.md +1 -1
- data/tracks/javascript/exercises/wordy/README.md +1 -1
- data/tracks/javascript/exercises/zipper/README.md +1 -1
- data/tracks/typescript/config.json +15 -1
- data/tracks/typescript/exercises/pythagorean-triplet/README.md +54 -0
- data/tracks/typescript/exercises/pythagorean-triplet/package.json +36 -0
- data/tracks/typescript/exercises/pythagorean-triplet/pythagorean-triplet.example.ts +60 -0
- data/tracks/typescript/exercises/pythagorean-triplet/pythagorean-triplet.test.ts +37 -0
- data/tracks/typescript/exercises/pythagorean-triplet/pythagorean-triplet.ts +0 -0
- data/tracks/typescript/exercises/pythagorean-triplet/tsconfig.json +22 -0
- data/tracks/typescript/exercises/pythagorean-triplet/tslint.json +127 -0
- data/tracks/typescript/exercises/pythagorean-triplet/yarn.lock +2624 -0
- metadata +25 -2
@@ -8,7 +8,7 @@ verify that all the pairs are matched and nested correctly.
|
|
8
8
|
Go through the setup instructions for JavaScript to
|
9
9
|
install the necessary dependencies:
|
10
10
|
|
11
|
-
http://exercism.io/languages/javascript
|
11
|
+
http://exercism.io/languages/javascript/installation
|
12
12
|
|
13
13
|
## Making the Test Suite Pass
|
14
14
|
|
@@ -13,7 +13,7 @@ result is an array with the values: 1, 1, 10 and 25.
|
|
13
13
|
Go through the setup instructions for JavaScript to
|
14
14
|
install the necessary dependencies:
|
15
15
|
|
16
|
-
http://exercism.io/languages/javascript
|
16
|
+
http://exercism.io/languages/javascript/installation
|
17
17
|
|
18
18
|
## Making the Test Suite Pass
|
19
19
|
|
@@ -11,7 +11,7 @@ Two clocks that represent the same time should be equal to each other.
|
|
11
11
|
Go through the setup instructions for JavaScript to
|
12
12
|
install the necessary dependencies:
|
13
13
|
|
14
|
-
http://exercism.io/languages/javascript
|
14
|
+
http://exercism.io/languages/javascript/installation
|
15
15
|
|
16
16
|
## Making the Test Suite Pass
|
17
17
|
|
@@ -31,7 +31,7 @@ Resulting in 9 steps. So for input n = 12, the return value would be 9.
|
|
31
31
|
Go through the setup instructions for JavaScript to
|
32
32
|
install the necessary dependencies:
|
33
33
|
|
34
|
-
http://exercism.io/languages/javascript
|
34
|
+
http://exercism.io/languages/javascript/installation
|
35
35
|
|
36
36
|
## Making the Test Suite Pass
|
37
37
|
|
@@ -17,7 +17,7 @@ natural numbers is 3025 - 385 = 2640.
|
|
17
17
|
Go through the setup instructions for JavaScript to
|
18
18
|
install the necessary dependencies:
|
19
19
|
|
20
|
-
http://exercism.io/languages/javascript
|
20
|
+
http://exercism.io/languages/javascript/installation
|
21
21
|
|
22
22
|
## Making the Test Suite Pass
|
23
23
|
|
@@ -49,7 +49,7 @@ game while being scored at 4 in the Hawaiian-language version.
|
|
49
49
|
Go through the setup instructions for JavaScript to
|
50
50
|
install the necessary dependencies:
|
51
51
|
|
52
|
-
http://exercism.io/languages/javascript
|
52
|
+
http://exercism.io/languages/javascript/installation
|
53
53
|
|
54
54
|
## Making the Test Suite Pass
|
55
55
|
|
@@ -9,7 +9,7 @@ A gigasecond is 10^9 (1,000,000,000) seconds.
|
|
9
9
|
Go through the setup instructions for JavaScript to
|
10
10
|
install the necessary dependencies:
|
11
11
|
|
12
|
-
http://exercism.io/languages/javascript
|
12
|
+
http://exercism.io/languages/javascript/installation
|
13
13
|
|
14
14
|
## Making the Test Suite Pass
|
15
15
|
|
@@ -40,7 +40,7 @@ experiment make the code better? Worse? Did you learn anything from it?
|
|
40
40
|
Go through the setup instructions for JavaScript to
|
41
41
|
install the necessary dependencies:
|
42
42
|
|
43
|
-
http://exercism.io/languages/javascript
|
43
|
+
http://exercism.io/languages/javascript/installation
|
44
44
|
|
45
45
|
## Making the Test Suite Pass
|
46
46
|
|
@@ -32,7 +32,7 @@ experiment make the code better? Worse? Did you learn anything from it?
|
|
32
32
|
Go through the setup instructions for JavaScript to
|
33
33
|
install the necessary dependencies:
|
34
34
|
|
35
|
-
http://exercism.io/languages/javascript
|
35
|
+
http://exercism.io/languages/javascript/installation
|
36
36
|
|
37
37
|
## Making the Test Suite Pass
|
38
38
|
|
@@ -40,7 +40,7 @@ of equal length differently.
|
|
40
40
|
Go through the setup instructions for JavaScript to
|
41
41
|
install the necessary dependencies:
|
42
42
|
|
43
|
-
http://exercism.io/languages/javascript
|
43
|
+
http://exercism.io/languages/javascript/installation
|
44
44
|
|
45
45
|
## Making the Test Suite Pass
|
46
46
|
|
@@ -106,7 +106,7 @@ When you are done, submit your solution to exercism:
|
|
106
106
|
Go through the setup instructions for JavaScript to
|
107
107
|
install the necessary dependencies:
|
108
108
|
|
109
|
-
http://exercism.io/languages/javascript
|
109
|
+
http://exercism.io/languages/javascript/installation
|
110
110
|
|
111
111
|
## Making the Test Suite Pass
|
112
112
|
|
@@ -12,7 +12,7 @@ The program should handle invalid hexadecimal strings.
|
|
12
12
|
Go through the setup instructions for JavaScript to
|
13
13
|
install the necessary dependencies:
|
14
14
|
|
15
|
-
http://exercism.io/languages/javascript
|
15
|
+
http://exercism.io/languages/javascript/installation
|
16
16
|
|
17
17
|
## Making the Test Suite Pass
|
18
18
|
|
@@ -17,7 +17,7 @@ The word *isograms*, however, is not an isogram, because the s repeats.
|
|
17
17
|
Go through the setup instructions for JavaScript to
|
18
18
|
install the necessary dependencies:
|
19
19
|
|
20
|
-
http://exercism.io/languages/javascript
|
20
|
+
http://exercism.io/languages/javascript/installation
|
21
21
|
|
22
22
|
## Making the Test Suite Pass
|
23
23
|
|
@@ -64,7 +64,7 @@ While asking for Bob's plants would yield:
|
|
64
64
|
Go through the setup instructions for JavaScript to
|
65
65
|
install the necessary dependencies:
|
66
66
|
|
67
|
-
http://exercism.io/languages/javascript
|
67
|
+
http://exercism.io/languages/javascript/installation
|
68
68
|
|
69
69
|
## Making the Test Suite Pass
|
70
70
|
|
@@ -18,7 +18,7 @@ the largest product for a series of 6 digits is 23520.
|
|
18
18
|
Go through the setup instructions for JavaScript to
|
19
19
|
install the necessary dependencies:
|
20
20
|
|
21
|
-
http://exercism.io/languages/javascript
|
21
|
+
http://exercism.io/languages/javascript/installation
|
22
22
|
|
23
23
|
## Making the Test Suite Pass
|
24
24
|
|
@@ -31,7 +31,7 @@ phenomenon, go watch [this youtube video][video].
|
|
31
31
|
Go through the setup instructions for JavaScript to
|
32
32
|
install the necessary dependencies:
|
33
33
|
|
34
|
-
http://exercism.io/languages/javascript
|
34
|
+
http://exercism.io/languages/javascript/installation
|
35
35
|
|
36
36
|
## Making the Test Suite Pass
|
37
37
|
|
@@ -32,7 +32,7 @@ If you want to know more about linked lists, check [Wikipedia](https://en.wikipe
|
|
32
32
|
Go through the setup instructions for JavaScript to
|
33
33
|
install the necessary dependencies:
|
34
34
|
|
35
|
-
http://exercism.io/languages/javascript
|
35
|
+
http://exercism.io/languages/javascript/installation
|
36
36
|
|
37
37
|
## Making the Test Suite Pass
|
38
38
|
|
@@ -11,7 +11,7 @@ without using existing functions.
|
|
11
11
|
Go through the setup instructions for JavaScript to
|
12
12
|
install the necessary dependencies:
|
13
13
|
|
14
|
-
http://exercism.io/languages/javascript
|
14
|
+
http://exercism.io/languages/javascript/installation
|
15
15
|
|
16
16
|
## Making the Test Suite Pass
|
17
17
|
|
@@ -28,7 +28,7 @@ For example, if given "First Monday of January 2017", the correct meetup date is
|
|
28
28
|
Go through the setup instructions for JavaScript to
|
29
29
|
install the necessary dependencies:
|
30
30
|
|
31
|
-
http://exercism.io/languages/javascript
|
31
|
+
http://exercism.io/languages/javascript/installation
|
32
32
|
|
33
33
|
## Making the Test Suite Pass
|
34
34
|
|
@@ -13,7 +13,7 @@ numbers, pretend they don't exist and implement them yourself.
|
|
13
13
|
Go through the setup instructions for JavaScript to
|
14
14
|
install the necessary dependencies:
|
15
15
|
|
16
|
-
http://exercism.io/languages/javascript
|
16
|
+
http://exercism.io/languages/javascript/installation
|
17
17
|
|
18
18
|
## Making the Test Suite Pass
|
19
19
|
|
@@ -83,7 +83,7 @@ Is converted to "123,456,789"
|
|
83
83
|
Go through the setup instructions for JavaScript to
|
84
84
|
install the necessary dependencies:
|
85
85
|
|
86
|
-
http://exercism.io/languages/javascript
|
86
|
+
http://exercism.io/languages/javascript/installation
|
87
87
|
|
88
88
|
## Making the Test Suite Pass
|
89
89
|
|
@@ -38,7 +38,7 @@ The largest palindrome product is `9009`. Its factors are `(91, 99)` and `(99, 9
|
|
38
38
|
Go through the setup instructions for JavaScript to
|
39
39
|
install the necessary dependencies:
|
40
40
|
|
41
|
-
http://exercism.io/languages/javascript
|
41
|
+
http://exercism.io/languages/javascript/installation
|
42
42
|
|
43
43
|
## Making the Test Suite Pass
|
44
44
|
|
@@ -13,7 +13,7 @@ insensitive. Input will not contain non-ASCII symbols.
|
|
13
13
|
Go through the setup instructions for JavaScript to
|
14
14
|
install the necessary dependencies:
|
15
15
|
|
16
|
-
http://exercism.io/languages/javascript
|
16
|
+
http://exercism.io/languages/javascript/installation
|
17
17
|
|
18
18
|
## Making the Test Suite Pass
|
19
19
|
|
@@ -19,7 +19,7 @@ the right and left of the current position in the previous row.
|
|
19
19
|
Go through the setup instructions for JavaScript to
|
20
20
|
install the necessary dependencies:
|
21
21
|
|
22
|
-
http://exercism.io/languages/javascript
|
22
|
+
http://exercism.io/languages/javascript/installation
|
23
23
|
|
24
24
|
## Making the Test Suite Pass
|
25
25
|
|
@@ -22,7 +22,7 @@ Implement a way to determine whether a given number is **perfect**. Depending on
|
|
22
22
|
Go through the setup instructions for JavaScript to
|
23
23
|
install the necessary dependencies:
|
24
24
|
|
25
|
-
http://exercism.io/languages/javascript
|
25
|
+
http://exercism.io/languages/javascript/installation
|
26
26
|
|
27
27
|
## Making the Test Suite Pass
|
28
28
|
|
@@ -32,7 +32,7 @@ should all produce the output
|
|
32
32
|
Go through the setup instructions for JavaScript to
|
33
33
|
install the necessary dependencies:
|
34
34
|
|
35
|
-
http://exercism.io/languages/javascript
|
35
|
+
http://exercism.io/languages/javascript/installation
|
36
36
|
|
37
37
|
## Making the Test Suite Pass
|
38
38
|
|
@@ -22,7 +22,7 @@ See <http://en.wikipedia.org/wiki/Pig_latin> for more details.
|
|
22
22
|
Go through the setup instructions for JavaScript to
|
23
23
|
install the necessary dependencies:
|
24
24
|
|
25
|
-
http://exercism.io/languages/javascript
|
25
|
+
http://exercism.io/languages/javascript/installation
|
26
26
|
|
27
27
|
## Making the Test Suite Pass
|
28
28
|
|
@@ -34,7 +34,7 @@ You can check this yourself:
|
|
34
34
|
Go through the setup instructions for JavaScript to
|
35
35
|
install the necessary dependencies:
|
36
36
|
|
37
|
-
http://exercism.io/languages/javascript
|
37
|
+
http://exercism.io/languages/javascript/installation
|
38
38
|
|
39
39
|
## Making the Test Suite Pass
|
40
40
|
|
@@ -47,7 +47,7 @@ Learn more about [protein translation on Wikipedia](http://en.wikipedia.org/wiki
|
|
47
47
|
Go through the setup instructions for JavaScript to
|
48
48
|
install the necessary dependencies:
|
49
49
|
|
50
|
-
http://exercism.io/languages/javascript
|
50
|
+
http://exercism.io/languages/javascript/installation
|
51
51
|
|
52
52
|
## Making the Test Suite Pass
|
53
53
|
|
@@ -16,7 +16,7 @@ the full text of this proverbial rhyme:
|
|
16
16
|
Go through the setup instructions for JavaScript to
|
17
17
|
install the necessary dependencies:
|
18
18
|
|
19
|
-
http://exercism.io/languages/javascript
|
19
|
+
http://exercism.io/languages/javascript/installation
|
20
20
|
|
21
21
|
## Making the Test Suite Pass
|
22
22
|
|