Просмотр исходного кода

Adjust exercise README formatting; drop help link

Stuart Kent 9 лет назад
Родитель
Сommit
e518d2ca8a
88 измененных файлов: 367 добавлений и 261 удалений
  1. 3
    3
      config/exercise-readme-insert.md
  2. 3
    0
      config/exercise_readme.go.tmpl
  3. 4
    3
      exercises/accumulate/README.md
  4. 4
    3
      exercises/acronym/README.md
  5. 4
    3
      exercises/all-your-base/README.md
  6. 4
    3
      exercises/allergies/README.md
  7. 4
    3
      exercises/anagram/README.md
  8. 4
    3
      exercises/atbash-cipher/README.md
  9. 6
    3
      exercises/bank-account/README.md
  10. 4
    3
      exercises/beer-song/README.md
  11. 4
    3
      exercises/binary-search-tree/README.md
  12. 6
    3
      exercises/binary-search/README.md
  13. 4
    3
      exercises/binary/README.md
  14. 4
    3
      exercises/bob/README.md
  15. 4
    3
      exercises/book-store/README.md
  16. 4
    3
      exercises/bowling/README.md
  17. 4
    3
      exercises/bracket-push/README.md
  18. 4
    3
      exercises/change/README.md
  19. 4
    3
      exercises/circular-buffer/README.md
  20. 6
    3
      exercises/clock/README.md
  21. 4
    3
      exercises/collatz-conjecture/README.md
  22. 4
    3
      exercises/complex-numbers/README.md
  23. 4
    3
      exercises/crypto-square/README.md
  24. 4
    3
      exercises/custom-set/README.md
  25. 4
    3
      exercises/diamond/README.md
  26. 4
    3
      exercises/difference-of-squares/README.md
  27. 4
    3
      exercises/etl/README.md
  28. 4
    3
      exercises/flatten-array/README.md
  29. 4
    3
      exercises/food-chain/README.md
  30. 3
    3
      exercises/forth/README.md
  31. 4
    3
      exercises/gigasecond/README.md
  32. 4
    3
      exercises/grade-school/README.md
  33. 6
    3
      exercises/hamming/README.md
  34. 6
    3
      exercises/hello-world/README.md
  35. 4
    3
      exercises/hexadecimal/README.md
  36. 4
    3
      exercises/house/README.md
  37. 6
    3
      exercises/isogram/README.md
  38. 4
    3
      exercises/kindergarten-garden/README.md
  39. 4
    3
      exercises/largest-series-product/README.md
  40. 4
    3
      exercises/linked-list/README.md
  41. 6
    3
      exercises/list-ops/README.md
  42. 4
    3
      exercises/luhn/README.md
  43. 4
    3
      exercises/matrix/README.md
  44. 4
    3
      exercises/meetup/README.md
  45. 4
    3
      exercises/minesweeper/README.md
  46. 4
    3
      exercises/nth-prime/README.md
  47. 4
    3
      exercises/nucleotide-count/README.md
  48. 4
    3
      exercises/ocr-numbers/README.md
  49. 4
    3
      exercises/octal/README.md
  50. 4
    3
      exercises/palindrome-products/README.md
  51. 4
    3
      exercises/pangram/README.md
  52. 4
    3
      exercises/pascals-triangle/README.md
  53. 4
    3
      exercises/perfect-numbers/README.md
  54. 4
    3
      exercises/phone-number/README.md
  55. 4
    3
      exercises/pig-latin/README.md
  56. 4
    3
      exercises/poker/README.md
  57. 4
    3
      exercises/prime-factors/README.md
  58. 4
    3
      exercises/pythagorean-triplet/README.md
  59. 4
    3
      exercises/queen-attack/README.md
  60. 4
    3
      exercises/raindrops/README.md
  61. 4
    3
      exercises/rectangles/README.md
  62. 4
    3
      exercises/rna-transcription/README.md
  63. 4
    3
      exercises/robot-name/README.md
  64. 4
    3
      exercises/robot-simulator/README.md
  65. 4
    3
      exercises/roman-numerals/README.md
  66. 4
    3
      exercises/rotational-cipher/README.md
  67. 4
    3
      exercises/run-length-encoding/README.md
  68. 4
    3
      exercises/saddle-points/README.md
  69. 4
    3
      exercises/scrabble-score/README.md
  70. 4
    3
      exercises/secret-handshake/README.md
  71. 4
    3
      exercises/series/README.md
  72. 4
    3
      exercises/sieve/README.md
  73. 6
    3
      exercises/simple-cipher/README.md
  74. 4
    3
      exercises/simple-linked-list/README.md
  75. 4
    3
      exercises/space-age/README.md
  76. 4
    3
      exercises/spiral-matrix/README.md
  77. 4
    3
      exercises/strain/README.md
  78. 4
    3
      exercises/sublist/README.md
  79. 4
    3
      exercises/sum-of-multiples/README.md
  80. 4
    3
      exercises/tournament/README.md
  81. 4
    3
      exercises/transpose/README.md
  82. 4
    3
      exercises/triangle/README.md
  83. 4
    3
      exercises/trinary/README.md
  84. 4
    3
      exercises/twelve-days/README.md
  85. 6
    3
      exercises/two-fer/README.md
  86. 4
    3
      exercises/word-count/README.md
  87. 4
    3
      exercises/word-search/README.md
  88. 4
    3
      exercises/wordy/README.md

+ 3
- 3
config/exercise-readme-insert.md Просмотреть файл

@@ -1,9 +1,9 @@
1
+# Running the tests
1 2
 
2
-To run the tests:
3
+You can run all the tests for an exercise by entering
3 4
 
4 5
 ```sh
5 6
 $ gradle test
6 7
 ```
7 8
 
8
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
9
-
9
+in your terminal.

+ 3
- 0
config/exercise_readme.go.tmpl Просмотреть файл

@@ -2,6 +2,8 @@
2 2
 
3 3
 {{ .Spec.Description -}}
4 4
 {{- with .Hints }}
5
+# Java Tips
6
+
5 7
 {{ . }}
6 8
 {{ end }}
7 9
 {{- with .TrackInsert }}
@@ -13,4 +15,5 @@
13 15
 {{ . }}
14 16
 {{ end }}
15 17
 ## Submitting Incomplete Solutions
18
+
16 19
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/accumulate/README.md Просмотреть файл

@@ -25,19 +25,20 @@ Keep your hands off that collect/map/fmap/whatchamacallit functionality
25 25
 provided by your standard library!
26 26
 Solve this one yourself using other basic tools instead.
27 27
 
28
+# Running the tests
28 29
 
29
-To run the tests:
30
+You can run all the tests for an exercise by entering
30 31
 
31 32
 ```sh
32 33
 $ gradle test
33 34
 ```
34 35
 
35
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
36
-
36
+in your terminal.
37 37
 
38 38
 ## Source
39 39
 
