Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions exercises/practice/accumulate/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@
"blurb": "Implement the `accumulate` operation, which, given a collection and an operation to perform on each element of the collection, returns a new collection containing the result of applying that operation to each element of the input collection.",
"authors": [],
"files": {
"solution": [],
"test": [],
"example": []
"solution": [
"src/main/groovy/Accumulate.groovy"
],
"test": [
"src/test/groovy/AccumulateSpec.groovy"
],
"example": [
".meta/src/reference/groovy/Accumulate.groovy"
]
},
"source": "Conversation with James Edward Gray II",
"source_url": "https://twitter.com/jeg2"
Expand Down
12 changes: 9 additions & 3 deletions exercises/practice/acronym/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@
"blurb": "Convert a long phrase to its acronym",
"authors": [],
"files": {
"solution": [],
"test": [],
"example": []
"solution": [
"src/main/groovy/Acronym.groovy"
],
"test": [
"src/test/groovy/AcronymSpec.groovy"
],
"example": [
".meta/src/reference/groovy/Acronym.groovy"
]
},
"source": "Julien Vanier",
"source_url": "https://github.com/monkbroc"
Expand Down
12 changes: 9 additions & 3 deletions exercises/practice/all-your-base/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,14 @@
"blurb": "Convert a number, represented as a sequence of digits in one base, to any other base.",
"authors": [],
"files": {
"solution": [],
"test": [],
"example": []
"solution": [
"src/main/groovy/AllYourBase.groovy"
],
"test": [
"src/test/groovy/AllYourBaseSpec.groovy"
],
"example": [
".meta/src/reference/groovy/AllYourBase.groovy"
]
}
}
12 changes: 9 additions & 3 deletions exercises/practice/allergies/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@
"blurb": "Given a person's allergy score, determine whether or not they're allergic to a given item, and their full list of allergies.",
"authors": [],
"files": {
"solution": [],
"test": [],
"example": []
"solution": [
"src/main/groovy/Allergies.groovy"
],
"test": [
"src/test/groovy/AllergiesSpec.groovy"
],
"example": [
".meta/src/reference/groovy/Allergies.groovy"
]
},
"source": "Jumpstart Lab Warm-up",
"source_url": "http://jumpstartlab.com"
Expand Down
12 changes: 9 additions & 3 deletions exercises/practice/anagram/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@
"blurb": "Given a word and a list of possible anagrams, select the correct sublist.",
"authors": [],
"files": {
"solution": [],
"test": [],
"example": []
"solution": [
"src/main/groovy/Anagram.groovy"
],
"test": [
"src/test/groovy/AnagramSpec.groovy"
],
"example": [
".meta/src/reference/groovy/Anagram.groovy"
]
},
"source": "Inspired by the Extreme Startup game",
"source_url": "https://github.com/rchatley/extreme_startup"
Expand Down
12 changes: 9 additions & 3 deletions exercises/practice/armstrong-numbers/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@
"blurb": "Determine if a number is an Armstrong number",
"authors": [],
"files": {
"solution": [],
"test": [],
"example": []
"solution": [
"src/main/groovy/ArmstrongNumbers.groovy"
],
"test": [
"src/test/groovy/ArmstrongNumbersSpec.groovy"
],
"example": [
".meta/src/reference/groovy/ArmstrongNumbers.groovy"
]
},
"source": "Wikipedia",
"source_url": "https://en.wikipedia.org/wiki/Narcissistic_number"
Expand Down
12 changes: 9 additions & 3 deletions exercises/practice/atbash-cipher/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@
"blurb": "Create an implementation of the atbash cipher, an ancient encryption system created in the Middle East.",
"authors": [],
"files": {
"solution": [],
"test": [],
"example": []
"solution": [
"src/main/groovy/AtbashCipher.groovy"
],
"test": [
"src/test/groovy/AtbashCipherSpec.groovy"
],
"example": [
".meta/src/reference/groovy/AtbashCipher.groovy"
]
},
"source": "Wikipedia",
"source_url": "http://en.wikipedia.org/wiki/Atbash"
Expand Down
12 changes: 9 additions & 3 deletions exercises/practice/bank-account/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,14 @@
"blurb": "Simulate a bank account supporting opening/closing, withdraws, and deposits of money. Watch out for concurrent transactions!",
"authors": [],
"files": {
"solution": [],
"test": [],
"example": []
"solution": [
"src/main/groovy/BankAccount.groovy"
],
"test": [
"src/test/groovy/BankAccountSpec.groovy"
],
"example": [
".meta/src/reference/groovy/BankAccount.groovy"
]
}
}
12 changes: 9 additions & 3 deletions exercises/practice/binary-search/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@
"blurb": "Implement a binary search algorithm.",
"authors": [],
"files": {
"solution": [],
"test": [],
"example": []
"solution": [
"src/main/groovy/BinarySearch.groovy"
],
"test": [
"src/test/groovy/BinarySearchSpec.groovy"
],
"example": [
".meta/src/reference/groovy/BinarySearch.groovy"
]
},
"source": "Wikipedia",
"source_url": "http://en.wikipedia.org/wiki/Binary_search_algorithm"
Expand Down
12 changes: 9 additions & 3 deletions exercises/practice/bob/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@
"blurb": "Bob is a lackadaisical teenager. In conversation, his responses are very limited.",
"authors": [],
"files": {
"solution": [],
"test": [],
"example": []
"solution": [
"src/main/groovy/Bob.groovy"
],
"test": [
"src/test/groovy/BobSpec.groovy"
],
"example": [
".meta/src/reference/groovy/Bob.groovy"
]
},
"source": "Inspired by the 'Deaf Grandma' exercise in Chris Pine's Learn to Program tutorial.",
"source_url": "http://pine.fm/LearnToProgram/?Chapter=06"
Expand Down
12 changes: 9 additions & 3 deletions exercises/practice/collatz-conjecture/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@
"blurb": "Calculate the number of steps to reach 1 using the Collatz conjecture",
"authors": [],
"files": {
"solution": [],
"test": [],
"example": []
"solution": [
"src/main/groovy/CollatzConjecture.groovy"
],
"test": [
"src/test/groovy/CollatzConjectureSpec.groovy"
],
"example": [
".meta/src/reference/groovy/CollatzConjecture.groovy"
]
},
"source": "An unsolved problem in mathematics named after mathematician Lothar Collatz",
"source_url": "https://en.wikipedia.org/wiki/3x_%2B_1_problem"
Expand Down
12 changes: 9 additions & 3 deletions exercises/practice/darts/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@
"blurb": "Write a function that returns the earned points in a single toss of a Darts game",
"authors": [],
"files": {
"solution": [],
"test": [],
"example": []
"solution": [
"src/main/groovy/Darts.groovy"
],
"test": [
"src/test/groovy/DartsSpec.groovy"
],
"example": [
".meta/src/reference/groovy/Darts.groovy"
]
},
"source": "Inspired by an exercise created by a professor Della Paolera in Argentina"
}
12 changes: 9 additions & 3 deletions exercises/practice/difference-of-squares/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@
"blurb": "Find the difference between the square of the sum and the sum of the squares of the first N natural numbers.",
"authors": [],
"files": {
"solution": [],
"test": [],
"example": []
"solution": [
"src/main/groovy/DifferenceOfSquares.groovy"
],
"test": [
"src/test/groovy/DifferenceOfSquaresSpec.groovy"
],
"example": [
".meta/src/reference/groovy/DifferenceOfSquares.groovy"
]
},
"source": "Problem 6 at Project Euler",
"source_url": "http://projecteuler.net/problem=6"
Expand Down
12 changes: 9 additions & 3 deletions exercises/practice/etl/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@
"blurb": "We are going to do the `Transform` step of an Extract-Transform-Load.",
"authors": [],
"files": {
"solution": [],
"test": [],
"example": []
"solution": [
"src/main/groovy/Etl.groovy"
],
"test": [
"src/test/groovy/EtlSpec.groovy"
],
"example": [
".meta/src/reference/groovy/Etl.groovy"
]
},
"source": "The Jumpstart Lab team",
"source_url": "http://jumpstartlab.com"
Expand Down
12 changes: 9 additions & 3 deletions exercises/practice/flatten-array/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@
"blurb": "Take a nested list and return a single list with all values except nil/null",
"authors": [],
"files": {
"solution": [],
"test": [],
"example": []
"solution": [
"src/main/groovy/FlattenArray.groovy"
],
"test": [
"src/test/groovy/FlattenArraySpec.groovy"
],
"example": [
".meta/src/reference/groovy/FlattenArray.groovy"
]
},
"source": "Interview Question",
"source_url": "https://reference.wolfram.com/language/ref/Flatten.html"
Expand Down
12 changes: 9 additions & 3 deletions exercises/practice/gigasecond/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@
"blurb": "Given a moment, determine the moment that would be after a gigasecond has passed.",
"authors": [],
"files": {
"solution": [],
"test": [],
"example": []
"solution": [
"src/main/groovy/Gigasecond.groovy"
],
"test": [
"src/test/groovy/GigasecondSpec.groovy"
],
"example": [
".meta/src/reference/groovy/Gigasecond.groovy"
]
},
"source": "Chapter 9 in Chris Pine's online Learn to Program tutorial.",
"source_url": "http://pine.fm/LearnToProgram/?Chapter=09"
Expand Down
12 changes: 9 additions & 3 deletions exercises/practice/grains/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@
"blurb": "Calculate the number of grains of wheat on a chessboard given that the number on each square doubles.",
"authors": [],
"files": {
"solution": [],
"test": [],
"example": []
"solution": [
"src/main/groovy/Grains.groovy"
],
"test": [
"src/test/groovy/GrainsSpec.groovy"
],
"example": [
".meta/src/reference/groovy/Grains.groovy"
]
},
"source": "JavaRanch Cattle Drive, exercise 6",
"source_url": "http://www.javaranch.com/grains.jsp"
Expand Down
12 changes: 9 additions & 3 deletions exercises/practice/hamming/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@
"blurb": "Calculate the Hamming difference between two DNA strands.",
"authors": [],
"files": {
"solution": [],
"test": [],
"example": []
"solution": [
"src/main/groovy/Hamming.groovy"
],
"test": [
"src/test/groovy/HammingSpec.groovy"
],
"example": [
".meta/src/reference/groovy/Hamming.groovy"
]
},
"source": "The Calculating Point Mutations problem at Rosalind",
"source_url": "http://rosalind.info/problems/hamm/"
Expand Down
12 changes: 9 additions & 3 deletions exercises/practice/hello-world/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@
"blurb": "The classical introductory exercise. Just say \"Hello, World!\"",
"authors": [],
"files": {
"solution": [],
"test": [],
"example": []
"solution": [
"src/main/groovy/HelloWorld.groovy"
],
"test": [
"src/test/groovy/HelloWorldSpec.groovy"
],
"example": [
".meta/src/reference/groovy/HelloWorld.groovy"
]
},
"source": "This is an exercise to introduce users to using Exercism",
"source_url": "http://en.wikipedia.org/wiki/%22Hello,_world!%22_program"
Expand Down
12 changes: 9 additions & 3 deletions exercises/practice/high-scores/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@
"blurb": "Manage a player's High Score list",
"authors": [],
"files": {
"solution": [],
"test": [],
"example": []
"solution": [
"src/main/groovy/HighScores.groovy"
],
"test": [
"src/test/groovy/HighScoresSpec.groovy"
],
"example": [
".meta/src/reference/groovy/HighScores.groovy"
]
},
"source": "Tribute to the eighties' arcade game Frogger"
}
12 changes: 9 additions & 3 deletions exercises/practice/isbn-verifier/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@
"blurb": "Check if a given string is a valid ISBN-10 number.",
"authors": [],
"files": {
"solution": [],
"test": [],
"example": []
"solution": [
"src/main/groovy/IsbnVerifier.groovy"
],
"test": [
"src/test/groovy/IsbnVerifierSpec.groovy"
],
"example": [
".meta/src/reference/groovy/IsbnVerifier.groovy"
]
},
"source": "Converting a string into a number and some basic processing utilizing a relatable real world example.",
"source_url": "https://en.wikipedia.org/wiki/International_Standard_Book_Number#ISBN-10_check_digit_calculation"
Expand Down
Loading