trackler 2.2.1.4 → 2.2.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/trackler/version.rb +1 -1
- data/tracks/bash/config.json +10 -0
- data/tracks/bash/exercises/error-handling/error_handling_test.sh +31 -0
- data/tracks/bash/exercises/error-handling/example.sh +9 -0
- data/tracks/ceylon/config/maintainers.json +25 -0
- data/tracks/chapel/README.md +1 -1
- data/tracks/chapel/config/exercise_readme.go.tmpl +16 -0
- data/tracks/chapel/config/maintainers.json +5 -0
- data/tracks/chapel/config.json +0 -5
- data/tracks/coffeescript/config/exercise_readme.go.tmpl +16 -0
- data/tracks/coffeescript/config.json +84 -26
- data/tracks/coffeescript/exercises/accumulate/README.md +43 -0
- data/tracks/coffeescript/exercises/anagram/README.md +21 -0
- data/tracks/coffeescript/exercises/atbash-cipher/README.md +42 -0
- data/tracks/coffeescript/exercises/beer-song/README.md +335 -0
- data/tracks/coffeescript/exercises/binary/README.md +43 -0
- data/tracks/coffeescript/exercises/binary-search-tree/README.md +68 -0
- data/tracks/coffeescript/exercises/bob/README.md +26 -0
- data/tracks/coffeescript/exercises/clock/README.md +21 -0
- data/tracks/coffeescript/exercises/hello-world/README.md +29 -0
- data/tracks/coffeescript/exercises/hexadecimal/README.md +22 -0
- data/tracks/coffeescript/exercises/linked-list/README.md +42 -0
- data/tracks/coffeescript/exercises/luhn/README.md +79 -0
- data/tracks/coffeescript/exercises/nth-prime/README.md +23 -0
- data/tracks/coffeescript/exercises/nucleotide-count/README.md +41 -0
- data/tracks/coffeescript/exercises/palindrome-products/README.md +48 -0
- data/tracks/coffeescript/exercises/pascals-triangle/README.md +29 -0
- data/tracks/coffeescript/exercises/queen-attack/README.md +41 -0
- data/tracks/coffeescript/exercises/triangle/README.md +34 -0
- data/tracks/coffeescript/exercises/trinary/README.md +36 -0
- data/tracks/coffeescript/exercises/word-count/README.md +27 -0
- data/tracks/coffeescript/exercises/wordy/README.md +71 -0
- data/tracks/coldfusion/config/exercise_readme.go.tmpl +16 -0
- data/tracks/coldfusion/config.json +4 -6
- data/tracks/coldfusion/exercises/leap/README.md +33 -0
- data/tracks/coq/README.md +19 -32
- data/tracks/coq/config/exercise_readme.go.tmpl +16 -0
- data/tracks/coq/config.json +9 -5
- data/tracks/coq/exercises/hello-world/README.md +45 -0
- data/tracks/coq/exercises/rna-transcription/README.md +49 -0
- data/tracks/coq/exercises/tautology/README.md +33 -0
- data/tracks/cpp/config/exercise_readme.go.tmpl +16 -0
- data/tracks/cpp/config.json +144 -41
- data/tracks/cpp/exercises/allergies/README.md +69 -0
- data/tracks/cpp/exercises/anagram/README.md +45 -0
- data/tracks/cpp/exercises/atbash-cipher/README.md +66 -0
- data/tracks/cpp/exercises/beer-song/README.md +359 -0
- data/tracks/cpp/exercises/binary/README.md +67 -0
- data/tracks/cpp/exercises/bob/README.md +50 -0
- data/tracks/cpp/exercises/clock/README.md +45 -0
- data/tracks/cpp/exercises/crypto-square/README.md +106 -0
- data/tracks/cpp/exercises/difference-of-squares/README.md +51 -0
- data/tracks/cpp/exercises/etl/README.md +83 -0
- data/tracks/cpp/exercises/food-chain/README.md +102 -0
- data/tracks/cpp/exercises/gigasecond/README.md +43 -0
- data/tracks/cpp/exercises/grade-school/README.md +74 -0
- data/tracks/cpp/exercises/grains/README.md +66 -0
- data/tracks/cpp/exercises/hamming/README.md +74 -0
- data/tracks/cpp/exercises/hello-world/README.md +53 -0
- data/tracks/cpp/exercises/hexadecimal/README.md +46 -0
- data/tracks/cpp/exercises/leap/README.md +65 -0
- data/tracks/cpp/exercises/meetup/README.md +62 -0
- data/tracks/cpp/exercises/nth-prime/README.md +47 -0
- data/tracks/cpp/exercises/nucleotide-count/README.md +65 -0
- data/tracks/cpp/exercises/phone-number/README.md +66 -0
- data/tracks/cpp/exercises/prime-factors/README.md +68 -0
- data/tracks/cpp/exercises/queen-attack/README.md +65 -0
- data/tracks/cpp/exercises/raindrops/README.md +56 -0
- data/tracks/cpp/exercises/rna-transcription/README.md +57 -0
- data/tracks/cpp/exercises/robot-name/README.md +54 -0
- data/tracks/cpp/exercises/roman-numerals/README.md +81 -0
- data/tracks/cpp/exercises/say/README.md +101 -0
- data/tracks/cpp/exercises/scrabble-score/README.md +76 -0
- data/tracks/cpp/exercises/series/README.md +59 -0
- data/tracks/cpp/exercises/sieve/README.md +66 -0
- data/tracks/cpp/exercises/space-age/README.md +56 -0
- data/tracks/cpp/exercises/sum-of-multiples/README.md +50 -0
- data/tracks/cpp/exercises/triangle/README.md +58 -0
- data/tracks/cpp/exercises/trinary/README.md +60 -0
- data/tracks/cpp/exercises/word-count/README.md +51 -0
- data/tracks/crystal/config.json +69 -3
- data/tracks/d/config/exercise_readme.go.tmpl +16 -0
- data/tracks/d/config.json +54 -3
- data/tracks/d/exercises/bob/README.md +49 -0
- data/tracks/d/exercises/circular-buffer/README.md +81 -0
- data/tracks/d/exercises/crypto-square/README.md +105 -0
- data/tracks/d/exercises/difference-of-squares/README.md +50 -0
- data/tracks/d/exercises/etl/README.md +82 -0
- data/tracks/d/exercises/gigasecond/README.md +42 -0
- data/tracks/d/exercises/hamming/README.md +73 -0
- data/tracks/d/exercises/hello-world/README.md +52 -0
- data/tracks/d/exercises/leap/README.md +64 -0
- data/tracks/d/exercises/nucleotide-count/README.md +64 -0
- data/tracks/d/exercises/pangram/README.md +46 -0
- data/tracks/d/exercises/raindrops/README.md +55 -0
- data/tracks/d/exercises/react/README.md +50 -0
- data/tracks/d/exercises/rna-transcription/README.md +56 -0
- data/tracks/d/exercises/robot-name/README.md +53 -0
- data/tracks/d/exercises/roman-numerals/README.md +80 -0
- data/tracks/d/exercises/series/README.md +58 -0
- data/tracks/d/exercises/triangle/README.md +57 -0
- data/tracks/delphi/config/maintainers.json +25 -0
- data/tracks/ecmascript/config/maintainers.json +35 -0
- data/tracks/elisp/config/exercise_readme.go.tmpl +16 -0
- data/tracks/elisp/config.json +79 -22
- data/tracks/elisp/exercises/allergies/README.md +37 -0
- data/tracks/elisp/exercises/anagram/README.md +13 -0
- data/tracks/elisp/exercises/atbash-cipher/README.md +34 -0
- data/tracks/elisp/exercises/binary/README.md +35 -0
- data/tracks/elisp/exercises/bob/README.md +18 -0
- data/tracks/elisp/exercises/difference-of-squares/README.md +19 -0
- data/tracks/elisp/exercises/etl/README.md +51 -0
- data/tracks/elisp/exercises/gigasecond/README.md +11 -0
- data/tracks/elisp/exercises/grains/README.md +34 -0
- data/tracks/elisp/exercises/hamming/README.md +42 -0
- data/tracks/elisp/exercises/hello-world/README.md +21 -0
- data/tracks/elisp/exercises/leap/README.md +33 -0
- data/tracks/elisp/exercises/nucleotide-count/README.md +33 -0
- data/tracks/elisp/exercises/perfect-numbers/README.md +24 -0
- data/tracks/elisp/exercises/phone-number/README.md +34 -0
- data/tracks/elisp/exercises/raindrops/README.md +24 -0
- data/tracks/elisp/exercises/rna-transcription/README.md +25 -0
- data/tracks/elisp/exercises/robot-name/README.md +22 -0
- data/tracks/elisp/exercises/roman-numerals/README.md +49 -0
- data/tracks/elisp/exercises/word-count/README.md +19 -0
- data/tracks/elixir/config/maintainers.json +35 -0
- data/tracks/elm/config/exercise_readme.go.tmpl +16 -0
- data/tracks/elm/config.json +96 -5
- data/tracks/elm/exercises/accumulate/README.md +65 -0
- data/tracks/elm/exercises/allergies/README.md +67 -0
- data/tracks/elm/exercises/anagram/README.md +43 -0
- data/tracks/elm/exercises/atbash-cipher/README.md +64 -0
- data/tracks/elm/exercises/bob/README.md +48 -0
- data/tracks/elm/exercises/difference-of-squares/README.md +49 -0
- data/tracks/elm/exercises/etl/README.md +81 -0
- data/tracks/elm/exercises/gigasecond/README.md +41 -0
- data/tracks/elm/exercises/grade-school/README.md +72 -0
- data/tracks/elm/exercises/grains/README.md +64 -0
- data/tracks/elm/exercises/hamming/README.md +72 -0
- data/tracks/elm/exercises/hello-world/README.md +51 -0
- data/tracks/elm/exercises/largest-series-product/README.md +50 -0
- data/tracks/elm/exercises/leap/README.md +63 -0
- data/tracks/elm/exercises/list-ops/README.md +40 -0
- data/tracks/elm/exercises/nucleotide-count/README.md +63 -0
- data/tracks/elm/exercises/pangram/README.md +45 -0
- data/tracks/elm/exercises/phone-number/README.md +64 -0
- data/tracks/elm/exercises/raindrops/README.md +54 -0
- data/tracks/elm/exercises/rna-transcription/README.md +55 -0
- data/tracks/elm/exercises/robot-simulator/README.md +64 -0
- data/tracks/elm/exercises/roman-numerals/README.md +79 -0
- data/tracks/elm/exercises/run-length-encoding/README.md +60 -0
- data/tracks/elm/exercises/say/README.md +99 -0
- data/tracks/elm/exercises/scrabble-score/README.md +74 -0
- data/tracks/elm/exercises/series/README.md +57 -0
- data/tracks/elm/exercises/space-age/README.md +54 -0
- data/tracks/elm/exercises/strain/README.md +70 -0
- data/tracks/elm/exercises/sublist/README.md +51 -0
- data/tracks/elm/exercises/sum-of-multiples/README.md +48 -0
- data/tracks/elm/exercises/triangle/README.md +56 -0
- data/tracks/elm/exercises/word-count/README.md +49 -0
- data/tracks/fortran/config/exercise_readme.go.tmpl +16 -0
- data/tracks/fortran/config.json +21 -5
- data/tracks/fortran/exercises/bob/README.md +18 -0
- data/tracks/fortran/exercises/difference-of-squares/README.md +19 -0
- data/tracks/fortran/exercises/hamming/README.md +42 -0
- data/tracks/fortran/exercises/hello-world/README.md +21 -0
- data/tracks/fortran/exercises/pangram/README.md +15 -0
- data/tracks/fortran/exercises/raindrops/README.md +24 -0
- data/tracks/fortran/exercises/rna-transcription/README.md +25 -0
- data/tracks/go/config/maintainers.json +85 -0
- data/tracks/go/config.json +2 -2
- data/tracks/groovy/config/exercise_readme.go.tmpl +16 -0
- data/tracks/groovy/exercises/difference-of-squares/README.md +33 -0
- data/tracks/groovy/exercises/gigasecond/README.md +25 -0
- data/tracks/groovy/exercises/grains/README.md +48 -0
- data/tracks/groovy/exercises/hamming/README.md +56 -0
- data/tracks/groovy/exercises/hello-world/README.md +35 -0
- data/tracks/groovy/exercises/leap/README.md +47 -0
- data/tracks/groovy/exercises/nth-prime/README.md +29 -0
- data/tracks/groovy/exercises/phone-number/README.md +48 -0
- data/tracks/groovy/exercises/raindrops/README.md +38 -0
- data/tracks/groovy/exercises/rna-transcription/README.md +39 -0
- data/tracks/groovy/exercises/robot-name/README.md +36 -0
- data/tracks/groovy/exercises/roman-numerals/README.md +63 -0
- data/tracks/groovy/exercises/word-count/README.md +33 -0
- data/tracks/haxe/config/exercise_readme.go.tmpl +16 -0
- data/tracks/haxe/config.json +0 -2
- data/tracks/haxe/exercises/bob/README.md +18 -0
- data/tracks/haxe/exercises/hello-world/README.md +21 -0
- data/tracks/idris/config/exercise_readme.go.tmpl +16 -0
- data/tracks/idris/config.json +9 -3
- data/tracks/idris/exercises/hamming/README.md +42 -0
- data/tracks/idris/exercises/hello-world/README.md +21 -0
- data/tracks/idris/exercises/leap/README.md +33 -0
- data/tracks/java/config/maintainers.json +45 -0
- data/tracks/java/exercises/hello-world/TUTORIAL.md +1 -1
- data/tracks/javascript/config/maintainers.json +85 -0
- data/tracks/julia/config/exercise_readme.go.tmpl +16 -0
- data/tracks/julia/config.json +81 -5
- data/tracks/julia/exercises/anagram/README.md +13 -0
- data/tracks/julia/exercises/atbash-cipher/README.md +34 -0
- data/tracks/julia/exercises/bob/README.md +18 -0
- data/tracks/julia/exercises/complex-numbers/README.md +24 -0
- data/tracks/julia/exercises/custom-set/README.md +16 -0
- data/tracks/julia/exercises/difference-of-squares/README.md +19 -0
- data/tracks/julia/exercises/etl/README.md +51 -0
- data/tracks/julia/exercises/gigasecond/README.md +11 -0
- data/tracks/julia/exercises/hamming/README.md +42 -0
- data/tracks/julia/exercises/hello-world/README.md +21 -0
- data/tracks/julia/exercises/isogram/README.md +19 -0
- data/tracks/julia/exercises/leap/README.md +33 -0
- data/tracks/julia/exercises/luhn/README.md +71 -0
- data/tracks/julia/exercises/nucleotide-count/README.md +33 -0
- data/tracks/julia/exercises/pangram/README.md +15 -0
- data/tracks/julia/exercises/pascals-triangle/README.md +21 -0
- data/tracks/julia/exercises/raindrops/README.md +24 -0
- data/tracks/julia/exercises/rna-transcription/README.md +25 -0
- data/tracks/julia/exercises/robot-name/README.md +41 -0
- data/tracks/julia/exercises/roman-numerals/README.md +49 -0
- data/tracks/julia/exercises/rotational-cipher/README.md +59 -0
- data/tracks/julia/exercises/scrabble-score/README.md +44 -0
- data/tracks/julia/exercises/secret-handshake/README.md +35 -0
- data/tracks/julia/exercises/sieve/README.md +34 -0
- data/tracks/julia/exercises/transpose/README.md +65 -0
- data/tracks/julia/exercises/trinary/README.md +28 -0
- data/tracks/julia/exercises/word-count/README.md +19 -0
- data/tracks/lfe/config/exercise_readme.go.tmpl +16 -0
- data/tracks/lfe/config.json +125 -33
- data/tracks/lfe/exercises/accumulate/README.md +51 -0
- data/tracks/lfe/exercises/allergies/README.md +53 -0
- data/tracks/lfe/exercises/anagram/README.md +29 -0
- data/tracks/lfe/exercises/atbash-cipher/README.md +50 -0
- data/tracks/lfe/exercises/bank-account/README.md +46 -0
- data/tracks/lfe/exercises/beer-song/README.md +343 -0
- data/tracks/lfe/exercises/binary/README.md +51 -0
- data/tracks/lfe/exercises/bob/README.md +34 -0
- data/tracks/lfe/exercises/circular-buffer/README.md +66 -0
- data/tracks/lfe/exercises/clock/README.md +29 -0
- data/tracks/lfe/exercises/difference-of-squares/README.md +35 -0
- data/tracks/lfe/exercises/etl/README.md +67 -0
- data/tracks/lfe/exercises/gigasecond/README.md +27 -0
- data/tracks/lfe/exercises/grade-school/README.md +58 -0
- data/tracks/lfe/exercises/grains/README.md +50 -0
- data/tracks/lfe/exercises/hamming/README.md +58 -0
- data/tracks/lfe/exercises/largest-series-product/README.md +36 -0
- data/tracks/lfe/exercises/leap/README.md +49 -0
- data/tracks/lfe/exercises/luhn/README.md +87 -0
- data/tracks/lfe/exercises/meetup/README.md +46 -0
- data/tracks/lfe/exercises/nucleotide-count/README.md +49 -0
- data/tracks/lfe/exercises/parallel-letter-frequency/README.md +27 -0
- data/tracks/lfe/exercises/phone-number/README.md +50 -0
- data/tracks/lfe/exercises/rna-transcription/README.md +41 -0
- data/tracks/lfe/exercises/robot-simulator/README.md +50 -0
- data/tracks/lfe/exercises/series/README.md +43 -0
- data/tracks/lfe/exercises/space-age/README.md +40 -0
- data/tracks/lfe/exercises/strain/README.md +56 -0
- data/tracks/lfe/exercises/sum-of-multiples/README.md +34 -0
- data/tracks/lfe/exercises/trinary/README.md +44 -0
- data/tracks/lfe/exercises/word-count/README.md +35 -0
- data/tracks/lua/config/maintainers.json +35 -0
- data/tracks/lua/config.json +225 -3
- data/tracks/nasm/config/exercise_readme.go.tmpl +16 -0
- data/tracks/nasm/config.json +0 -5
- data/tracks/nim/config/exercise_readme.go.tmpl +16 -0
- data/tracks/nim/config.json +56 -19
- data/tracks/nim/exercises/anagram/README.md +13 -0
- data/tracks/nim/exercises/binary/README.md +35 -0
- data/tracks/nim/exercises/bob/README.md +18 -0
- data/tracks/nim/exercises/difference-of-squares/README.md +19 -0
- data/tracks/nim/exercises/hamming/README.md +42 -0
- data/tracks/nim/exercises/hello-world/README.md +21 -0
- data/tracks/nim/exercises/leap/README.md +33 -0
- data/tracks/nim/exercises/nucleotide-count/README.md +33 -0
- data/tracks/nim/exercises/queen-attack/README.md +33 -0
- data/tracks/nim/exercises/raindrops/README.md +24 -0
- data/tracks/nim/exercises/react/README.md +19 -0
- data/tracks/nim/exercises/rna-transcription/README.md +25 -0
- data/tracks/nim/exercises/triangle/README.md +26 -0
- data/tracks/nim/exercises/word-count/README.md +19 -0
- data/tracks/objective-c/config/exercise_readme.go.tmpl +16 -0
- data/tracks/objective-c/config/maintainers.json +35 -0
- data/tracks/objective-c/config.json +168 -47
- data/tracks/objective-c/exercises/acronym/README.md +32 -0
- data/tracks/objective-c/exercises/all-your-base/README.md +52 -0
- data/tracks/objective-c/exercises/allergies/README.md +54 -0
- data/tracks/objective-c/exercises/anagram/README.md +30 -0
- data/tracks/objective-c/exercises/atbash-cipher/README.md +51 -0
- data/tracks/objective-c/exercises/beer-song/README.md +344 -0
- data/tracks/objective-c/exercises/binary-search/README.md +58 -0
- data/tracks/objective-c/exercises/bob/README.md +35 -0
- data/tracks/objective-c/exercises/bracket-push/README.md +27 -0
- data/tracks/objective-c/exercises/clock/README.md +30 -0
- data/tracks/objective-c/exercises/crypto-square/README.md +91 -0
- data/tracks/objective-c/exercises/difference-of-squares/README.md +36 -0
- data/tracks/objective-c/exercises/etl/README.md +68 -0
- data/tracks/objective-c/exercises/flatten-array/README.md +35 -0
- data/tracks/objective-c/exercises/gigasecond/README.md +28 -0
- data/tracks/objective-c/exercises/grade-school/README.md +59 -0
- data/tracks/objective-c/exercises/hamming/README.md +59 -0
- data/tracks/objective-c/exercises/hello-world/README.md +38 -0
- data/tracks/objective-c/exercises/isogram/README.md +36 -0
- data/tracks/objective-c/exercises/largest-series-product/README.md +37 -0
- data/tracks/objective-c/exercises/leap/README.md +50 -0
- data/tracks/objective-c/exercises/luhn/README.md +88 -0
- data/tracks/objective-c/exercises/meetup/README.md +47 -0
- data/tracks/objective-c/exercises/nucleotide-count/README.md +50 -0
- data/tracks/objective-c/exercises/pangram/README.md +32 -0
- data/tracks/objective-c/exercises/pascals-triangle/README.md +38 -0
- data/tracks/objective-c/exercises/perfect-numbers/README.md +41 -0
- data/tracks/objective-c/exercises/phone-number/README.md +51 -0
- data/tracks/objective-c/exercises/raindrops/README.md +41 -0
- data/tracks/objective-c/exercises/rna-transcription/README.md +42 -0
- data/tracks/objective-c/exercises/robot-name/README.md +39 -0
- data/tracks/objective-c/exercises/roman-numerals/README.md +66 -0
- data/tracks/objective-c/exercises/run-length-encoding/README.md +47 -0
- data/tracks/objective-c/exercises/scrabble-score/README.md +61 -0
- data/tracks/objective-c/exercises/secret-handshake/README.md +52 -0
- data/tracks/objective-c/exercises/sieve/README.md +51 -0
- data/tracks/objective-c/exercises/space-age/README.md +41 -0
- data/tracks/objective-c/exercises/sublist/README.md +38 -0
- data/tracks/objective-c/exercises/sum-of-multiples/README.md +35 -0
- data/tracks/objective-c/exercises/transpose/README.md +82 -0
- data/tracks/objective-c/exercises/triangle/README.md +43 -0
- data/tracks/objective-c/exercises/word-count/README.md +36 -0
- data/tracks/plsql/config/exercise_readme.go.tmpl +16 -0
- data/tracks/plsql/config.json +0 -2
- data/tracks/plsql/exercises/binary/README.md +55 -0
- data/tracks/plsql/exercises/difference-of-squares/README.md +39 -0
- data/tracks/plsql/exercises/gigasecond/README.md +31 -0
- data/tracks/plsql/exercises/grains/README.md +54 -0
- data/tracks/plsql/exercises/hamming/README.md +62 -0
- data/tracks/plsql/exercises/leap/README.md +53 -0
- data/tracks/plsql/exercises/nth-prime/README.md +35 -0
- data/tracks/plsql/exercises/raindrops/README.md +44 -0
- data/tracks/plsql/exercises/rna-transcription/README.md +45 -0
- data/tracks/plsql/exercises/roman-numerals/README.md +69 -0
- data/tracks/powershell/config.json +8 -5
- data/tracks/prolog/config/exercise_readme.go.tmpl +16 -0
- data/tracks/prolog/config.json +33 -5
- data/tracks/prolog/exercises/anagram/README.md +13 -0
- data/tracks/prolog/exercises/binary/README.md +35 -0
- data/tracks/prolog/exercises/grains/README.md +34 -0
- data/tracks/prolog/exercises/hamming/README.md +42 -0
- data/tracks/prolog/exercises/hello-world/README.md +21 -0
- data/tracks/prolog/exercises/leap/README.md +33 -0
- data/tracks/prolog/exercises/nucleotide-count/README.md +33 -0
- data/tracks/prolog/exercises/rna-transcription/README.md +25 -0
- data/tracks/prolog/exercises/space-age/README.md +24 -0
- data/tracks/prolog/exercises/sum-of-multiples/README.md +18 -0
- data/tracks/prolog/exercises/triangle/README.md +26 -0
- data/tracks/python/requirements-travis.txt +1 -1
- data/tracks/r/config/maintainers.json +35 -0
- data/tracks/r/config.json +1 -1
- data/tracks/racket/README.md +1 -1
- data/tracks/racket/config/exercise_readme.go.tmpl +16 -0
- data/tracks/racket/config.json +93 -25
- data/tracks/racket/exercises/accumulate/README.md +60 -0
- data/tracks/racket/exercises/acronym/README.md +40 -0
- data/tracks/racket/exercises/allergies/README.md +62 -0
- data/tracks/racket/exercises/anagram/README.md +38 -0
- data/tracks/racket/exercises/bob/README.md +43 -0
- data/tracks/racket/exercises/difference-of-squares/README.md +44 -0
- data/tracks/racket/exercises/etl/README.md +76 -0
- data/tracks/racket/exercises/gigasecond/README.md +36 -0
- data/tracks/racket/exercises/grains/README.md +59 -0
- data/tracks/racket/exercises/grep/README.md +96 -0
- data/tracks/racket/exercises/hamming/README.md +67 -0
- data/tracks/racket/exercises/hello-world/README.md +46 -0
- data/tracks/racket/exercises/leap/README.md +58 -0
- data/tracks/racket/exercises/list-ops/README.md +35 -0
- data/tracks/racket/exercises/nucleotide-count/README.md +58 -0
- data/tracks/racket/exercises/perfect-numbers/README.md +49 -0
- data/tracks/racket/exercises/phone-number/README.md +59 -0
- data/tracks/racket/exercises/raindrops/README.md +49 -0
- data/tracks/racket/exercises/rna-transcription/README.md +50 -0
- data/tracks/racket/exercises/roman-numerals/README.md +74 -0
- data/tracks/racket/exercises/say/README.md +94 -0
- data/tracks/racket/exercises/scrabble-score/README.md +69 -0
- data/tracks/racket/exercises/word-count/README.md +44 -0
- data/tracks/ruby/exercises/binary-search-tree/.meta/solutions/binary_search_tree.rb +4 -2
- data/tracks/ruby/exercises/binary-search-tree/binary_search_tree_test.rb +13 -4
- data/tracks/scala/config/maintainers.json +29 -0
- data/tracks/scala/exercises/atbash-cipher/example.scala +4 -1
- data/tracks/scala/exercises/atbash-cipher/src/test/scala/AtbashCipherTest.scala +64 -0
- data/tracks/scala/exercises/roman-numerals/example.scala +2 -2
- data/tracks/scala/exercises/roman-numerals/src/test/scala/RomanNumeralsTest.scala +40 -39
- data/tracks/scala/testgen/src/main/scala/AtbashCipherTestGenerator.scala +16 -0
- data/tracks/scala/testgen/src/main/scala/RomanNumeralsTestGenerator.scala +15 -0
- data/tracks/scheme/config/exercise_readme.go.tmpl +16 -0
- data/tracks/scheme/config.json +42 -3
- data/tracks/scheme/exercises/anagram/README.md +13 -0
- data/tracks/scheme/exercises/bob/README.md +18 -0
- data/tracks/scheme/exercises/difference-of-squares/README.md +19 -0
- data/tracks/scheme/exercises/grains/README.md +34 -0
- data/tracks/scheme/exercises/hamming/README.md +42 -0
- data/tracks/scheme/exercises/hello-world/README.md +21 -0
- data/tracks/scheme/exercises/leap/README.md +33 -0
- data/tracks/scheme/exercises/list-ops/README.md +10 -0
- data/tracks/scheme/exercises/nucleotide-count/README.md +33 -0
- data/tracks/scheme/exercises/phone-number/README.md +34 -0
- data/tracks/scheme/exercises/raindrops/README.md +24 -0
- data/tracks/scheme/exercises/rna-transcription/README.md +25 -0
- data/tracks/scheme/exercises/robot-name/README.md +22 -0
- data/tracks/scheme/exercises/scrabble-score/README.md +44 -0
- data/tracks/sml/config/maintainers.json +25 -0
- data/tracks/typescript/config/exercise_readme.go.tmpl +16 -0
- data/tracks/typescript/config/maintainers.json +25 -0
- data/tracks/typescript/config.json +0 -2
- data/tracks/typescript/exercises/anagram/README.md +39 -0
- data/tracks/typescript/exercises/beer-song/README.md +353 -0
- data/tracks/typescript/exercises/bob/README.md +44 -0
- data/tracks/typescript/exercises/difference-of-squares/README.md +45 -0
- data/tracks/typescript/exercises/etl/README.md +77 -0
- data/tracks/typescript/exercises/food-chain/README.md +96 -0
- data/tracks/typescript/exercises/gigasecond/README.md +37 -0
- data/tracks/typescript/exercises/grade-school/README.md +68 -0
- data/tracks/typescript/exercises/hamming/README.md +68 -0
- data/tracks/typescript/exercises/hello-world/README.md +47 -0
- data/tracks/typescript/exercises/leap/README.md +59 -0
- data/tracks/typescript/exercises/pangram/README.md +41 -0
- data/tracks/typescript/exercises/phone-number/README.md +60 -0
- data/tracks/typescript/exercises/raindrops/README.md +50 -0
- data/tracks/typescript/exercises/rna-transcription/README.md +51 -0
- data/tracks/typescript/exercises/robot-name/README.md +48 -0
- data/tracks/typescript/exercises/say/README.md +95 -0
- data/tracks/typescript/exercises/scrabble-score/README.md +70 -0
- data/tracks/typescript/exercises/space-age/README.md +50 -0
- data/tracks/typescript/exercises/word-count/README.md +45 -0
- data/tracks/typescript/exercises/wordy/README.md +89 -0
- data/tracks/vbnet/config/exercise_readme.go.tmpl +16 -0
- data/tracks/vbnet/config.json +28 -12
- data/tracks/vbnet/exercises/accumulate/README.md +41 -0
- data/tracks/vbnet/exercises/allergies/README.md +43 -0
- data/tracks/vbnet/exercises/anagram/README.md +19 -0
- data/tracks/vbnet/exercises/atbash-cipher/README.md +40 -0
- data/tracks/vbnet/exercises/binary/README.md +41 -0
- data/tracks/vbnet/exercises/bob/README.md +24 -0
- data/tracks/vbnet/exercises/crypto-square/README.md +80 -0
- metadata +401 -4
- data/tracks/scala/exercises/atbash-cipher/src/main/scala/Atbash.scala +0 -3
- data/tracks/scala/exercises/atbash-cipher/src/test/scala/atbash_test.scala +0 -48
@@ -0,0 +1,49 @@
|
|
1
|
+
# Rna Transcription
|
2
|
+
|
3
|
+
Given a DNA strand, return its RNA complement (per RNA transcription).
|
4
|
+
|
5
|
+
Both DNA and RNA strands are a sequence of nucleotides.
|
6
|
+
|
7
|
+
The four nucleotides found in DNA are adenine (**A**), cytosine (**C**),
|
8
|
+
guanine (**G**) and thymine (**T**).
|
9
|
+
|
10
|
+
The four nucleotides found in RNA are adenine (**A**), cytosine (**C**),
|
11
|
+
guanine (**G**) and uracil (**U**).
|
12
|
+
|
13
|
+
Given a DNA strand, its transcribed RNA strand is formed by replacing
|
14
|
+
each nucleotide with its complement:
|
15
|
+
|
16
|
+
* `G` -> `C`
|
17
|
+
* `C` -> `G`
|
18
|
+
* `T` -> `A`
|
19
|
+
* `A` -> `U`
|
20
|
+
|
21
|
+
## Getting Started
|
22
|
+
|
23
|
+
For installation and learning resources, refer to the
|
24
|
+
[exercism help page](http://exercism.io/languages/coq).
|
25
|
+
|
26
|
+
## Checking the solution (testing everything)
|
27
|
+
|
28
|
+
To see if your solution works you just need to compile every file.
|
29
|
+
|
30
|
+
```bash
|
31
|
+
coqc *.v
|
32
|
+
```
|
33
|
+
|
34
|
+
There is no additional testing step needed as we can offload all testing to the type checker!
|
35
|
+
|
36
|
+
## Feedback, Issues, Pull Requests
|
37
|
+
|
38
|
+
The [exercism/coq](https://github.com/exercism/coq) repository on
|
39
|
+
GitHub is the home for all of the Coq exercises.
|
40
|
+
|
41
|
+
If you have feedback about an exercise, or want to help implementing a new
|
42
|
+
one, head over there and create an issue. We'll do our best to help you!
|
43
|
+
|
44
|
+
## Source
|
45
|
+
|
46
|
+
Rosalind [http://rosalind.info/problems/rna](http://rosalind.info/problems/rna)
|
47
|
+
|
48
|
+
## Submitting Incomplete Solutions
|
49
|
+
It's possible to submit an incomplete solution so you can see how others have completed the exercise.
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Tautology
|
2
|
+
|
3
|
+
Let us start by proving something we already know is true.
|
4
|
+
|
5
|
+
## Getting Started
|
6
|
+
|
7
|
+
For installation and learning resources, refer to the
|
8
|
+
[exercism help page](http://exercism.io/languages/coq).
|
9
|
+
|
10
|
+
## Checking the solution (testing everything)
|
11
|
+
|
12
|
+
To see if your solution works you just need to compile every file.
|
13
|
+
|
14
|
+
```bash
|
15
|
+
coqc *.v
|
16
|
+
```
|
17
|
+
|
18
|
+
There is no additional testing step needed as we can offload all testing to the type checker!
|
19
|
+
|
20
|
+
## Feedback, Issues, Pull Requests
|
21
|
+
|
22
|
+
The [exercism/coq](https://github.com/exercism/coq) repository on
|
23
|
+
GitHub is the home for all of the Coq exercises.
|
24
|
+
|
25
|
+
If you have feedback about an exercise, or want to help implementing a new
|
26
|
+
one, head over there and create an issue. We'll do our best to help you!
|
27
|
+
|
28
|
+
## Source
|
29
|
+
|
30
|
+
Coq classics
|
31
|
+
|
32
|
+
## Submitting Incomplete Solutions
|
33
|
+
It's possible to submit an incomplete solution so you can see how others have completed the exercise.
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# {{ .Spec.Name }}
|
2
|
+
|
3
|
+
{{ .Spec.Description -}}
|
4
|
+
{{- with .Hints }}
|
5
|
+
{{ . }}
|
6
|
+
{{ end }}
|
7
|
+
{{- with .TrackInsert }}
|
8
|
+
{{ . }}
|
9
|
+
{{ end }}
|
10
|
+
{{- with .Spec.Credits -}}
|
11
|
+
## Source
|
12
|
+
|
13
|
+
{{ . }}
|
14
|
+
{{ end }}
|
15
|
+
## Submitting Incomplete Solutions
|
16
|
+
It's possible to submit an incomplete solution so you can see how others have completed the exercise.
|
data/tracks/cpp/config.json
CHANGED
@@ -1,49 +1,59 @@
|
|
1
1
|
{
|
2
|
-
"slug": "cpp",
|
3
2
|
"language": "C++",
|
4
|
-
"repository": "https://github.com/exercism/cpp",
|
5
3
|
"active": true,
|
6
|
-
"deprecated": [
|
7
|
-
|
8
|
-
],
|
9
4
|
"foregone": [
|
10
5
|
"point-mutations"
|
11
6
|
],
|
12
7
|
"exercises": [
|
13
8
|
{
|
14
|
-
"
|
9
|
+
"uuid": "3eeadff6-82b6-43be-8834-d9ef258e454d",
|
15
10
|
"slug": "hello-world",
|
11
|
+
"core": false,
|
12
|
+
"unlocked_by": null,
|
13
|
+
"difficulty": 1,
|
16
14
|
"topics": [
|
17
15
|
"strings"
|
18
16
|
]
|
19
17
|
},
|
20
18
|
{
|
21
|
-
"
|
19
|
+
"uuid": "76a840c7-24f1-455d-b62e-da42b13f8dd5",
|
22
20
|
"slug": "leap",
|
21
|
+
"core": false,
|
22
|
+
"unlocked_by": null,
|
23
|
+
"difficulty": 1,
|
23
24
|
"topics": [
|
24
25
|
"logic",
|
25
26
|
"control-flow (conditionals)"
|
26
27
|
]
|
27
28
|
},
|
28
29
|
{
|
29
|
-
"
|
30
|
+
"uuid": "4dbe1bb3-0419-4749-8c2a-ec91539a8640",
|
30
31
|
"slug": "gigasecond",
|
32
|
+
"core": false,
|
33
|
+
"unlocked_by": null,
|
34
|
+
"difficulty": 2,
|
31
35
|
"topics": [
|
32
36
|
"dates",
|
33
37
|
"interfaces"
|
34
38
|
]
|
35
39
|
},
|
36
40
|
{
|
37
|
-
"
|
41
|
+
"uuid": "a9716747-8cc6-4529-b5d2-dc24bd8641a8",
|
38
42
|
"slug": "hamming",
|
43
|
+
"core": false,
|
44
|
+
"unlocked_by": null,
|
45
|
+
"difficulty": 3,
|
39
46
|
"topics": [
|
40
47
|
"strings",
|
41
48
|
"control-flow (loops)"
|
42
49
|
]
|
43
50
|
},
|
44
51
|
{
|
45
|
-
"
|
52
|
+
"uuid": "d80210b8-45e8-4e5c-8b07-9e87c33c5959",
|
46
53
|
"slug": "bob",
|
54
|
+
"core": false,
|
55
|
+
"unlocked_by": null,
|
56
|
+
"difficulty": 5,
|
47
57
|
"topics": [
|
48
58
|
"strings",
|
49
59
|
"control-flow (conditionals)",
|
@@ -51,8 +61,11 @@
|
|
51
61
|
]
|
52
62
|
},
|
53
63
|
{
|
54
|
-
"
|
64
|
+
"uuid": "a34d1c83-fb96-4b7a-aeca-fdb17cf91a75",
|
55
65
|
"slug": "anagram",
|
66
|
+
"core": false,
|
67
|
+
"unlocked_by": null,
|
68
|
+
"difficulty": 5,
|
56
69
|
"topics": [
|
57
70
|
"strings",
|
58
71
|
"filtering",
|
@@ -60,8 +73,11 @@
|
|
60
73
|
]
|
61
74
|
},
|
62
75
|
{
|
63
|
-
"
|
76
|
+
"uuid": "0dd45f6a-c6cd-4549-a56b-7babe0a71add",
|
64
77
|
"slug": "etl",
|
78
|
+
"core": false,
|
79
|
+
"unlocked_by": null,
|
80
|
+
"difficulty": 3,
|
65
81
|
"topics": [
|
66
82
|
"maps",
|
67
83
|
"arrays",
|
@@ -69,8 +85,11 @@
|
|
69
85
|
]
|
70
86
|
},
|
71
87
|
{
|
72
|
-
"
|
88
|
+
"uuid": "d531e2b1-28bc-4025-b3a7-119d314b5a80",
|
73
89
|
"slug": "word-count",
|
90
|
+
"core": false,
|
91
|
+
"unlocked_by": null,
|
92
|
+
"difficulty": 5,
|
74
93
|
"topics": [
|
75
94
|
"strings",
|
76
95
|
"arrays",
|
@@ -79,23 +98,32 @@
|
|
79
98
|
]
|
80
99
|
},
|
81
100
|
{
|
82
|
-
"
|
101
|
+
"uuid": "46cb230c-8ce9-431d-9dea-a195a3abd117",
|
83
102
|
"slug": "difference-of-squares",
|
103
|
+
"core": false,
|
104
|
+
"unlocked_by": null,
|
105
|
+
"difficulty": 3,
|
84
106
|
"topics": [
|
85
107
|
"control-flow (loops)"
|
86
108
|
]
|
87
109
|
},
|
88
110
|
{
|
89
|
-
"
|
111
|
+
"uuid": "949f5680-a7a5-4c1e-ac19-bb4bae658d5c",
|
90
112
|
"slug": "nucleotide-count",
|
113
|
+
"core": false,
|
114
|
+
"unlocked_by": null,
|
115
|
+
"difficulty": 3,
|
91
116
|
"topics": [
|
92
117
|
"strings",
|
93
118
|
"parsing"
|
94
119
|
]
|
95
120
|
},
|
96
121
|
{
|
97
|
-
"
|
122
|
+
"uuid": "6805ef10-ab91-4d97-af80-9d326255497d",
|
98
123
|
"slug": "food-chain",
|
124
|
+
"core": false,
|
125
|
+
"unlocked_by": null,
|
126
|
+
"difficulty": 7,
|
99
127
|
"topics": [
|
100
128
|
"strings",
|
101
129
|
"control-flow (loops)",
|
@@ -103,108 +131,150 @@
|
|
103
131
|
]
|
104
132
|
},
|
105
133
|
{
|
106
|
-
"
|
134
|
+
"uuid": "76491cb2-25a8-4495-ba3e-85aace65319e",
|
107
135
|
"slug": "phone-number",
|
136
|
+
"core": false,
|
137
|
+
"unlocked_by": null,
|
138
|
+
"difficulty": 5,
|
108
139
|
"topics": [
|
109
140
|
"strings",
|
110
141
|
"parsing"
|
111
142
|
]
|
112
143
|
},
|
113
144
|
{
|
114
|
-
"
|
145
|
+
"uuid": "a15922b1-467f-4db4-a023-0bb262333551",
|
115
146
|
"slug": "grade-school",
|
147
|
+
"core": false,
|
148
|
+
"unlocked_by": null,
|
149
|
+
"difficulty": 3,
|
116
150
|
"topics": [
|
117
151
|
"arrays",
|
118
152
|
"parsing"
|
119
153
|
]
|
120
154
|
},
|
121
155
|
{
|
122
|
-
"
|
156
|
+
"uuid": "67c3cb10-b893-428a-82d0-79602aef2775",
|
123
157
|
"slug": "robot-name",
|
158
|
+
"core": false,
|
159
|
+
"unlocked_by": null,
|
160
|
+
"difficulty": 5,
|
124
161
|
"topics": [
|
125
162
|
"strings",
|
126
163
|
"randomness"
|
127
164
|
]
|
128
165
|
},
|
129
166
|
{
|
130
|
-
"
|
167
|
+
"uuid": "a190ad11-db1c-4624-a477-e1d0c91d8b4f",
|
131
168
|
"slug": "sum-of-multiples",
|
169
|
+
"core": false,
|
170
|
+
"unlocked_by": null,
|
171
|
+
"difficulty": 3,
|
132
172
|
"topics": [
|
133
173
|
"mathematics"
|
134
174
|
]
|
135
175
|
},
|
136
176
|
{
|
137
|
-
"
|
177
|
+
"uuid": "1763159f-3358-42d0-9ad0-2eb90baca600",
|
138
178
|
"slug": "space-age",
|
179
|
+
"core": false,
|
180
|
+
"unlocked_by": null,
|
181
|
+
"difficulty": 1,
|
139
182
|
"topics": [
|
140
183
|
"functions"
|
141
184
|
]
|
142
185
|
},
|
143
186
|
{
|
144
|
-
"
|
187
|
+
"uuid": "e597f659-f31a-4a1b-a697-d91ede672642",
|
145
188
|
"slug": "meetup",
|
189
|
+
"core": false,
|
190
|
+
"unlocked_by": null,
|
191
|
+
"difficulty": 5,
|
146
192
|
"topics": [
|
147
193
|
"interfaces",
|
148
194
|
"functions"
|
149
195
|
]
|
150
196
|
},
|
151
197
|
{
|
152
|
-
"
|
198
|
+
"uuid": "54a0753e-c161-4dfd-a7b0-02dc7a923d82",
|
153
199
|
"slug": "scrabble-score",
|
200
|
+
"core": false,
|
201
|
+
"unlocked_by": null,
|
202
|
+
"difficulty": 3,
|
154
203
|
"topics": [
|
155
204
|
"strings",
|
156
205
|
"maps"
|
157
206
|
]
|
158
207
|
},
|
159
208
|
{
|
160
|
-
"
|
209
|
+
"uuid": "d23a2c36-7182-4fd0-84db-34b27fabda2e",
|
161
210
|
"slug": "triangle",
|
211
|
+
"core": false,
|
212
|
+
"unlocked_by": null,
|
213
|
+
"difficulty": 3,
|
162
214
|
"topics": [
|
163
215
|
"mathematics",
|
164
216
|
"control-flow (conditionals)"
|
165
217
|
]
|
166
218
|
},
|
167
219
|
{
|
168
|
-
"
|
220
|
+
"uuid": "c3dc3764-72b9-4926-9747-61db90553e2b",
|
169
221
|
"slug": "grains",
|
222
|
+
"core": false,
|
223
|
+
"unlocked_by": null,
|
224
|
+
"difficulty": 2,
|
170
225
|
"topics": [
|
171
226
|
"bitwise operations"
|
172
227
|
]
|
173
228
|
},
|
174
229
|
{
|
175
|
-
"
|
230
|
+
"uuid": "9155f4ea-3566-4a57-a2c5-76535d931ccc",
|
176
231
|
"slug": "raindrops",
|
232
|
+
"core": false,
|
233
|
+
"unlocked_by": null,
|
234
|
+
"difficulty": 2,
|
177
235
|
"topics": [
|
178
236
|
"strings"
|
179
237
|
]
|
180
238
|
},
|
181
239
|
{
|
182
|
-
"
|
240
|
+
"uuid": "52dce31c-f8ab-44db-accd-573f4b82dcf9",
|
183
241
|
"slug": "roman-numerals",
|
242
|
+
"core": false,
|
243
|
+
"unlocked_by": null,
|
244
|
+
"difficulty": 7,
|
184
245
|
"topics": [
|
185
246
|
"strings",
|
186
247
|
"mathematics"
|
187
248
|
]
|
188
249
|
},
|
189
250
|
{
|
190
|
-
"
|
251
|
+
"uuid": "1cc6a583-3def-4d15-a45a-4b1fe16826bf",
|
191
252
|
"slug": "binary",
|
253
|
+
"core": false,
|
254
|
+
"unlocked_by": null,
|
255
|
+
"difficulty": 3,
|
192
256
|
"topics": [
|
193
257
|
"strings",
|
194
258
|
"mathematics"
|
195
259
|
]
|
196
260
|
},
|
197
261
|
{
|
198
|
-
"
|
262
|
+
"uuid": "ba755932-b301-41cc-b7f2-5e6d2e130325",
|
199
263
|
"slug": "prime-factors",
|
264
|
+
"core": false,
|
265
|
+
"unlocked_by": null,
|
266
|
+
"difficulty": 5,
|
200
267
|
"topics": [
|
201
268
|
"mathematics",
|
202
269
|
"control-flow (loops)"
|
203
270
|
]
|
204
271
|
},
|
205
272
|
{
|
206
|
-
"
|
273
|
+
"uuid": "177ecdf4-f249-4193-b9e1-8f1c6480bfad",
|
207
274
|
"slug": "crypto-square",
|
275
|
+
"core": false,
|
276
|
+
"unlocked_by": null,
|
277
|
+
"difficulty": 7,
|
208
278
|
"topics": [
|
209
279
|
"strings",
|
210
280
|
"filtering",
|
@@ -212,23 +282,32 @@
|
|
212
282
|
]
|
213
283
|
},
|
214
284
|
{
|
215
|
-
"
|
285
|
+
"uuid": "c8246de0-29b1-4f92-8b00-b766e395ad66",
|
216
286
|
"slug": "trinary",
|
287
|
+
"core": false,
|
288
|
+
"unlocked_by": null,
|
289
|
+
"difficulty": 3,
|
217
290
|
"topics": [
|
218
291
|
"strings",
|
219
292
|
"mathematics"
|
220
293
|
]
|
221
294
|
},
|
222
295
|
{
|
223
|
-
"
|
296
|
+
"uuid": "2fbd008c-5007-4403-ae71-f4d1f5ccaf8f",
|
224
297
|
"slug": "rna-transcription",
|
298
|
+
"core": false,
|
299
|
+
"unlocked_by": null,
|
300
|
+
"difficulty": 3,
|
225
301
|
"topics": [
|
226
302
|
"strings"
|
227
303
|
]
|
228
304
|
},
|
229
305
|
{
|
230
|
-
"
|
306
|
+
"uuid": "090b2615-cd05-442b-be74-9f11bd5a83a5",
|
231
307
|
"slug": "say",
|
308
|
+
"core": false,
|
309
|
+
"unlocked_by": null,
|
310
|
+
"difficulty": 10,
|
232
311
|
"topics": [
|
233
312
|
"strings",
|
234
313
|
"logic",
|
@@ -236,16 +315,22 @@
|
|
236
315
|
]
|
237
316
|
},
|
238
317
|
{
|
239
|
-
"
|
318
|
+
"uuid": "7ea05dd1-2c3c-499e-8608-dc76d30c5457",
|
240
319
|
"slug": "sieve",
|
320
|
+
"core": false,
|
321
|
+
"unlocked_by": null,
|
322
|
+
"difficulty": 5,
|
241
323
|
"topics": [
|
242
324
|
"mathematics",
|
243
325
|
"control-flow (loops)"
|
244
326
|
]
|
245
327
|
},
|
246
328
|
{
|
247
|
-
"
|
329
|
+
"uuid": "0ab70460-3a2f-4c37-bb78-716ba720fe34",
|
248
330
|
"slug": "series",
|
331
|
+
"core": false,
|
332
|
+
"unlocked_by": null,
|
333
|
+
"difficulty": 5,
|
249
334
|
"topics": [
|
250
335
|
"strings",
|
251
336
|
"arrays",
|
@@ -253,47 +338,65 @@
|
|
253
338
|
]
|
254
339
|
},
|
255
340
|
{
|
256
|
-
"
|
341
|
+
"uuid": "fab94f5a-d4da-4a18-a70a-b27c80b14851",
|
257
342
|
"slug": "clock",
|
343
|
+
"core": false,
|
344
|
+
"unlocked_by": null,
|
345
|
+
"difficulty": 5,
|
258
346
|
"topics": [
|
259
347
|
"classes",
|
260
348
|
"time"
|
261
349
|
]
|
262
350
|
},
|
263
351
|
{
|
264
|
-
"
|
352
|
+
"uuid": "a384c32c-d8db-4877-816b-44de7c3ed324",
|
265
353
|
"slug": "beer-song",
|
354
|
+
"core": false,
|
355
|
+
"unlocked_by": null,
|
356
|
+
"difficulty": 7,
|
266
357
|
"topics": [
|
267
358
|
"strings",
|
268
359
|
"text formatting"
|
269
360
|
]
|
270
361
|
},
|
271
362
|
{
|
272
|
-
"
|
363
|
+
"uuid": "675b0a5c-0587-4dc5-8004-1f82769a2ddd",
|
273
364
|
"slug": "nth-prime",
|
365
|
+
"core": false,
|
366
|
+
"unlocked_by": null,
|
367
|
+
"difficulty": 5,
|
274
368
|
"topics": [
|
275
369
|
"mathematics"
|
276
370
|
]
|
277
371
|
},
|
278
372
|
{
|
279
|
-
"
|
373
|
+
"uuid": "c2e8e3fc-a39c-434b-87dd-9524636aa804",
|
280
374
|
"slug": "hexadecimal",
|
375
|
+
"core": false,
|
376
|
+
"unlocked_by": null,
|
377
|
+
"difficulty": 3,
|
281
378
|
"topics": [
|
282
379
|
"strings",
|
283
380
|
"mathematics"
|
284
381
|
]
|
285
382
|
},
|
286
383
|
{
|
287
|
-
"
|
384
|
+
"uuid": "0d5e4c9e-4351-41b1-9154-ee900ad0e60e",
|
288
385
|
"slug": "queen-attack",
|
386
|
+
"core": false,
|
387
|
+
"unlocked_by": null,
|
388
|
+
"difficulty": 5,
|
289
389
|
"topics": [
|
290
390
|
"logic",
|
291
391
|
"control-flow (loops)"
|
292
392
|
]
|
293
393
|
},
|
294
394
|
{
|
295
|
-
"
|
395
|
+
"uuid": "80ae6a8e-8464-4f3a-afed-14d424757413",
|
296
396
|
"slug": "allergies",
|
397
|
+
"core": false,
|
398
|
+
"unlocked_by": null,
|
399
|
+
"difficulty": 3,
|
297
400
|
"topics": [
|
298
401
|
"bitwise operations",
|
299
402
|
"filtering"
|
@@ -0,0 +1,69 @@
|
|
1
|
+
# Allergies
|
2
|
+
|
3
|
+
Given a person's allergy score, determine whether or not they're allergic to a given item, and their full list of allergies.
|
4
|
+
|
5
|
+
An allergy test produces a single numeric score which contains the
|
6
|
+
information about all the allergies the person has (that they were
|
7
|
+
tested for).
|
8
|
+
|
9
|
+
The list of items (and their value) that were tested are:
|
10
|
+
|
11
|
+
* eggs (1)
|
12
|
+
* peanuts (2)
|
13
|
+
* shellfish (4)
|
14
|
+
* strawberries (8)
|
15
|
+
* tomatoes (16)
|
16
|
+
* chocolate (32)
|
17
|
+
* pollen (64)
|
18
|
+
* cats (128)
|
19
|
+
|
20
|
+
So if Tom is allergic to peanuts and chocolate, he gets a score of 34.
|
21
|
+
|
22
|
+
Now, given just that score of 34, your program should be able to say:
|
23
|
+
|
24
|
+
- Whether Tom is allergic to any one of those allergens listed above.
|
25
|
+
- All the allergens Tom is allergic to.
|
26
|
+
|
27
|
+
Note: a given score may include allergens **not** listed above (i.e.
|
28
|
+
allergens that score 256, 512, 1024, etc.). Your program should
|
29
|
+
ignore those components of the score. For example, if the allergy
|
30
|
+
score is 257, your program should only report the eggs (1) allergy.
|
31
|
+
|
32
|
+
|
33
|
+
## Getting Started
|
34
|
+
|
35
|
+
Make sure you have read [the C++ page](http://exercism.io/languages/cpp) on
|
36
|
+
exercism.io. This covers the basic information on setting up the development
|
37
|
+
environment expected by the exercises.
|
38
|
+
|
39
|
+
## Passing the Tests
|
40
|
+
|
41
|
+
Get the first test compiling, linking and passing by following the [three
|
42
|
+
rules of test-driven development](http://butunclebob.com/ArticleS.UncleBob.TheThreeRulesOfTdd).
|
43
|
+
Create just enough structure by declaring namespaces, functions, classes,
|
44
|
+
etc., to satisfy any compiler errors and get the test to fail. Then write
|
45
|
+
just enough code to get the test to pass. Once you've done that,
|
46
|
+
uncomment the next test by moving the following line past the next test.
|
47
|
+
|
48
|
+
```C++
|
49
|
+
#if defined(EXERCISM_RUN_ALL_TESTS)
|
50
|
+
```
|
51
|
+
|
52
|
+
This may result in compile errors as new constructs may be invoked that
|
53
|
+
you haven't yet declared or defined. Again, fix the compile errors minimally
|
54
|
+
to get a failing test, then change the code minimally to pass the test,
|
55
|
+
refactor your implementation for readability and expressiveness and then
|
56
|
+
go on to the next test.
|
57
|
+
|
58
|
+
Try to use standard C++11 facilities in preference to writing your own
|
59
|
+
low-level algorithms or facilities by hand. [CppReference](http://en.cppreference.com/)
|
60
|
+
is a wiki reference to the C++ language and standard library. If you
|
61
|
+
are new to C++, but have programmed in C, beware of
|
62
|
+
[C traps and pitfalls](http://www.slideshare.net/LegalizeAdulthood/c-traps-and-pitfalls-for-c-programmers).
|
63
|
+
|
64
|
+
## Source
|
65
|
+
|
66
|
+
Jumpstart Lab Warm-up [http://jumpstartlab.com](http://jumpstartlab.com)
|
67
|
+
|
68
|
+
## Submitting Incomplete Solutions
|
69
|
+
It's possible to submit an incomplete solution so you can see how others have completed the exercise.
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# Anagram
|
2
|
+
|
3
|
+
Given a word and a list of possible anagrams, select the correct sublist.
|
4
|
+
|
5
|
+
Given `"listen"` and a list of candidates like `"enlists" "google"
|
6
|
+
"inlets" "banana"` the program should return a list containing
|
7
|
+
`"inlets"`.
|
8
|
+
|
9
|
+
## Getting Started
|
10
|
+
|
11
|
+
Make sure you have read [the C++ page](http://exercism.io/languages/cpp) on
|
12
|
+
exercism.io. This covers the basic information on setting up the development
|
13
|
+
environment expected by the exercises.
|
14
|
+
|
15
|
+
## Passing the Tests
|
16
|
+
|
17
|
+
Get the first test compiling, linking and passing by following the [three
|
18
|
+
rules of test-driven development](http://butunclebob.com/ArticleS.UncleBob.TheThreeRulesOfTdd).
|
19
|
+
Create just enough structure by declaring namespaces, functions, classes,
|
20
|
+
etc., to satisfy any compiler errors and get the test to fail. Then write
|
21
|
+
just enough code to get the test to pass. Once you've done that,
|
22
|
+
uncomment the next test by moving the following line past the next test.
|
23
|
+
|
24
|
+
```C++
|
25
|
+
#if defined(EXERCISM_RUN_ALL_TESTS)
|
26
|
+
```
|
27
|
+
|
28
|
+
This may result in compile errors as new constructs may be invoked that
|
29
|
+
you haven't yet declared or defined. Again, fix the compile errors minimally
|
30
|
+
to get a failing test, then change the code minimally to pass the test,
|
31
|
+
refactor your implementation for readability and expressiveness and then
|
32
|
+
go on to the next test.
|
33
|
+
|
34
|
+
Try to use standard C++11 facilities in preference to writing your own
|
35
|
+
low-level algorithms or facilities by hand. [CppReference](http://en.cppreference.com/)
|
36
|
+
is a wiki reference to the C++ language and standard library. If you
|
37
|
+
are new to C++, but have programmed in C, beware of
|
38
|
+
[C traps and pitfalls](http://www.slideshare.net/LegalizeAdulthood/c-traps-and-pitfalls-for-c-programmers).
|
39
|
+
|
40
|
+
## Source
|
41
|
+
|
42
|
+
Inspired by the Extreme Startup game [https://github.com/rchatley/extreme_startup](https://github.com/rchatley/extreme_startup)
|
43
|
+
|
44
|
+
## Submitting Incomplete Solutions
|
45
|
+
It's possible to submit an incomplete solution so you can see how others have completed the exercise.
|