40 40
 Conversation with James Edward Gray II [https://twitter.com/jeg2](https://twitter.com/jeg2)
41 41
 
42 42
 ## Submitting Incomplete Solutions
43
+
43 44
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/acronym/README.md Просмотреть файл

@@ -7,19 +7,20 @@ Techies love their TLA (Three Letter Acronyms)!
7 7
 Help generate some jargon by writing a program that converts a long name
8 8
 like Portable Network Graphics to its acronym (PNG).
9 9
 
10
+# Running the tests
10 11
 
11
-To run the tests:
12
+You can run all the tests for an exercise by entering
12 13
 
13 14
 ```sh
14 15
 $ gradle test
15 16
 ```
16 17
 
17
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
18
-
18
+in your terminal.
19 19
 
20 20
 ## Source
21 21
 
22 22
 Julien Vanier [https://github.com/monkbroc](https://github.com/monkbroc)
23 23
 
24 24
 ## Submitting Incomplete Solutions
25
+
25 26
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/all-your-base/README.md Просмотреть файл

@@ -31,16 +31,17 @@ I think you got the idea!
31 31
 
32 32
 *Yes. Those three numbers above are exactly the same. Congratulations!*
33 33
 
34
+# Running the tests
34 35
 
35
-To run the tests:
36
+You can run all the tests for an exercise by entering
36 37
 
37 38
 ```sh
38 39
 $ gradle test
39 40
 ```
40 41
 
41
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
42
-
42
+in your terminal.
43 43
 
44 44
 
45 45
 ## Submitting Incomplete Solutions
46
+
46 47
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/allergies/README.md Просмотреть файл

@@ -29,19 +29,20 @@ allergens that score 256, 512, 1024, etc.).  Your program should
29 29
 ignore those components of the score.  For example, if the allergy
30 30
 score is 257, your program should only report the eggs (1) allergy.
31 31
 
32
+# Running the tests
32 33
 
33
-To run the tests:
34
+You can run all the tests for an exercise by entering
34 35
 
35 36
 ```sh
36 37
 $ gradle test
37 38
 ```
38 39
 
39
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
40
-
40
+in your terminal.
41 41
 
42 42
 ## Source
43 43
 
44 44
 Jumpstart Lab Warm-up [http://jumpstartlab.com](http://jumpstartlab.com)
45 45
 
46 46
 ## Submitting Incomplete Solutions
47
+
47 48
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/anagram/README.md Просмотреть файл

@@ -6,19 +6,20 @@ Given `"listen"` and a list of candidates like `"enlists" "google"
6 6
 "inlets" "banana"` the program should return a list containing
7 7
 `"inlets"`.
8 8
 
9
+# Running the tests
9 10
 
10
-To run the tests:
11
+You can run all the tests for an exercise by entering
11 12
 
12 13
 ```sh
13 14
 $ gradle test
14 15
 ```
15 16
 
16
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
17
-
17
+in your terminal.
18 18
 
19 19
 ## Source
20 20
 
21 21
 Inspired by the Extreme Startup game [https://github.com/rchatley/extreme_startup](https://github.com/rchatley/extreme_startup)
22 22
 
23 23
 ## Submitting Incomplete Solutions
24
+
24 25
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/atbash-cipher/README.md Просмотреть файл

@@ -28,19 +28,20 @@ things based on word boundaries.
28 28
 - Decoding `gvhg` gives `test`
29 29
 - Decoding `gsvjf rxpyi ldmul cqfnk hlevi gsvoz abwlt` gives `thequickbrownfoxjumpsoverthelazydog`
30 30
 
31
+# Running the tests
31 32
 
32
-To run the tests:
33
+You can run all the tests for an exercise by entering
33 34
 
34 35
 ```sh
35 36
 $ gradle test
36 37
 ```
37 38
 
38
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
39
-
39
+in your terminal.
40 40
 
41 41
 ## Source
42 42
 
43 43
 Wikipedia [http://en.wikipedia.org/wiki/Atbash](http://en.wikipedia.org/wiki/Atbash)
44 44
 
45 45
 ## Submitting Incomplete Solutions
46
+
46 47
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 6
- 3
exercises/bank-account/README.md Просмотреть файл

@@ -26,6 +26,8 @@ it.
26 26
 
27 27
 Have fun!
28 28
 
29
+# Java Tips
30
+
29 31
 This exercise introduces [concurrency](https://docs.oracle.com/javase/tutorial/essential/concurrency/index.html). 
30 32
 To pass the last test you might find the 
31 33
 [`synchronized` keyword or locks](https://docs.oracle.com/javase/tutorial/essential/concurrency/locksync.html) useful.
@@ -38,16 +40,17 @@ no concurrent modification attempt. It is unlikely that this will occur several
38 40
 in a row since the order the code is executed should vary every time you run the test. So if you run the last test a 
39 41
 couple of times and it passes every time then you can be reasonably sure that your implementation is correct.
40 42
 
43
+# Running the tests
41 44
 
42
-To run the tests:
45
+You can run all the tests for an exercise by entering
43 46
 
44 47
 ```sh
45 48
 $ gradle test
46 49
 ```
47 50
 
48
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
49
-
51
+in your terminal.
50 52
 
51 53
 
52 54
 ## Submitting Incomplete Solutions
55
+
53 56
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/beer-song/README.md Просмотреть файл

@@ -320,19 +320,20 @@ are some additional things you could try:
320 320
 Then please share your thoughts in a comment on the submission. Did this
321 321
 experiment make the code better? Worse? Did you learn anything from it?
322 322
 
323
+# Running the tests
323 324
 
324
-To run the tests:
325
+You can run all the tests for an exercise by entering
325 326
 
326 327
 ```sh
327 328
 $ gradle test
328 329
 ```
329 330
 
330
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
331
-
331
+in your terminal.
332 332
 
333 333
 ## Source
334 334
 
335 335
 Learn to Program by Chris Pine [http://pine.fm/LearnToProgram/?Chapter=06](http://pine.fm/LearnToProgram/?Chapter=06)
336 336
 
337 337
 ## Submitting Incomplete Solutions
338
+
338 339
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/binary-search-tree/README.md Просмотреть файл

@@ -53,19 +53,20 @@ And if we then added 1, 5, and 7, it would look like this
53 53
      / \     / \
54 54
     1   3   5   7
55 55
 
56
+# Running the tests
56 57
 
57
-To run the tests:
58
+You can run all the tests for an exercise by entering
58 59
 
59 60
 ```sh
60 61
 $ gradle test
61 62
 ```
62 63
 
63
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
64
-
64
+in your terminal.
65 65
 
66 66
 ## Source
67 67
 
68 68
 Josh Cheek [https://twitter.com/josh_cheek](https://twitter.com/josh_cheek)
69 69
 
70 70
 ## Submitting Incomplete Solutions
71
+
71 72
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 6
- 3
exercises/binary-search/README.md Просмотреть файл

@@ -34,6 +34,8 @@ A binary search halves the number of items to check with each iteration,
34 34
 so locating an item (or determining its absence) takes logarithmic time.
35 35
 A binary search is a dichotomic divide and conquer search algorithm.
36 36
 
37
+# Java Tips
38
+
37 39
 This exercise introduces [generics](https://docs.oracle.com/javase/tutorial/java/generics/index.html).
38 40
 To make the tests pass you need to construct your class such that it accepts any type of input, e.g. `Integer` or `String`.
39 41
 
@@ -61,19 +63,20 @@ However, every primitive type has a corresponding reference type, so instead of
61 63
 It can help to look at an [example use case of generics](https://docs.oracle.com/javase/tutorial/java/generics/types.html) to get you started.
62 64
 
63 65
 
66
+# Running the tests
64 67
 
65
-To run the tests:
68
+You can run all the tests for an exercise by entering
66 69
 
67 70
 ```sh
68 71
 $ gradle test
69 72
 ```
70 73
 
71
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
72
-
74
+in your terminal.
73 75
 
74 76
 ## Source
75 77
 
76 78
 Wikipedia [http://en.wikipedia.org/wiki/Binary_search_algorithm](http://en.wikipedia.org/wiki/Binary_search_algorithm)
77 79
 
78 80
 ## Submitting Incomplete Solutions
81
+
79 82
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/binary/README.md Просмотреть файл

@@ -30,19 +30,20 @@ Binary is similar, but uses powers of 2 rather than powers of 10.
30 30
 
31 31
 So: `101 => 1*2^2 + 0*2^1 + 1*2^0 => 1*4 + 0*2 + 1*1 => 4 + 1 => 5 base 10`.
32 32
 
33
+# Running the tests
33 34
 
34
-To run the tests:
35
+You can run all the tests for an exercise by entering
35 36
 
36 37
 ```sh
37 38
 $ gradle test
38 39
 ```
39 40
 
40
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
41
-
41
+in your terminal.
42 42
 
43 43
 ## Source
44 44
 
45 45
 All of Computer Science [http://www.wolframalpha.com/input/?i=binary&a=*C.binary-_*MathWorld-](http://www.wolframalpha.com/input/?i=binary&a=*C.binary-_*MathWorld-)
46 46
 
47 47
 ## Submitting Incomplete Solutions
48
+
48 49
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/bob/README.md Просмотреть файл

@@ -11,19 +11,20 @@ anything.
11 11
 
12 12
 He answers 'Whatever.' to anything else.
13 13
 
14
+# Running the tests
14 15
 
15
-To run the tests:
16
+You can run all the tests for an exercise by entering
16 17
 
17 18
 ```sh
18 19
 $ gradle test
19 20
 ```
20 21
 
21
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
22
-
22
+in your terminal.
23 23
 
24 24
 ## Source
25 25
 
26 26
 Inspired by the 'Deaf Grandma' exercise in Chris Pine's Learn to Program tutorial. [http://pine.fm/LearnToProgram/?Chapter=06](http://pine.fm/LearnToProgram/?Chapter=06)
27 27
 
28 28
 ## Submitting Incomplete Solutions
29
+
29 30
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/book-store/README.md Просмотреть файл

@@ -67,19 +67,20 @@ For a total of $51.20
67 67
 
68 68
 And $51.20 is the price with the biggest discount.
69 69
 
70
+# Running the tests
70 71
 
71
-To run the tests:
72
+You can run all the tests for an exercise by entering
72 73
 
73 74
 ```sh
74 75
 $ gradle test
75 76
 ```
76 77
 
77
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
78
-
78
+in your terminal.
79 79
 
80 80
 ## Source
81 81
 
82 82
 Inspired by the harry potter kata from Cyber-Dojo. [http://cyber-dojo.org](http://cyber-dojo.org)
83 83
 
84 84
 ## Submitting Incomplete Solutions
85
+
85 86
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/bowling/README.md Просмотреть файл

@@ -60,19 +60,20 @@ support two operations:
60 60
 * `score() : int` is called only at the very end of the game.  It
61 61
   returns the total score for that game.
62 62
 
63
+# Running the tests
63 64
 
64
-To run the tests:
65
+You can run all the tests for an exercise by entering
65 66
 
66 67
 ```sh
67 68
 $ gradle test
68 69
 ```
69 70
 
70
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
71
-
71
+in your terminal.
72 72
 
73 73
 ## Source
74 74
 
75 75
 The Bowling Game Kata at but UncleBob [http://butunclebob.com/ArticleS.UncleBob.TheBowlingGameKata](http://butunclebob.com/ArticleS.UncleBob.TheBowlingGameKata)
76 76
 
77 77
 ## Submitting Incomplete Solutions
78
+
78 79
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/bracket-push/README.md Просмотреть файл

@@ -3,19 +3,20 @@
3 3
 Given a string containing brackets `[]`, braces `{}` and parentheses `()`,
4 4
 verify that all the pairs are matched and nested correctly.
5 5
 
6
+# Running the tests
6 7
 
7
-To run the tests:
8
+You can run all the tests for an exercise by entering
8 9
 
9 10
 ```sh
10 11
 $ gradle test
11 12
 ```
12 13
 
13
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
14
-
14
+in your terminal.
15 15
 
16 16
 ## Source
17 17
 
18 18
 Ginna Baker
19 19
 
20 20
 ## Submitting Incomplete Solutions
21
+
21 22
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/change/README.md Просмотреть файл

@@ -16,19 +16,20 @@ that the sum of the coins' value would equal the correct amount of change.
16 16
 - Can you ask for negative change?
17 17
 - Can you ask for a change value smaller than the smallest coin value?
18 18
 
19
+# Running the tests
19 20
 
20
-To run the tests:
21
+You can run all the tests for an exercise by entering
21 22
 
22 23
 ```sh
23 24
 $ gradle test
24 25
 ```
25 26
 
26
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
27
-
27
+in your terminal.
28 28
 
29 29
 ## Source
30 30
 
31 31
 Software Craftsmanship - Coin Change Kata [https://web.archive.org/web/20130115115225/http://craftsmanship.sv.cmu.edu:80/exercises/coin-change-kata](https://web.archive.org/web/20130115115225/http://craftsmanship.sv.cmu.edu:80/exercises/coin-change-kata)
32 32
 
33 33
 ## Submitting Incomplete Solutions
34
+
34 35
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/circular-buffer/README.md Просмотреть файл

@@ -50,19 +50,20 @@ the buffer is once again full.
50 50
 
51 51
     [D][7][8][9][A][B][C]
52 52
 
53
+# Running the tests
53 54
 
54
-To run the tests:
55
+You can run all the tests for an exercise by entering
55 56
 
56 57
 ```sh
57 58
 $ gradle test
58 59
 ```
59 60
 
60
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
61
-
61
+in your terminal.
62 62
 
63 63
 ## Source
64 64
 
65 65
 Wikipedia [http://en.wikipedia.org/wiki/Circular_buffer](http://en.wikipedia.org/wiki/Circular_buffer)
66 66
 
67 67
 ## Submitting Incomplete Solutions
68
+
68 69
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 6
- 3
exercises/clock/README.md Просмотреть файл

@@ -6,24 +6,27 @@ You should be able to add and subtract minutes to it.
6 6
 
7 7
 Two clocks that represent the same time should be equal to each other.
8 8
 
9
+# Java Tips
10
+
9 11
 In order to satisfy the requirement that two clocks are considered equal just when they are set to the same time, you will need to override the [`equals`](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals(java.lang.Object)) and [`hashcode`](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode) methods in your `Clock` class.
10 12
  
11 13
 For more information on how to override these methods, see [this JavaWorld article](https://web.archive.org/web/20170528222153/http://www.javaworld.com/article/2072762/java-app-dev/object-equality.html).
12 14
 
13 15
 
16
+# Running the tests
14 17
 
15
-To run the tests:
18
+You can run all the tests for an exercise by entering
16 19
 
17 20
 ```sh
18 21
 $ gradle test
19 22
 ```
20 23
 
21
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
22
-
24
+in your terminal.
23 25
 
24 26
 ## Source
25 27
 
26 28
 Pairing session with Erin Drummond [https://twitter.com/ebdrummond](https://twitter.com/ebdrummond)
27 29
 
28 30
 ## Submitting Incomplete Solutions
31
+
29 32
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/collatz-conjecture/README.md Просмотреть файл

@@ -26,19 +26,20 @@ Starting with n = 12, the steps would be as follows:
26 26
 
27 27
 Resulting in 9 steps. So for input n = 12, the return value would be 9.
28 28
 
29
+# Running the tests
29 30
 
30
-To run the tests:
31
+You can run all the tests for an exercise by entering
31 32
 
32 33
 ```sh
33 34
 $ gradle test
34 35
 ```
35 36
 
36
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
37
-
37
+in your terminal.
38 38
 
39 39
 ## Source
40 40
 
41 41
 An unsolved problem in mathematics named after mathematician Lothar Collatz [https://en.wikipedia.org/wiki/3x_%2B_1_problem](https://en.wikipedia.org/wiki/3x_%2B_1_problem)
42 42
 
43 43
 ## Submitting Incomplete Solutions
44
+
44 45
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/complex-numbers/README.md Просмотреть файл

@@ -31,19 +31,20 @@ Implement the following operations:
31 31
 
32 32
 Assume the programming language you are using does not have an implementation of complex numbers.
33 33
 
34
+# Running the tests
34 35
 
35
-To run the tests:
36
+You can run all the tests for an exercise by entering
36 37
 
37 38
 ```sh
38 39
 $ gradle test
39 40
 ```
40 41
 
41
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
42
-
42
+in your terminal.
43 43
 
44 44
 ## Source
45 45
 
46 46
 Wikipedia [https://en.wikipedia.org/wiki/Complex_number](https://en.wikipedia.org/wiki/Complex_number)
47 47
 
48 48
 ## Submitting Incomplete Solutions
49
+
49 50
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/crypto-square/README.md Просмотреть файл

@@ -69,19 +69,20 @@ aohghn
69 69
 sseoau
70 70
 ```
71 71
 
72
+# Running the tests
72 73
 
73
-To run the tests:
74
+You can run all the tests for an exercise by entering
74 75
 
75 76
 ```sh
76 77
 $ gradle test
77 78
 ```
78 79
 
79
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
80
-
80
+in your terminal.
81 81
 
82 82
 ## Source
83 83
 
84 84
 J Dalbey's Programming Practice problems [http://users.csc.calpoly.edu/~jdalbey/103/Projects/ProgrammingPractice.html](http://users.csc.calpoly.edu/~jdalbey/103/Projects/ProgrammingPractice.html)
85 85
 
86 86
 ## Submitting Incomplete Solutions
87
+
87 88
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/custom-set/README.md Просмотреть файл

@@ -7,16 +7,17 @@ type, like a set. In this exercise you will define your own set. How it
7 7
 works internally doesn't matter, as long as it behaves like a set of
8 8
 unique elements.
9 9
 
10
+# Running the tests
10 11
 
11
-To run the tests:
12
+You can run all the tests for an exercise by entering
12 13
 
13 14
 ```sh
14 15
 $ gradle test
15 16
 ```
16 17
 
17
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
18
-
18
+in your terminal.
19 19
 
20 20
 
21 21
 ## Submitting Incomplete Solutions
22
+
22 23
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/diamond/README.md Просмотреть файл

@@ -52,19 +52,20 @@ E·······E
52 52
 ····A····
53 53
 ```
54 54
 
55
+# Running the tests
55 56
 
56
-To run the tests:
57
+You can run all the tests for an exercise by entering
57 58
 
58 59
 ```sh
59 60
 $ gradle test
60 61
 ```
61 62
 
62
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
63
-
63
+in your terminal.
64 64
 
65 65
 ## Source
66 66
 
67 67
 Seb Rose [http://claysnow.co.uk/recycling-tests-in-tdd/](http://claysnow.co.uk/recycling-tests-in-tdd/)
68 68
 
69 69
 ## Submitting Incomplete Solutions
70
+
70 71
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/difference-of-squares/README.md Просмотреть файл

@@ -12,19 +12,20 @@ Hence the difference between the square of the sum of the first
12 12
 ten natural numbers and the sum of the squares of the first ten
13 13
 natural numbers is 3025 - 385 = 2640.
14 14
 
15
+# Running the tests
15 16
 
16
-To run the tests:
17
+You can run all the tests for an exercise by entering
17 18
 
18 19
 ```sh
19 20
 $ gradle test
20 21
 ```
21 22
 
22
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
23
-
23
+in your terminal.
24 24
 
25 25
 ## Source
26 26
 
27 27
 Problem 6 at Project Euler [http://projecteuler.net/problem=6](http://projecteuler.net/problem=6)
28 28
 
29 29
 ## Submitting Incomplete Solutions
30
+
30 31
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/etl/README.md Просмотреть файл

@@ -46,19 +46,20 @@ variety of languages, each with its own unique scoring table. For
46 46
 example, an "E" is scored at 2 in the Māori-language version of the
47 47
 game while being scored at 4 in the Hawaiian-language version.
48 48
 
49
+# Running the tests
49 50
 
50
-To run the tests:
51
+You can run all the tests for an exercise by entering
51 52
 
52 53
 ```sh
53 54
 $ gradle test
54 55
 ```
55 56
 
56
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
57
-
57
+in your terminal.
58 58
 
59 59
 ## Source
60 60
 
61 61
 The Jumpstart Lab team [http://jumpstartlab.com](http://jumpstartlab.com)
62 62
 
63 63
 ## Submitting Incomplete Solutions
64
+
64 65
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/flatten-array/README.md Просмотреть файл

@@ -10,19 +10,20 @@ input: [1,[2,3,null,4],[null],5]
10 10
 
11 11
 output: [1,2,3,4,5]
12 12
 
13
+# Running the tests
13 14
 
14
-To run the tests:
15
+You can run all the tests for an exercise by entering
15 16
 
16 17
 ```sh
17 18
 $ gradle test
18 19
 ```
19 20
 
20
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
21
-
21
+in your terminal.
22 22
 
23 23
 ## Source
24 24
 
25 25
 Interview Question [https://reference.wolfram.com/language/ref/Flatten.html](https://reference.wolfram.com/language/ref/Flatten.html)
26 26
 
27 27
 ## Submitting Incomplete Solutions
28
+
28 29
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/food-chain/README.md Просмотреть файл

@@ -63,19 +63,20 @@ I know an old lady who swallowed a horse.
63 63
 She's dead, of course!
64 64
 ```
65 65
 
66
+# Running the tests
66 67
 
67
-To run the tests:
68
+You can run all the tests for an exercise by entering
68 69
 
69 70
 ```sh
70 71
 $ gradle test
71 72
 ```
72 73
 
73
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
74
-
74
+in your terminal.
75 75
 
76 76
 ## Source
77 77
 
78 78
 Wikipedia [http://en.wikipedia.org/wiki/There_Was_an_Old_Lady_Who_Swallowed_a_Fly](http://en.wikipedia.org/wiki/There_Was_an_Old_Lady_Who_Swallowed_a_Fly)
79 79
 
80 80
 ## Submitting Incomplete Solutions
81
+
81 82
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 3
- 3
exercises/forth/README.md Просмотреть файл

@@ -25,15 +25,15 @@ enough.)
25 25
 
26 26
 Words are case-insensitive.
27 27
 
28
+# Running the tests
28 29
 
29
-To run the tests:
30
+You can run all the tests for an exercise by entering
30 31
 
31 32
 ```sh
32 33
 $ gradle test
33 34
 ```
34 35
 
35
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
36
-
36
+in your terminal.
37 37
 
38 38
 
39 39
 ## Submitting Incomplete Solutions

+ 4
- 3
exercises/gigasecond/README.md Просмотреть файл

@@ -4,19 +4,20 @@ Calculate the moment when someone has lived for 10^9 seconds.
4 4
 
5 5
 A gigasecond is 10^9 (1,000,000,000) seconds.
6 6
 
7
+# Running the tests
7 8
 
8
-To run the tests:
9
+You can run all the tests for an exercise by entering
9 10
 
10 11
 ```sh
11 12
 $ gradle test
12 13
 ```
13 14
 
14
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
15
-
15
+in your terminal.
16 16
 
17 17
 ## Source
18 18
 
19 19
 Chapter 9 in Chris Pine's online Learn to Program tutorial. [http://pine.fm/LearnToProgram/?Chapter=09](http://pine.fm/LearnToProgram/?Chapter=09)
20 20
 
21 21
 ## Submitting Incomplete Solutions
22
+
22 23
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/grade-school/README.md Просмотреть файл

@@ -34,19 +34,20 @@ are some additional things you could try:
34 34
 Then please share your thoughts in a comment on the submission. Did this
35 35
 experiment make the code better? Worse? Did you learn anything from it?
36 36
 
37
+# Running the tests
37 38
 
38
-To run the tests:
39
+You can run all the tests for an exercise by entering
39 40
 
40 41
 ```sh
41 42
 $ gradle test
42 43
 ```
43 44
 
44
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
45
-
45
+in your terminal.
46 46
 
47 47
 ## Source
48 48
 
49 49
 A pairing session with Phil Battos at gSchool [http://gschool.it](http://gschool.it)
50 50
 
51 51
 ## Submitting Incomplete Solutions
52
+
52 53
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 6
- 3
exercises/hamming/README.md Просмотреть файл

@@ -35,6 +35,8 @@ The Hamming distance is only defined for sequences of equal length. This means
35 35
 that based on the definition, each language could deal with getting sequences
36 36
 of equal length differently.
37 37
 
38
+# Java Tips
39
+
38 40
 ## Hints
39 41
 
40 42
 This is the first exercise with tests that require you to throw an
@@ -49,19 +51,20 @@ are:
49 51
 2. (optionally) initialized with a specified message.
50 52
 
51 53
 
54
+# Running the tests
52 55
 
53
-To run the tests:
56
+You can run all the tests for an exercise by entering
54 57
 
55 58
 ```sh
56 59
 $ gradle test
57 60
 ```
58 61
 
59
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
60
-
62
+in your terminal.
61 63
 
62 64
 ## Source
63 65
 
64 66
 The Calculating Point Mutations problem at Rosalind [http://rosalind.info/problems/hamm/](http://rosalind.info/problems/hamm/)
65 67
 
66 68
 ## Submitting Incomplete Solutions
69
+
67 70
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 6
- 3
exercises/hello-world/README.md Просмотреть файл

@@ -14,25 +14,28 @@ The objectives are simple:
14 14
 
15 15
 If everything goes well, you will be ready to fetch your first real exercise.
16 16
 
17
+# Java Tips
18
+
17 19
 Since this is your first Java exercise, we've included a detailed TUTORIAL.md
18 20
 file that guides you through your solution. Check it out for tips and
19 21
 assistance!
20 22
 
21 23
 
22 24
 
25
+# Running the tests
23 26
 
24
-To run the tests:
27
+You can run all the tests for an exercise by entering
25 28
 
26 29
 ```sh
27 30
 $ gradle test
28 31
 ```
29 32
 
30
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
31
-
33
+in your terminal.
32 34
 
33 35
 ## Source
34 36
 
35 37
 This is an exercise to introduce users to using Exercism [http://en.wikipedia.org/wiki/%22Hello,_world!%22_program](http://en.wikipedia.org/wiki/%22Hello,_world!%22_program)
36 38
 
37 39
 ## Submitting Incomplete Solutions
40
+
38 41
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/hexadecimal/README.md Просмотреть файл

@@ -7,19 +7,20 @@ teal: 008080, navy: 000080).
7 7
 
8 8
 The program should handle invalid hexadecimal strings.
9 9
 
10
+# Running the tests
10 11
 
11
-To run the tests:
12
+You can run all the tests for an exercise by entering
12 13
 
13 14
 ```sh
14 15
 $ gradle test
15 16
 ```
16 17
 
17
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
18
-
18
+in your terminal.
19 19
 
20 20
 ## Source
21 21
 
22 22
 All of Computer Science [http://www.wolframalpha.com/examples/NumberBases.html](http://www.wolframalpha.com/examples/NumberBases.html)
23 23
 
24 24
 ## Submitting Incomplete Solutions
25
+
25 26
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/house/README.md Просмотреть файл

@@ -105,19 +105,20 @@ that ate the malt
105 105
 that lay in the house that Jack built.
106 106
 ```
107 107
 
108
+# Running the tests
108 109
 
109
-To run the tests:
110
+You can run all the tests for an exercise by entering
110 111
 
111 112
 ```sh
112 113
 $ gradle test
113 114
 ```
114 115
 
115
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
116
-
116
+in your terminal.
117 117
 
118 118
 ## Source
119 119
 
120 120
 British nursery rhyme [http://en.wikipedia.org/wiki/This_Is_The_House_That_Jack_Built](http://en.wikipedia.org/wiki/This_Is_The_House_That_Jack_Built)
121 121
 
122 122
 ## Submitting Incomplete Solutions
123
+
123 124
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 6
- 3
exercises/isogram/README.md Просмотреть файл

@@ -13,6 +13,8 @@ Examples of isograms:
13 13
 
14 14
 The word *isograms*, however, is not an isogram, because the s repeats.
15 15
 
16
+# Java Tips
17
+
16 18
 If you find that `testWorksWithGermanLetters` fails even though you think you've implemented it correctly,
17 19
 this could be because of the [JVM encoding](https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_61/rzaha/international.htm). 
18 20
 Try setting the `JAVA_TOOL_OPTIONS` environment variable to `-Dfile.encoding=UTF8` to fix this.
@@ -24,19 +26,20 @@ Try setting the `JAVA_TOOL_OPTIONS` environment variable to `-Dfile.encoding=UTF
24 26
 
25 27
 - [To set an environment variable on linux](https://unix.stackexchange.com/questions/151733/where-can-i-set-global-java-options)
26 28
 
29
+# Running the tests
27 30
 
28
-To run the tests:
31
+You can run all the tests for an exercise by entering
29 32
 
30 33
 ```sh
31 34
 $ gradle test
32 35
 ```
33 36
 
34
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
35
-
37
+in your terminal.
36 38
 
37 39
 ## Source
38 40
 
39 41
 Wikipedia [https://en.wikipedia.org/wiki/Isogram](https://en.wikipedia.org/wiki/Isogram)
40 42
 
41 43
 ## Submitting Incomplete Solutions
44
+
42 45
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/kindergarten-garden/README.md Просмотреть файл

@@ -59,19 +59,20 @@ While asking for Bob's plants would yield:
59 59
 
60 60
 - Clover, grass, clover, clover
61 61
 
62
+# Running the tests
62 63
 
63
-To run the tests:
64
+You can run all the tests for an exercise by entering
64 65
 
65 66
 ```sh
66 67
 $ gradle test
67 68
 ```
68 69
 
69
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
70
-
70
+in your terminal.
71 71
 
72 72
 ## Source
73 73
 
74 74
 Random musings during airplane trip. [http://jumpstartlab.com](http://jumpstartlab.com)
75 75
 
76 76
 ## Submitting Incomplete Solutions
77
+
77 78
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/largest-series-product/README.md Просмотреть файл

@@ -13,19 +13,20 @@ in the input; the digits need not be *numerically consecutive*.
13 13
 For the input `'73167176531330624919225119674426574742355349194934'`,
14 14
 the largest product for a series of 6 digits is 23520.
15 15
 
16
+# Running the tests
16 17
 
17
-To run the tests:
18
+You can run all the tests for an exercise by entering
18 19
 
19 20
 ```sh
20 21
 $ gradle test
21 22
 ```
22 23
 
23
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
24
-
24
+in your terminal.
25 25
 
26 26
 ## Source
27 27
 
28 28
 A variation on Problem 8 at Project Euler [http://projecteuler.net/problem=8](http://projecteuler.net/problem=8)
29 29
 
30 30
 ## Submitting Incomplete Solutions
31
+
31 32
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/linked-list/README.md Просмотреть файл

@@ -27,19 +27,20 @@ empty list.
27 27
 
28 28
 If you want to know more about linked lists, check [Wikipedia](https://en.wikipedia.org/wiki/Linked_list).
29 29
 
30
+# Running the tests
30 31
 
31
-To run the tests:
32
+You can run all the tests for an exercise by entering
32 33
 
33 34
 ```sh
34 35
 $ gradle test
35 36
 ```
36 37
 
37
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
38
-
38
+in your terminal.
39 39
 
40 40
 ## Source
41 41
 
42 42
 Classic computer science topic
43 43
 
44 44
 ## Submitting Incomplete Solutions
45
+
45 46
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 6
- 3
exercises/list-ops/README.md Просмотреть файл

@@ -6,6 +6,8 @@ In functional languages list operations like `length`, `map`, and
6 6
 `reduce` are very common. Implement a series of basic list operations,
7 7
 without using existing functions.
8 8
 
9
+# Java Tips
10
+
9 11
 ## Hints
10 12
 
11 13
 In Java it's considered best practice to use instance methods over class methods. However, there are conditions in which it is absolutely appropriate for a function to be `static`. Since classes in Java are closed for modification (i.e. you cannot add members to a class outside its definition like you can in other languages like Ruby or JavaScript), you cannot add new behavior to the class directly. What to do if you still want to define behavior for a given type? The idiomatic solution in this case is to write a utility method. 
@@ -15,16 +17,17 @@ In this exercise we want a List to have `map()`, `reduce()`, `filter()`, etc. me
15 17
 The `foldLeft` and `foldRight` methods are "fold" functions, which is a concept well-known in the functional programming world, but less so in the object-oriented one. See the Wikipedia page on folding for [general background](https://en.wikipedia.org/wiki/Fold_(higher-order_function)) and [signature/implementation hints](https://en.wikipedia.org/wiki/Fold_(higher-order_function)#Linear_folds).
16 18
 
17 19
 
20
+# Running the tests
18 21
 
19
-To run the tests:
22
+You can run all the tests for an exercise by entering
20 23
 
21 24
 ```sh
22 25
 $ gradle test
23 26
 ```
24 27
 
25
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
26
-
28
+in your terminal.
27 29
 
28 30
 
29 31
 ## Submitting Incomplete Solutions
32
+
30 33
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/luhn/README.md Просмотреть файл

@@ -64,19 +64,20 @@ Sum the digits
64 64
 
65 65
 57 is not evenly divisible by 10, so this number is not valid.
66 66
 
67
+# Running the tests
67 68
 
68
-To run the tests:
69
+You can run all the tests for an exercise by entering
69 70
 
70 71
 ```sh
71 72
 $ gradle test
72 73
 ```
73 74
 
74
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
75
-
75
+in your terminal.
76 76
 
77 77
 ## Source
78 78
 
79 79
 The Luhn Algorithm on Wikipedia [http://en.wikipedia.org/wiki/Luhn_algorithm](http://en.wikipedia.org/wiki/Luhn_algorithm)
80 80
 
81 81
 ## Submitting Incomplete Solutions
82
+
82 83
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/matrix/README.md Просмотреть файл

@@ -40,19 +40,20 @@ And its columns:
40 40
 - 8, 3, 6
41 41
 - 7, 2, 7
42 42
 
43
+# Running the tests
43 44
 
44
-To run the tests:
45
+You can run all the tests for an exercise by entering
45 46
 
46 47
 ```sh
47 48
 $ gradle test
48 49
 ```
49 50
 
50
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
51
-
51
+in your terminal.
52 52
 
53 53
 ## Source
54 54
 
55 55
 Warmup to the `saddle-points` warmup. [http://jumpstartlab.com](http://jumpstartlab.com)
56 56
 
57 57
 ## Submitting Incomplete Solutions
58
+
58 59
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/meetup/README.md Просмотреть файл

@@ -22,19 +22,20 @@ Given examples of a meetup dates, each containing a month, day, year, and descri
22 22
 (first, second, teenth, etc), calculate the date of the actual meetup.
23 23
 For example, if given "First Monday of January 2017", the correct meetup date is 2017/1/2
24 24
 
25
+# Running the tests
25 26
 
26
-To run the tests:
27
+You can run all the tests for an exercise by entering
27 28
 
28 29
 ```sh
29 30
 $ gradle test
30 31
 ```
31 32
 
32
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
33
-
33
+in your terminal.
34 34
 
35 35
 ## Source
36 36
 
37 37
 Jeremy Hinegardner mentioned a Boulder meetup that happens on the Wednesteenth of every month [https://twitter.com/copiousfreetime](https://twitter.com/copiousfreetime)
38 38
 
39 39
 ## Submitting Incomplete Solutions
40
+
40 41
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/minesweeper/README.md Просмотреть файл

@@ -26,16 +26,17 @@ into this:
26 26
     | 111 |
27 27
     +-----+
28 28
 
29
+# Running the tests
29 30
 
30
-To run the tests:
31
+You can run all the tests for an exercise by entering
31 32
 
32 33
 ```sh
33 34
 $ gradle test
34 35
 ```
35 36
 
36
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
37
-
37
+in your terminal.
38 38
 
39 39
 
40 40
 ## Submitting Incomplete Solutions
41
+
41 42
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/nth-prime/README.md Просмотреть файл

@@ -8,19 +8,20 @@ the 6th prime is 13.
8 8
 If your language provides methods in the standard library to deal with prime
9 9
 numbers, pretend they don't exist and implement them yourself.
10 10
 
11
+# Running the tests
11 12
 
12
-To run the tests:
13
+You can run all the tests for an exercise by entering
13 14
 
14 15
 ```sh
15 16
 $ gradle test
16 17
 ```
17 18
 
18
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
19
-
19
+in your terminal.
20 20
 
21 21
 ## Source
22 22
 
23 23
 A variation on Problem 7 at Project Euler [http://projecteuler.net/problem=7](http://projecteuler.net/problem=7)
24 24
 
25 25
 ## Submitting Incomplete Solutions
26
+
26 27
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/nucleotide-count/README.md Просмотреть файл

@@ -12,19 +12,20 @@ Here is an analogy:
12 12
 - legos are to lego houses as
13 13
 - words are to sentences as...
14 14
 
15
+# Running the tests
15 16
 
16
-To run the tests:
17
+You can run all the tests for an exercise by entering
17 18
 
18 19
 ```sh
19 20
 $ gradle test
20 21
 ```
21 22
 
22
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
23
-
23
+in your terminal.
24 24
 
25 25
 ## Source
26 26
 
27 27
 The Calculating DNA Nucleotides_problem at Rosalind [http://rosalind.info/problems/dna/](http://rosalind.info/problems/dna/)
28 28
 
29 29
 ## Submitting Incomplete Solutions
30
+
30 31
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/ocr-numbers/README.md Просмотреть файл

@@ -78,19 +78,20 @@ Update your program to handle multiple numbers, one per line. When converting se
78 78
 
79 79
 Is converted to "123,456,789"
80 80
 
81
+# Running the tests
81 82
 
82
-To run the tests:
83
+You can run all the tests for an exercise by entering
83 84
 
84 85
 ```sh
85 86
 $ gradle test
86 87
 ```
87 88
 
88
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
89
-
89
+in your terminal.
90 90
 
91 91
 ## Source
92 92
 
93 93
 Inspired by the Bank OCR kata [http://codingdojo.org/cgi-bin/wiki.pl?KataBankOCR](http://codingdojo.org/cgi-bin/wiki.pl?KataBankOCR)
94 94
 
95 95
 ## Submitting Incomplete Solutions
96
+
96 97
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/octal/README.md Просмотреть файл

@@ -46,19 +46,20 @@ So:
46 46
  = 155
47 47
 ```
48 48
 
49
+# Running the tests
49 50
 
50
-To run the tests:
51
+You can run all the tests for an exercise by entering
51 52
 
52 53
 ```sh
53 54
 $ gradle test
54 55
 ```
55 56
 
56
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
57
-
57
+in your terminal.
58 58
 
59 59
 ## Source
60 60
 
61 61
 All of Computer Science [http://www.wolframalpha.com/input/?i=base+8](http://www.wolframalpha.com/input/?i=base+8)
62 62
 
63 63
 ## Submitting Incomplete Solutions
64
+
64 65
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/palindrome-products/README.md Просмотреть файл

@@ -32,19 +32,20 @@ Given the range `[10, 99]` (both inclusive)...
32 32
 The smallest palindrome product is `121`. Its factors are `(11, 11)`.
33 33
 The largest palindrome product is `9009`. Its factors are `(91, 99)`.
34 34
 
35
+# Running the tests
35 36
 
36
-To run the tests:
37
+You can run all the tests for an exercise by entering
37 38
 
38 39
 ```sh
39 40
 $ gradle test
40 41
 ```
41 42
 
42
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
43
-
43
+in your terminal.
44 44
 
45 45
 ## Source
46 46
 
47 47
 Problem 4 at Project Euler [http://projecteuler.net/problem=4](http://projecteuler.net/problem=4)
48 48
 
49 49
 ## Submitting Incomplete Solutions
50
+
50 51
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/pangram/README.md Просмотреть файл

@@ -8,19 +8,20 @@ The best known English pangram is:
8 8
 The alphabet used consists of ASCII letters `a` to `z`, inclusive, and is case
9 9
 insensitive. Input will not contain non-ASCII symbols.
10 10
 
11
+# Running the tests
11 12
 
12
-To run the tests:
13
+You can run all the tests for an exercise by entering
13 14
 
14 15
 ```sh
15 16
 $ gradle test
16 17
 ```
17 18
 
18
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
19
-
19
+in your terminal.
20 20
 
21 21
 ## Source
22 22
 
23 23
 Wikipedia [https://en.wikipedia.org/wiki/Pangram](https://en.wikipedia.org/wiki/Pangram)
24 24
 
25 25
 ## Submitting Incomplete Solutions
26
+
26 27
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/pascals-triangle/README.md Просмотреть файл

@@ -14,19 +14,20 @@ the right and left of the current position in the previous row.
14 14
 # ... etc
15 15
 ```
16 16
 
17
+# Running the tests
17 18
 
18
-To run the tests:
19
+You can run all the tests for an exercise by entering
19 20
 
20 21
 ```sh
21 22
 $ gradle test
22 23
 ```
23 24
 
24
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
25
-
25
+in your terminal.
26 26
 
27 27
 ## Source
28 28
 
29 29
 Pascal's Triangle at Wolfram Math World [http://mathworld.wolfram.com/PascalsTriangle.html](http://mathworld.wolfram.com/PascalsTriangle.html)
30 30
 
31 31
 ## Submitting Incomplete Solutions
32
+
32 33
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/perfect-numbers/README.md Просмотреть файл

@@ -17,19 +17,20 @@ The Greek mathematician [Nicomachus](https://en.wikipedia.org/wiki/Nicomachus) d
17 17
 
18 18
 Implement a way to determine whether a given number is **perfect**. Depending on your language track, you may also need to implement a way to determine whether a given number is **abundant** or **deficient**.
19 19
 
20
+# Running the tests
20 21
 
21
-To run the tests:
22
+You can run all the tests for an exercise by entering
22 23
 
23 24
 ```sh
24 25
 $ gradle test
25 26
 ```
26 27
 
27
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
28
-
28
+in your terminal.
29 29
 
30 30
 ## Source
31 31
 
32 32
 Taken from Chapter 2 of Functional Thinking by Neal Ford. [http://shop.oreilly.com/product/0636920029687.do](http://shop.oreilly.com/product/0636920029687.do)
33 33
 
34 34
 ## Submitting Incomplete Solutions
35
+
35 36
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/phone-number/README.md Просмотреть файл

@@ -28,19 +28,20 @@ should all produce the output
28 28
 
29 29
 **Note:** As this exercise only deals with telephone numbers used in NANP-countries, only 1 is considered a valid country code.
30 30
 
31
+# Running the tests
31 32
 
32
-To run the tests:
33
+You can run all the tests for an exercise by entering
33 34
 
34 35
 ```sh
35 36
 $ gradle test
36 37
 ```
37 38
 
38
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
39
-
39
+in your terminal.
40 40
 
41 41
 ## Source
42 42
 
43 43
 Event Manager by JumpstartLab [http://tutorials.jumpstartlab.com/projects/eventmanager.html](http://tutorials.jumpstartlab.com/projects/eventmanager.html)
44 44
 
45 45
 ## Submitting Incomplete Solutions
46
+
46 47
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/pig-latin/README.md Просмотреть файл

@@ -17,19 +17,20 @@ variants too.
17 17
 
18 18
 See <http://en.wikipedia.org/wiki/Pig_latin> for more details.
19 19
 
20
+# Running the tests
20 21
 
21
-To run the tests:
22
+You can run all the tests for an exercise by entering
22 23
 
23 24
 ```sh
24 25
 $ gradle test
25 26
 ```
26 27
 
27
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
28
-
28
+in your terminal.
29 29
 
30 30
 ## Source
31 31
 
32 32
 The Pig Latin exercise at Test First Teaching by Ultrasaurus [https://github.com/ultrasaurus/test-first-teaching/blob/master/learn_ruby/pig_latin/](https://github.com/ultrasaurus/test-first-teaching/blob/master/learn_ruby/pig_latin/)
33 33
 
34 34
 ## Submitting Incomplete Solutions
35
+
35 36
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/poker/README.md Просмотреть файл

@@ -5,19 +5,20 @@ Pick the best hand(s) from a list of poker hands.
5 5
 See [wikipedia](https://en.wikipedia.org/wiki/List_of_poker_hands) for an
6 6
 overview of poker hands.
7 7
 
8
+# Running the tests
8 9
 
9
-To run the tests:
10
+You can run all the tests for an exercise by entering
10 11
 
11 12
 ```sh
12 13
 $ gradle test
13 14
 ```
14 15
 
15
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
16
-
16
+in your terminal.
17 17
 
18 18
 ## Source
19 19
 
20 20
 Inspired by the training course from Udacity. [https://www.udacity.com/course/viewer#!/c-cs212/](https://www.udacity.com/course/viewer#!/c-cs212/)
21 21
 
22 22
 ## Submitting Incomplete Solutions
23
+
23 24
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/prime-factors/README.md Просмотреть файл

@@ -29,19 +29,20 @@ You can check this yourself:
29 29
 - = 60
30 30
 - Success!
31 31
 
32
+# Running the tests
32 33
 
33
-To run the tests:
34
+You can run all the tests for an exercise by entering
34 35
 
35 36
 ```sh
36 37
 $ gradle test
37 38
 ```
38 39
 
39
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
40
-
40
+in your terminal.
41 41
 
42 42
 ## Source
43 43
 
44 44
 The Prime Factors Kata by Uncle Bob [http://butunclebob.com/ArticleS.UncleBob.ThePrimeFactorsKata](http://butunclebob.com/ArticleS.UncleBob.ThePrimeFactorsKata)
45 45
 
46 46
 ## Submitting Incomplete Solutions
47
+
47 48
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/pythagorean-triplet/README.md Просмотреть файл

@@ -17,19 +17,20 @@ There exists exactly one Pythagorean triplet for which a + b + c = 1000.
17 17
 
18 18
 Find the product a * b * c.
19 19
 
20
+# Running the tests
20 21
 
21
-To run the tests:
22
+You can run all the tests for an exercise by entering
22 23
 
23 24
 ```sh
24 25
 $ gradle test
25 26
 ```
26 27
 
27
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
28
-
28
+in your terminal.
29 29
 
30 30
 ## Source
31 31
 
32 32
 Problem 9 at Project Euler [http://projecteuler.net/problem=9](http://projecteuler.net/problem=9)
33 33
 
34 34
 ## Submitting Incomplete Solutions
35
+
35 36
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/queen-attack/README.md Просмотреть файл

@@ -26,19 +26,20 @@ You'd also be able to answer whether the queens can attack each other.
26 26
 In this case, that answer would be yes, they can, because both pieces
27 27
 share a diagonal.
28 28
 
29
+# Running the tests
29 30
 
30
-To run the tests:
31
+You can run all the tests for an exercise by entering
31 32
 
32 33
 ```sh
33 34
 $ gradle test
34 35
 ```
35 36
 
36
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
37
-
37
+in your terminal.
38 38
 
39 39
 ## Source
40 40
 
41 41
 J Dalbey's Programming Practice problems [http://users.csc.calpoly.edu/~jdalbey/103/Projects/ProgrammingPractice.html](http://users.csc.calpoly.edu/~jdalbey/103/Projects/ProgrammingPractice.html)
42 42
 
43 43
 ## Submitting Incomplete Solutions
44
+
44 45
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/raindrops/README.md Просмотреть файл

@@ -17,19 +17,20 @@ Convert a number to a string, the contents of which depend on the number's facto
17 17
 - 34 has four factors: 1, 2, 17, and 34.
18 18
   - In raindrop-speak, this would be "34".
19 19
 
20
+# Running the tests
20 21
 
21
-To run the tests:
22
+You can run all the tests for an exercise by entering
22 23
 
23 24
 ```sh
24 25
 $ gradle test
25 26
 ```
26 27
 
27
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
28
-
28
+in your terminal.
29 29
 
30 30
 ## Source
31 31
 
32 32
 A variation on a famous interview question intended to weed out potential candidates. [http://jumpstartlab.com](http://jumpstartlab.com)
33 33
 
34 34
 ## Submitting Incomplete Solutions
35
+
35 36
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/rectangles/README.md Просмотреть файл

@@ -63,16 +63,17 @@ The above diagram contains 6 rectangles:
63 63
 You may assume that the input is always a proper rectangle (i.e. the length of
64 64
 every line equals the length of the first line).
65 65
 
66
+# Running the tests
66 67
 
67
-To run the tests:
68
+You can run all the tests for an exercise by entering
68 69
 
69 70
 ```sh
70 71
 $ gradle test
71 72
 ```
72 73
 
73
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
74
-
74
+in your terminal.
75 75
 
76 76
 
77 77
 ## Submitting Incomplete Solutions
78
+
78 79
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/rna-transcription/README.md Просмотреть файл

@@ -18,19 +18,20 @@ each nucleotide with its complement:
18 18
 * `T` -> `A`
19 19
 * `A` -> `U`
20 20
 
21
+# Running the tests
21 22
 
22
-To run the tests:
23
+You can run all the tests for an exercise by entering
23 24
 
24 25
 ```sh
25 26
 $ gradle test
26 27
 ```
27 28
 
28
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
29
-
29
+in your terminal.
30 30
 
31 31
 ## Source
32 32
 
33 33
 Rosalind [http://rosalind.info/problems/rna](http://rosalind.info/problems/rna)
34 34
 
35 35
 ## Submitting Incomplete Solutions
36
+
36 37
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/robot-name/README.md Просмотреть файл

@@ -15,19 +15,20 @@ The names must be random: they should not follow a predictable sequence.
15 15
 Random names means a risk of collisions. Your solution must ensure that
16 16
 every existing robot has a unique name.
17 17
 
18
+# Running the tests
18 19
 
19
-To run the tests:
20
+You can run all the tests for an exercise by entering
20 21
 
21 22
 ```sh
22 23
 $ gradle test
23 24
 ```
24 25
 
25
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
26
-
26
+in your terminal.
27 27
 
28 28
 ## Source
29 29
 
30 30
 A debugging session with Paul Blackwell at gSchool. [http://gschool.it](http://gschool.it)
31 31
 
32 32
 ## Submitting Incomplete Solutions
33
+
33 34
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/robot-simulator/README.md Просмотреть файл

@@ -27,19 +27,20 @@ direction it is pointing.
27 27
 - Say a robot starts at {7, 3} facing north. Then running this stream
28 28
   of instructions should leave it at {9, 4} facing west.
29 29
 
30
+# Running the tests
30 31
 
31
-To run the tests:
32
+You can run all the tests for an exercise by entering
32 33
 
33 34
 ```sh
34 35
 $ gradle test
35 36
 ```
36 37
 
37
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
38
-
38
+in your terminal.
39 39
 
40 40
 ## Source
41 41
 
42 42
 Inspired by an interview question at a famous company.
43 43
 
44 44
 ## Submitting Incomplete Solutions
45
+
45 46
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/roman-numerals/README.md Просмотреть файл

@@ -42,19 +42,20 @@ In Roman numerals 1990 is MCMXC:
42 42
 
43 43
 See also: http://www.novaroma.org/via_romana/numbers.html
44 44
 
45
+# Running the tests
45 46
 
46
-To run the tests:
47
+You can run all the tests for an exercise by entering
47 48
 
48 49
 ```sh
49 50
 $ gradle test
50 51
 ```
51 52
 
52
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
53
-
53
+in your terminal.
54 54
 
55 55
 ## Source
56 56
 
57 57
 The Roman Numeral Kata [http://codingdojo.org/cgi-bin/index.pl?KataRomanNumerals](http://codingdojo.org/cgi-bin/index.pl?KataRomanNumerals)
58 58
 
59 59
 ## Submitting Incomplete Solutions
60
+
60 61
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/rotational-cipher/README.md Просмотреть файл

@@ -30,19 +30,20 @@ Ciphertext is written out in the same formatting as the input including spaces a
30 30
 - ROT13 `The quick brown fox jumps over the lazy dog.` gives `Gur dhvpx oebja sbk whzcf bire gur ynml qbt.`
31 31
 - ROT13 `Gur dhvpx oebja sbk whzcf bire gur ynml qbt.` gives `The quick brown fox jumps over the lazy dog.`
32 32
 
33
+# Running the tests
33 34
 
34
-To run the tests:
35
+You can run all the tests for an exercise by entering
35 36
 
36 37
 ```sh
37 38
 $ gradle test
38 39
 ```
39 40
 
40
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
41
-
41
+in your terminal.
42 42
 
43 43
 ## Source
44 44
 
45 45
 Wikipedia [https://en.wikipedia.org/wiki/Caesar_cipher](https://en.wikipedia.org/wiki/Caesar_cipher)
46 46
 
47 47
 ## Submitting Incomplete Solutions
48
+
48 49
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/run-length-encoding/README.md Просмотреть файл

@@ -23,19 +23,20 @@ the letters A through Z (either lower or upper case) and whitespace. This way
23 23
 data to be encoded will never contain any numbers and numbers inside data to
24 24
 be decoded always represent the count for the following character.
25 25
 
26
+# Running the tests
26 27
 
27
-To run the tests:
28
+You can run all the tests for an exercise by entering
28 29
 
29 30
 ```sh
30 31
 $ gradle test
31 32
 ```
32 33
 
33
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
34
-
34
+in your terminal.
35 35
 
36 36
 ## Source
37 37
 
38 38
 Wikipedia [https://en.wikipedia.org/wiki/Run-length_encoding](https://en.wikipedia.org/wiki/Run-length_encoding)
39 39
 
40 40
 ## Submitting Incomplete Solutions
41
+
41 42
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/saddle-points/README.md Просмотреть файл

@@ -26,19 +26,20 @@ saddle points for any given matrix.
26 26
 Note that you may find other definitions of matrix saddle points online,
27 27
 but the tests for this exercise follow the above unambiguous definition.
28 28
 
29
+# Running the tests
29 30
 
30
-To run the tests:
31
+You can run all the tests for an exercise by entering
31 32
 
32 33
 ```sh
33 34
 $ gradle test
34 35
 ```
35 36
 
36
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
37
-
37
+in your terminal.
38 38
 
39 39
 ## Source
40 40
 
41 41
 J Dalbey's Programming Practice problems [http://users.csc.calpoly.edu/~jdalbey/103/Projects/ProgrammingPractice.html](http://users.csc.calpoly.edu/~jdalbey/103/Projects/ProgrammingPractice.html)
42 42
 
43 43
 ## Submitting Incomplete Solutions
44
+
44 45
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/scrabble-score/README.md Просмотреть файл

@@ -39,19 +39,20 @@ And to total:
39 39
 - You can play a double or a triple letter.
40 40
 - You can play a double or a triple word.
41 41
 
42
+# Running the tests
42 43
 
43
-To run the tests:
44
+You can run all the tests for an exercise by entering
44 45
 
45 46
 ```sh
46 47
 $ gradle test
47 48
 ```
48 49
 
49
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
50
-
50
+in your terminal.
51 51
 
52 52
 ## Source
53 53
 
54 54
 Inspired by the Extreme Startup game [https://github.com/rchatley/extreme_startup](https://github.com/rchatley/extreme_startup)
55 55
 
56 56
 ## Submitting Incomplete Solutions
57
+
57 58
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/secret-handshake/README.md Просмотреть файл

@@ -28,19 +28,20 @@ Given the input 19, the function would return the array
28 28
 Notice that the addition of 16 (10000 in binary)
29 29
 has caused the array to be reversed.
30 30
 
31
+# Running the tests
31 32
 
32
-To run the tests:
33
+You can run all the tests for an exercise by entering
33 34
 
34 35
 ```sh
35 36
 $ gradle test
36 37
 ```
37 38
 
38
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
39
-
39
+in your terminal.
40 40
 
41 41
 ## Source
42 42
 
43 43
 Bert, in Mary Poppins [http://www.imdb.com/character/ch0011238/quotes](http://www.imdb.com/character/ch0011238/quotes)
44 44
 
45 45
 ## Submitting Incomplete Solutions
46
+
46 47
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/series/README.md Просмотреть файл

@@ -20,19 +20,20 @@ whatever you get.
20 20
 Note that these series are only required to occupy *adjacent positions*
21 21
 in the input; the digits need not be *numerically consecutive*.
22 22
 
23
+# Running the tests
23 24
 
24
-To run the tests:
25
+You can run all the tests for an exercise by entering
25 26
 
26 27
 ```sh
27 28
 $ gradle test
28 29
 ```
29 30
 
30
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
31
-
31
+in your terminal.
32 32
 
33 33
 ## Source
34 34
 
35 35
 A subset of the Problem 8 at Project Euler [http://projecteuler.net/problem=8](http://projecteuler.net/problem=8)
36 36
 
37 37
 ## Submitting Incomplete Solutions
38
+
38 39
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/sieve/README.md Просмотреть файл

@@ -27,19 +27,20 @@ Notice that this is a very specific algorithm, and the tests don't check
27 27
 that you've implemented the algorithm, only that you've come up with the
28 28
 correct list of primes.
29 29
 
30
+# Running the tests
30 31
 
31
-To run the tests:
32
+You can run all the tests for an exercise by entering
32 33
 
33 34
 ```sh
34 35
 $ gradle test
35 36
 ```
36 37
 
37
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
38
-
38
+in your terminal.
39 39
 
40 40
 ## Source
41 41
 
42 42
 Sieve of Eratosthenes at Wikipedia [http://en.wikipedia.org/wiki/Sieve_of_Eratosthenes](http://en.wikipedia.org/wiki/Sieve_of_Eratosthenes)
43 43
 
44 44
 ## Submitting Incomplete Solutions
45
+
45 46
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 6
- 3
exercises/simple-cipher/README.md Просмотреть файл

@@ -83,6 +83,8 @@ on Wikipedia][dh] for one of the first implementations of this scheme.
83 83
 [1]: https://upload.wikimedia.org/wikipedia/commons/thumb/4/4a/Caesar_cipher_left_shift_of_3.svg/320px-Caesar_cipher_left_shift_of_3.svg.png
84 84
 [dh]: http://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange
85 85
 
86
+# Java Tips
87
+
86 88
 This exercise has three test classes: SimpleCipherStepOneTest.java, SimpleCipherStepTwoTest.java and SimpleCipherStepThreeTest.java.
87 89
 
88 90
 To run only one test class (e.g. in this example SimpleCipherStepOneTest.java):
@@ -90,19 +92,20 @@ To run only one test class (e.g. in this example SimpleCipherStepOneTest.java):
90 92
 $ gradle test --tests *StepOne*
91 93
 ```
92 94
 
95
+# Running the tests
93 96
 
94
-To run the tests:
97
+You can run all the tests for an exercise by entering
95 98
 
96 99
 ```sh
97 100
 $ gradle test
98 101
 ```
99 102
 
100
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
101
-
103
+in your terminal.
102 104
 
103 105
 ## Source
104 106
 
105 107
 Substitution Cipher at Wikipedia [http://en.wikipedia.org/wiki/Substitution_cipher](http://en.wikipedia.org/wiki/Substitution_cipher)
106 108
 
107 109
 ## Submitting Incomplete Solutions
110
+
108 111
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/simple-linked-list/README.md Просмотреть файл

@@ -21,19 +21,20 @@ and provide functions to reverse a linked list and convert to and from arrays.
21 21
 When implementing this in a language with built-in linked lists,
22 22
 implement your own abstract data type.
23 23
 
24
+# Running the tests
24 25
 
25
-To run the tests:
26
+You can run all the tests for an exercise by entering
26 27
 
27 28
 ```sh
28 29
 $ gradle test
29 30
 ```
30 31
 
31
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
32
-
32
+in your terminal.
33 33
 
34 34
 ## Source
35 35
 
36 36
 Inspired by 'Data Structures and Algorithms with Object-Oriented Design Patterns in Ruby', singly linked-lists. [http://www.brpreiss.com/books/opus8/html/page96.html#SECTION004300000000000000000](http://www.brpreiss.com/books/opus8/html/page96.html#SECTION004300000000000000000)
37 37
 
38 38
 ## Submitting Incomplete Solutions
39
+
39 40
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/space-age/README.md Просмотреть файл

@@ -17,19 +17,20 @@ be able to say that they're 31.69 Earth-years old.
17 17
 If you're wondering why Pluto didn't make the cut, go watch [this
18 18
 youtube video](http://www.youtube.com/watch?v=Z_2gbGXzFbs).
19 19
 
20
+# Running the tests
20 21
 
21
-To run the tests:
22
+You can run all the tests for an exercise by entering
22 23
 
23 24
 ```sh
24 25
 $ gradle test
25 26
 ```
26 27
 
27
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
28
-
28
+in your terminal.
29 29
 
30 30
 ## Source
31 31
 
32 32
 Partially inspired by Chapter 1 in Chris Pine's online Learn to Program tutorial. [http://pine.fm/LearnToProgram/?Chapter=01](http://pine.fm/LearnToProgram/?Chapter=01)
33 33
 
34 34
 ## Submitting Incomplete Solutions
35
+
35 36
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/spiral-matrix/README.md Просмотреть файл

@@ -23,19 +23,20 @@ like these examples:
23 23
 10  9  8 7
24 24
 ```
25 25
 
26
+# Running the tests
26 27
 
27
-To run the tests:
28
+You can run all the tests for an exercise by entering
28 29
 
29 30
 ```sh
30 31
 $ gradle test
31 32
 ```
32 33
 
33
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
34
-
34
+in your terminal.
35 35
 
36 36
 ## Source
37 37
 
38 38
 Reddit r/dailyprogrammer challenge #320 [Easy] Spiral Ascension. [https://www.reddit.com/r/dailyprogrammer/comments/6i60lr/20170619_challenge_320_easy_spiral_ascension/](https://www.reddit.com/r/dailyprogrammer/comments/6i60lr/20170619_challenge_320_easy_spiral_ascension/)
39 39
 
40 40
 ## Submitting Incomplete Solutions
41
+
41 42
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/strain/README.md Просмотреть файл

@@ -33,19 +33,20 @@ Keep your hands off that filter/reject/whatchamacallit functionality
33 33
 provided by your standard library!  Solve this one yourself using other
34 34
 basic tools instead.
35 35
 
36
+# Running the tests
36 37
 
37
-To run the tests:
38
+You can run all the tests for an exercise by entering
38 39
 
39 40
 ```sh
40 41
 $ gradle test
41 42
 ```
42 43
 
43
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
44
-
44
+in your terminal.
45 45
 
46 46
 ## Source
47 47
 
48 48
 Conversation with James Edward Gray II [https://twitter.com/jeg2](https://twitter.com/jeg2)
49 49
 
50 50
 ## Submitting Incomplete Solutions
51
+
51 52
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/sublist/README.md Просмотреть файл

@@ -17,16 +17,17 @@ Examples:
17 17
  * A = [1, 2, 3, 4, 5], B = [2, 3, 4], A is a superlist of B
18 18
  * A = [1, 2, 4], B = [1, 2, 3, 4, 5], A is not a superlist of, sublist of or equal to B
19 19
 
20
+# Running the tests
20 21
 
21
-To run the tests:
22
+You can run all the tests for an exercise by entering
22 23
 
23 24
 ```sh
24 25
 $ gradle test
25 26
 ```
26 27
 
27
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
28
-
28
+in your terminal.
29 29
 
30 30
 
31 31
 ## Submitting Incomplete Solutions
32
+
32 33
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/sum-of-multiples/README.md Просмотреть файл

@@ -8,19 +8,20 @@ multiples of either 3 or 5, we get 3, 5, 6 and 9, 10, 12, 15, and 18.
8 8
 
9 9
 The sum of these multiples is 78.
10 10
 
11
+# Running the tests
11 12
 
12
-To run the tests:
13
+You can run all the tests for an exercise by entering
13 14
 
14 15
 ```sh
15 16
 $ gradle test
16 17
 ```
17 18
 
18
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
19
-
19
+in your terminal.
20 20
 
21 21
 ## Source
22 22
 
23 23
 A variation on Problem 1 at Project Euler [http://projecteuler.net/problem=1](http://projecteuler.net/problem=1)
24 24
 
25 25
 ## Submitting Incomplete Solutions
26
+
26 27
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/tournament/README.md Просмотреть файл

@@ -64,16 +64,17 @@ Devastating Donkeys;Courageous Californians;draw
64 64
 
65 65
 Means that the Devastating Donkeys and Courageous Californians tied.
66 66
 
67
+# Running the tests
67 68
 
68
-To run the tests:
69
+You can run all the tests for an exercise by entering
69 70
 
70 71
 ```sh
71 72
 $ gradle test
72 73
 ```
73 74
 
74
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
75
-
75
+in your terminal.
76 76
 
77 77
 
78 78
 ## Submitting Incomplete Solutions
79
+
79 80
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/transpose/README.md Просмотреть файл

@@ -58,19 +58,20 @@ In general, all characters from the input should also be present in the transpos
58 58
 That means that if a column in the input text contains only spaces on its bottom-most row(s),
59 59
 the corresponding output row should contain the spaces in its right-most column(s).
60 60
 
61
+# Running the tests
61 62
 
62
-To run the tests:
63
+You can run all the tests for an exercise by entering
63 64
 
64 65
 ```sh
65 66
 $ gradle test
66 67
 ```
67 68
 
68
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
69
-
69
+in your terminal.
70 70
 
71 71
 ## Source
72 72
 
73 73
 Reddit r/dailyprogrammer challenge #270 [Easy]. [https://www.reddit.com/r/dailyprogrammer/comments/4msu2x/challenge_270_easy_transpose_the_input_text](https://www.reddit.com/r/dailyprogrammer/comments/4msu2x/challenge_270_easy_transpose_the_input_text)
74 74
 
75 75
 ## Submitting Incomplete Solutions
76
+
76 77
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/triangle/README.md Просмотреть файл

@@ -22,19 +22,20 @@ The case where the sum of the lengths of two sides _equals_ that of the
22 22
 third is known as a _degenerate_ triangle - it has zero area and looks like
23 23
 a single line. Feel free to add your own code/tests to check for degenerate triangles.
24 24
 
25
+# Running the tests
25 26
 
26
-To run the tests:
27
+You can run all the tests for an exercise by entering
27 28
 
28 29
 ```sh
29 30
 $ gradle test
30 31
 ```
31 32
 
32
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
33
-
33
+in your terminal.
34 34
 
35 35
 ## Source
36 36
 
37 37
 The Ruby Koans triangle project, parts 1 & 2 [http://rubykoans.com](http://rubykoans.com)
38 38
 
39 39
 ## Submitting Incomplete Solutions
40
+
40 41
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/trinary/README.md Просмотреть файл

@@ -21,19 +21,20 @@ is the 3's place, the third to last is the 9's place, etc.
21 21
 If your language provides a method in the standard library to perform the
22 22
 conversion, pretend it doesn't exist and implement it yourself.
23 23
 
24
+# Running the tests
24 25
 
25
-To run the tests:
26
+You can run all the tests for an exercise by entering
26 27
 
27 28
 ```sh
28 29
 $ gradle test
29 30
 ```
30 31
 
31
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
32
-
32
+in your terminal.
33 33
 
34 34
 ## Source
35 35
 
36 36
 All of Computer Science [http://www.wolframalpha.com/input/?i=binary&a=*C.binary-_*MathWorld-](http://www.wolframalpha.com/input/?i=binary&a=*C.binary-_*MathWorld-)
37 37
 
38 38
 ## Submitting Incomplete Solutions
39
+
39 40
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/twelve-days/README.md Просмотреть файл

@@ -28,19 +28,20 @@ On the eleventh day of Christmas my true love gave to me, eleven Pipers Piping,
28 28
 On the twelfth day of Christmas my true love gave to me, twelve Drummers Drumming, eleven Pipers Piping, ten Lords-a-Leaping, nine Ladies Dancing, eight Maids-a-Milking, seven Swans-a-Swimming, six Geese-a-Laying, five Gold Rings, four Calling Birds, three French Hens, two Turtle Doves, and a Partridge in a Pear Tree.
29 29
 ```
30 30
 
31
+# Running the tests
31 32
 
32
-To run the tests:
33
+You can run all the tests for an exercise by entering
33 34
 
34 35
 ```sh
35 36
 $ gradle test
36 37
 ```
37 38
 
38
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
39
-
39
+in your terminal.
40 40
 
41 41
 ## Source
42 42
 
43 43
 Wikipedia [http://en.wikipedia.org/wiki/The_Twelve_Days_of_Christmas_(song)](http://en.wikipedia.org/wiki/The_Twelve_Days_of_Christmas_(song))
44 44
 
45 45
 ## Submitting Incomplete Solutions
46
+
46 47
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 6
- 3
exercises/two-fer/README.md Просмотреть файл

@@ -40,6 +40,8 @@ also important not to over-engineer a solution.
40 40
 It's important to remember that the goal is to make code as expressive and
41 41
 readable as we can.
42 42
 
43
+# Java Tips
44
+
43 45
 Most Java exercises include multiple test cases. These cases are structured to
44 46
 support a useful process known as
45 47
 [test-driven development (TDD)](https://en.wikipedia.org/wiki/Test-driven_development).
@@ -80,19 +82,20 @@ steps:
80 82
 5. Return to step 1 until no tests are skipped and all tests pass!
81 83
 
82 84
 
85
+# Running the tests
83 86
 
84
-To run the tests:
87
+You can run all the tests for an exercise by entering
85 88
 
86 89
 ```sh
87 90
 $ gradle test
88 91
 ```
89 92
 
90
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
91
-
93
+in your terminal.
92 94
 
93 95
 ## Source
94 96
 
95 97
 This is an exercise to introduce users to basic programming constructs, just after hello World. [https://en.wikipedia.org/wiki/Two-fer](https://en.wikipedia.org/wiki/Two-fer)
96 98
 
97 99
 ## Submitting Incomplete Solutions
100
+
98 101
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/word-count/README.md Просмотреть файл

@@ -11,19 +11,20 @@ come: 1
11 11
 free: 1
12 12
 ```
13 13
 
14
+# Running the tests
14 15
 
15
-To run the tests:
16
+You can run all the tests for an exercise by entering
16 17
 
17 18
 ```sh
18 19
 $ gradle test
19 20
 ```
20 21
 
21
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
22
-
22
+in your terminal.
23 23
 
24 24
 ## Source
25 25
 
26 26
 This is a classic toy problem, but we were reminded of it by seeing it in the Go Tour.
27 27
 
28 28
 ## Submitting Incomplete Solutions
29
+
29 30
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/word-search/README.md Просмотреть файл

@@ -26,16 +26,17 @@ vertical and diagonal.
26 26
 Given a puzzle and a list of words return the location of the first and last
27 27
 letter of each word.
28 28
 
29
+# Running the tests
29 30
 
30
-To run the tests:
31
+You can run all the tests for an exercise by entering
31 32
 
32 33
 ```sh
33 34
 $ gradle test
34 35
 ```
35 36
 
36
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
37
-
37
+in your terminal.
38 38
 
39 39
 
40 40
 ## Submitting Incomplete Solutions
41
+
41 42
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 4
- 3
exercises/wordy/README.md Просмотреть файл

@@ -51,19 +51,20 @@ If you'd like, handle exponentials.
51 51
 
52 52
 32
53 53
 
54
+# Running the tests
54 55
 
55
-To run the tests:
56
+You can run all the tests for an exercise by entering
56 57
 
57 58
 ```sh
58 59
 $ gradle test
59 60
 ```
60 61
 
61
-For more detailed info about the Java track see the [help page](http://exercism.io/languages/java).
62
-
62
+in your terminal.
63 63
 
64 64
 ## Source
65 65
 
66 66
 Inspired by one of the generated questions in the Extreme Startup game. [https://github.com/rchatley/extreme_startup](https://github.com/rchatley/extreme_startup)
67 67
 
68 68
 ## Submitting Incomplete Solutions
69
+
69 70
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.