Skip to content

Commit a6b7fe2

Browse files
committed
Merge branch 'master' into list-ops
2 parents 5a95ad7 + 13b0e59 commit a6b7fe2

53 files changed

Lines changed: 1610 additions & 528 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎config.json‎

Lines changed: 23 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,16 @@
2222
"acronym",
2323
"scrabble-score",
2424
"roman-numerals",
25-
"binary",
2625
"prime-factors",
2726
"raindrops",
2827
"allergies",
2928
"strain",
3029
"atbash-cipher",
3130
"accumulate",
3231
"crypto-square",
33-
"trinary",
3432
"rna-transcription",
35-
"hexadecimal",
3633
"sieve",
3734
"simple-cipher",
38-
"octal",
3935
"luhn",
4036
"pig-latin",
4137
"simple-linked-list",
@@ -54,7 +50,10 @@
5450
"pythagorean-triplet",
5551
"binary-search-tree",
5652
"binary-search",
57-
"all-your-base"
53+
"all-your-base",
54+
"custom-set",
55+
"wordy",
56+
"palindrome-products"
5857
],
5958
"exercises": [
6059
{
@@ -147,11 +146,6 @@
147146
"difficulty": 1,
148147
"topics": []
149148
},
150-
{
151-
"slug": "binary",
152-
"difficulty": 1,
153-
"topics": []
154-
},
155149
{
156150
"slug": "prime-factors",
157151
"difficulty": 1,
@@ -187,21 +181,11 @@
187181
"difficulty": 1,
188182
"topics": []
189183
},
190-
{
191-
"slug": "trinary",
192-
"difficulty": 1,
193-
"topics": []
194-
},
195184
{
196185
"slug": "rna-transcription",
197186
"difficulty": 1,
198187
"topics": []
199188
},
200-
{
201-
"slug": "hexadecimal",
202-
"difficulty": 1,
203-
"topics": []
204-
},
205189
{
206190
"slug": "sieve",
207191
"difficulty": 1,
@@ -212,11 +196,6 @@
212196
"difficulty": 1,
213197
"topics": []
214198
},
215-
{
216-
"slug": "octal",
217-
"difficulty": 1,
218-
"topics": []
219-
},
220199
{
221200
"slug": "luhn",
222201
"difficulty": 1,
@@ -311,9 +290,28 @@
311290
"slug": "all-your-base",
312291
"difficulty": 1,
313292
"topics": []
293+
},
294+
{
295+
"slug": "custom-set",
296+
"difficulty": 1,
297+
"topics": []
298+
},
299+
{
300+
"slug": "wordy",
301+
"difficulty": 1,
302+
"topics": []
303+
},
304+
{
305+
"slug": "palindrome-products",
306+
"difficulty": 1,
307+
"topics": []
314308
}
315309
],
316310
"deprecated": [
311+
"binary",
312+
"hexadecimal",
313+
"octal",
314+
"trinary"
317315
],
318316
"ignored": [
319317
"_template",

‎docs/INSTALLATION.md‎

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ Open an administrative command prompt. (If you need assistance opening an admin
2727
```batchfile
2828
C:\Windows\system32> @powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
2929
```
30-
- Install the JDK:
30+
2. Install the JDK:
3131

3232
```batchfile
3333
C:\Windows\system32> choco install jdk8
3434
...
3535
C:\Windows\system32> refreshenv
3636
...
3737
```
38-
- Install Gradle:
38+
3. Install Gradle:
3939

4040
```batchfile
4141
C:\Windows\system32>choco install gradle
@@ -61,17 +61,17 @@ Below are instructions for install using the most common method - using Homebrew
6161
```sh
6262
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
6363
```
64-
- Tap the [Homebrew Cask](https://caskroom.github.io/) — this allows us to install pre-built binaries like the JDK.
64+
2. Tap the [Homebrew Cask](https://caskroom.github.io/) — this allows us to install pre-built binaries like the JDK.
6565

6666
```
6767
$ brew tap caskroom/cask
6868
```
69-
- Install the JDK:
69+
3. Install the JDK:
7070

7171
```
7272
$ brew cask install java
7373
```
74-
- Install Gradle:
74+
4. Install Gradle:
7575

7676
```
7777
$ brew install gradle
@@ -104,8 +104,9 @@ If you are using Debian or its derivatives (like Ubuntu or Linux Mint), use APT:
104104
$ sudo add-apt-repository ppa:webupd8team/java
105105
$ sudo apt-get update
106106
$ sudo apt-get install oracle-java8-installer
107+
$ sudo apt install oracle-java8-set-default
107108
```
108-
- Install Gradle:
109+
2. Install Gradle:
109110

110111
```sh
111112
$ sudo add-apt-repository ppa:cwchien/gradle
@@ -130,7 +131,7 @@ If you are using Fedora or its derivatives, use DNF:
130131
```sh
131132
$ sudo dnf install java-1.8.0-openjdk-devel
132133
```
133-
- Install Gradle:
134+
2. Install Gradle:
134135

135136
```sh
136137
$ sudo dnf install gradle
@@ -158,7 +159,7 @@ To get started, see "[Running the Tests](http://exercism.io/languages/java/tests
158159
1. Install the JDK:
159160
1. Download "**Java Platform (JDK)**" from [Oracle OTN](http://www.oracle.com/technetwork/java/javase/downloads/index.html).
160161
- Run the installer, using all the defaults.
161-
- Install Gradle:
162+
2. Install Gradle:
162163
- Download "**Binary only distribution**" from the [Gradle download page](https://gradle.org/gradle-download/).
163164
- Unzip the archive. We recommend a place like `C:\Users\JohnDoe\Tools`.
164165
- Add a new system environment variable named `GRADLE_HOME` and set it to the path you just created (e.g. `C:\Users\JohnDoe\Tools\gradle-x.y`).
@@ -177,18 +178,18 @@ To get started, see "[Running the Tests](http://exercism.io/languages/java/tests
177178

178179
1. Install the JDK:
179180
1. Download "**Java Platform (JDK)**" from [Oracle OTN](http://www.oracle.com/technetwork/java/javase/downloads/index.html).
180-
- Run the installer, using all the defaults.
181-
- Install Gradle:
182-
- Download "**Binary only distribution**" from the [Gradle download page](https://gradle.org/gradle-download/).
183-
- Unpack Gradle:
181+
2. Run the installer, using all the defaults.
182+
2. Install Gradle:
183+
1. Download "**Binary only distribution**" from the [Gradle download page](https://gradle.org/gradle-download/).
184+
2. Unpack Gradle:
184185

185186
```sh
186187
$ mkdir ~/tools
187188
$ cd ~/tools
188189
$ unzip ~/Downloads/gradle-*-bin.zip
189190
$ cd gradle*
190191
```
191-
- Configure Gradle and add it to the path:
192+
3. Configure Gradle and add it to the path:
192193

193194
```sh
194195
$ cat << DONE >> ~/.bashrc
@@ -210,18 +211,18 @@ To get started, see "[Running the Tests](http://exercism.io/languages/java/tests
210211

211212
1. Install the JDK:
212213
1. Download "**Java Platform (JDK)**" from [Oracle OTN](http://www.oracle.com/technetwork/java/javase/downloads/index.html).
213-
- Run the installer, using all the defaults.
214-
- Install Gradle:
215-
- Download "**Binary only distribution**" from the [Gradle download page](https://gradle.org/gradle-download/).
216-
- Unpack Gradle:
214+
2. Run the installer, using all the defaults.
215+
2. Install Gradle:
216+
1. Download "**Binary only distribution**" from the [Gradle download page](https://gradle.org/gradle-download/).
217+
2. Unpack Gradle:
217218

218219
```sh
219220
$ mkdir ~/tools
220221
$ cd ~/tools
221222
$ unzip ~/Downloads/gradle-*-bin.zip
222223
$ cd gradle*
223224
```
224-
- Configure Gradle and add it to the path:
225+
3. Configure Gradle and add it to the path:
225226

226227
```sh
227228
$ cat << DONE >> ~/.bashrc

‎docs/TESTS.md‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Choose your operating system:
1111
# Windows
1212

1313
1. Open a Command Prompt.
14-
- Get the first exercise:
14+
2. Get the first exercise:
1515

1616
```batchfile
1717
C:\Users\JohnDoe>exercism fetch java
@@ -25,19 +25,19 @@ Choose your operating system:
2525
unchanged: 0, updated: 0, new: 1
2626

2727
```
28-
- Change directory into the exercism:
28+
3. Change directory into the exercism:
2929

3030
```batchfile
3131
C:\Users\JohnDoe>cd C:\Users\JohnDoe\exercism\java\hello-world
3232
```
3333

34-
- Run the tests:
34+
4. Run the tests:
3535

3636
```batchfile
3737
C:\Users\JohnDoe>gradle test
3838
```
3939
*(Don't worry about the tests failing, at first, this is how you begin each exercise.)*
40-
- Solve the exercise. Find and work through the `GETTING_STARTED.md` guide ([view on GitHub](https://github.com/exercism/xjava/blob/master/exercises/hello-world/GETTING_STARTED.md)).
40+
5. Solve the exercise. Find and work through the `GETTING_STARTED.md` guide ([view on GitHub](https://github.com/exercism/xjava/blob/master/exercises/hello-world/GETTING_STARTED.md)).
4141

4242

4343
Good luck! Have fun!
@@ -59,18 +59,18 @@ If you get stuck, at any point, don't forget to reach out for [help](http://exer
5959
unchanged: 0, updated: 0, new: 1
6060

6161
```
62-
- Change directory into the exercise:
62+
2. Change directory into the exercise:
6363

6464
```
6565
$ cd /Users/johndoe/exercism/java/hello-world
6666
```
67-
- Run the tests:
67+
3. Run the tests:
6868

6969
```
7070
$ gradle test
7171
```
7272
*(Don't worry about the tests failing, at first, this is how you begin each exercise.)*
73-
- Solve the exercise. Find and work through the `GETTING_STARTED.md` guide ([view on GitHub](https://github.com/exercism/xjava/blob/master/exercises/hello-world/GETTING_STARTED.md)).
73+
4. Solve the exercise. Find and work through the `GETTING_STARTED.md` guide ([view on GitHub](https://github.com/exercism/xjava/blob/master/exercises/hello-world/GETTING_STARTED.md)).
7474

7575
Good luck! Have fun!
7676

@@ -91,18 +91,18 @@ If you get stuck, at any point, don't forget to reach out for [help](http://exer
9191
unchanged: 0, updated: 0, new: 1
9292

9393
```
94-
- Change directory into the exercise:
94+
2. Change directory into the exercise:
9595

9696
```
9797
$ cd /home/johndoe/exercism/java/hello-world
9898
```
99-
- Run the tests:
99+
3. Run the tests:
100100

101101
```
102102
$ gradle test
103103
```
104104
*(Don't worry about the tests failing, at first, this is how you begin each exercise.)*
105-
- Solve the exercise. Find and work through the `GETTING_STARTED.md` guide ([view on GitHub](https://github.com/exercism/xjava/blob/master/exercises/hello-world/GETTING_STARTED.md)).
105+
4. Solve the exercise. Find and work through the `GETTING_STARTED.md` guide ([view on GitHub](https://github.com/exercism/xjava/blob/master/exercises/hello-world/GETTING_STARTED.md)).
106106

107107
Good luck! Have fun!
108108

0 commit comments

Comments
 (0)