trackler 2.0.6.28 → 2.0.6.29
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/common/exercises/all-your-base/metadata.yml +1 -1
- data/common/exercises/allergies/metadata.yml +1 -1
- data/common/exercises/anagram/metadata.yml +1 -1
- data/common/exercises/beer-song/metadata.yml +1 -1
- data/common/exercises/binary-search-tree/metadata.yml +1 -1
- data/common/exercises/binary-search/metadata.yml +1 -1
- data/common/exercises/binary/metadata.yml +1 -1
- data/common/exercises/change/description.md +3 -3
- data/common/exercises/change/metadata.yml +1 -1
- data/common/exercises/crypto-square/description.md +1 -2
- data/common/exercises/etl/description.md +2 -2
- data/common/exercises/flatten-array/metadata.yml +1 -1
- data/common/exercises/food-chain/description.md +4 -5
- data/common/exercises/food-chain/metadata.yml +1 -1
- data/common/exercises/gigasecond/metadata.yml +1 -1
- data/common/exercises/grade-school/metadata.yml +1 -1
- data/common/exercises/grains/description.md +1 -1
- data/common/exercises/grains/metadata.yml +1 -1
- data/common/exercises/hamming/metadata.yml +1 -1
- data/common/exercises/hello-world/metadata.yml +1 -1
- data/common/exercises/hexadecimal/metadata.yml +1 -1
- data/common/exercises/house/metadata.yml +1 -1
- data/common/exercises/kindergarten-garden/metadata.yml +1 -1
- data/common/exercises/largest-series-product/metadata.yml +1 -1
- data/common/exercises/leap/metadata.yml +1 -1
- data/common/exercises/luhn/description.md +1 -1
- data/common/exercises/luhn/metadata.yml +1 -1
- data/common/exercises/matrix/metadata.yml +1 -1
- data/common/exercises/minesweeper/metadata.yml +1 -1
- data/common/exercises/nth-prime/metadata.yml +1 -1
- data/common/exercises/ocr-numbers/metadata.yml +1 -1
- data/common/exercises/octal/metadata.yml +1 -1
- data/common/exercises/paasio/metadata.yml +1 -1
- data/common/exercises/palindrome-products/description.md +30 -2
- data/common/exercises/palindrome-products/metadata.yml +1 -1
- data/common/exercises/parallel-letter-frequency/metadata.yml +1 -1
- data/common/exercises/pascals-triangle/metadata.yml +1 -1
- data/common/exercises/phone-number/metadata.yml +1 -1
- data/common/exercises/point-mutations/metadata.yml +1 -1
- data/common/exercises/protein-translation/description.md +1 -1
- data/common/exercises/protein-translation/metadata.yml +1 -1
- data/common/exercises/proverb/metadata.yml +1 -1
- data/common/exercises/queen-attack/metadata.yml +1 -1
- data/common/exercises/raindrops/metadata.yml +1 -1
- data/common/exercises/rna-transcription/metadata.yml +1 -1
- data/common/exercises/robot-name/metadata.yml +1 -1
- data/common/exercises/saddle-points/metadata.yml +1 -1
- data/common/exercises/say/metadata.yml +1 -1
- data/common/exercises/scale-generator/description.md +3 -4
- data/common/exercises/scale-generator/metadata.yml +1 -1
- data/common/exercises/scrabble-score/metadata.yml +1 -1
- data/common/exercises/secret-handshake/metadata.yml +1 -1
- data/common/exercises/series/metadata.yml +1 -1
- data/common/exercises/sieve/metadata.yml +1 -1
- data/common/exercises/space-age/metadata.yml +1 -1
- data/common/exercises/sum-of-multiples/description.md +2 -2
- data/common/exercises/sum-of-multiples/metadata.yml +1 -1
- data/common/exercises/transpose/description.md +1 -1
- data/common/exercises/transpose/metadata.yml +1 -1
- data/common/exercises/triangle/metadata.yml +1 -1
- data/common/exercises/trinary/metadata.yml +1 -1
- data/common/exercises/twelve-days/metadata.yml +1 -1
- data/common/exercises/two-bucket/description.md +1 -1
- data/common/exercises/two-bucket/metadata.yml +1 -1
- data/common/exercises/word-count/metadata.yml +1 -1
- data/common/exercises/zebra-puzzle/metadata.yml +1 -1
- data/lib/trackler/version.rb +1 -1
- data/tracks/erlang/.gitignore +2 -0
- data/tracks/erlang/.travis.yml +8 -4
- data/tracks/erlang/Makefile +16 -0
- data/tracks/erlang/README.md +77 -1
- data/tracks/erlang/_test/bootstrap.sh +17 -4
- data/tracks/erlang/_test/check-exercises.escript +64 -24
- data/tracks/erlang/config.json +63 -63
- data/tracks/erlang/docs/INSTALLATION.md +18 -0
- data/tracks/erlang/docs/TESTS.md +1 -3
- data/tracks/erlang/exercises/accumulate/include/exercism.hrl +6 -0
- data/tracks/erlang/exercises/accumulate/rebar.conf +30 -0
- data/tracks/erlang/exercises/accumulate/src/accumulate.app.src +9 -0
- data/tracks/erlang/exercises/accumulate/{example.erl → src/example.erl} +3 -2
- data/tracks/erlang/exercises/accumulate/test/accumulate_tests.erl +27 -0
- data/tracks/erlang/exercises/allergies/include/exercism.hrl +6 -0
- data/tracks/erlang/exercises/allergies/rebar.conf +30 -0
- data/tracks/erlang/exercises/allergies/src/allergies.app.src +9 -0
- data/tracks/erlang/exercises/allergies/{example.erl → src/example.erl} +9 -10
- data/tracks/erlang/exercises/allergies/{allergies_tests.erl → test/allergies_tests.erl} +17 -20
- data/tracks/erlang/exercises/anagram/include/exercism.hrl +6 -0
- data/tracks/erlang/exercises/anagram/rebar.conf +32 -0
- data/tracks/erlang/exercises/anagram/src/anagram.app.src +9 -0
- data/tracks/erlang/exercises/anagram/{example.erl → src/example.erl} +2 -1
- data/tracks/erlang/exercises/anagram/test/anagram_tests.erl +43 -0
- data/tracks/erlang/exercises/atbash-cipher/include/exercism.hrl +6 -0
- data/tracks/erlang/exercises/atbash-cipher/rebar.conf +30 -0
- data/tracks/erlang/exercises/atbash-cipher/src/atbash_cipher.app.src +9 -0
- data/tracks/erlang/exercises/atbash-cipher/{example.erl → src/example.erl} +1 -1
- data/tracks/erlang/exercises/atbash-cipher/{atbash_cipher_tests.erl → test/atbash_cipher_tests.erl} +6 -2
- data/tracks/erlang/exercises/bank-account/include/exercism.hrl +6 -0
- data/tracks/erlang/exercises/bank-account/rebar.conf +30 -0
- data/tracks/erlang/exercises/bank-account/src/bank_account.app.src +9 -0
- data/tracks/erlang/exercises/bank-account/{example.erl → src/example.erl} +1 -1
- data/tracks/erlang/exercises/bank-account/test/bank_account_tests.erl +98 -0
- data/tracks/erlang/exercises/beer-song/include/exercism.hrl +6 -0
- data/tracks/erlang/exercises/beer-song/rebar.conf +30 -0
- data/tracks/erlang/exercises/beer-song/src/beer_song.app.src +9 -0
- data/tracks/erlang/exercises/beer-song/{example.erl → src/example.erl} +1 -1
- data/tracks/erlang/exercises/beer-song/{beer_song_tests.erl → test/beer_song_tests.erl} +9 -9
- data/tracks/erlang/exercises/binary/include/exercism.hrl +6 -0
- data/tracks/erlang/exercises/binary/rebar.conf +30 -0
- data/tracks/erlang/exercises/binary/src/binary.app.src +9 -0
- data/tracks/erlang/exercises/binary/{example.erl → src/example.erl} +1 -1
- data/tracks/erlang/exercises/binary/{binary_string_tests.erl → test/binary_string_tests.erl} +7 -3
- data/tracks/erlang/exercises/bob/include/exercism.hrl +6 -0
- data/tracks/erlang/exercises/bob/rebar.conf +30 -0
- data/tracks/erlang/exercises/bob/src/bob.app.src +9 -0
- data/tracks/erlang/exercises/bob/{example.erl → src/example.erl} +1 -1
- data/tracks/erlang/exercises/bob/{bob_tests.erl → test/bob_tests.erl} +4 -4
- data/tracks/erlang/exercises/circular-buffer/include/exercism.hrl +6 -0
- data/tracks/erlang/exercises/circular-buffer/rebar.conf +30 -0
- data/tracks/erlang/exercises/circular-buffer/src/circular_buffer.app.src +9 -0
- data/tracks/erlang/exercises/circular-buffer/{example.erl → src/example.erl} +1 -34
- data/tracks/erlang/exercises/circular-buffer/test/circular_buffer_tests.erl +58 -0
- data/tracks/erlang/exercises/clock/include/exercism.hrl +6 -0
- data/tracks/erlang/exercises/clock/rebar.conf +30 -0
- data/tracks/erlang/exercises/clock/src/clock.app.src +9 -0
- data/tracks/erlang/exercises/clock/{example.erl → src/example.erl} +1 -1
- data/tracks/erlang/exercises/clock/{clock_tests.erl → test/clock_tests.erl} +51 -48
- data/tracks/erlang/exercises/difference-of-squares/include/exercism.hrl +6 -0
- data/tracks/erlang/exercises/difference-of-squares/rebar.conf +30 -0
- data/tracks/erlang/exercises/difference-of-squares/src/difference_of_squares.app.src +9 -0
- data/tracks/erlang/exercises/difference-of-squares/{example.erl → src/example.erl} +1 -1
- data/tracks/erlang/exercises/difference-of-squares/{difference_of_squares_tests.erl → test/difference_of_squares_tests.erl} +7 -3
- data/tracks/erlang/exercises/etl/include/exercism.hrl +6 -0
- data/tracks/erlang/exercises/etl/rebar.conf +30 -0
- data/tracks/erlang/exercises/etl/src/etl.app.src +9 -0
- data/tracks/erlang/exercises/etl/{example.erl → src/example.erl} +1 -2
- data/tracks/erlang/exercises/etl/{etl_tests.erl → test/etl_tests.erl} +3 -4
- data/tracks/erlang/exercises/gigasecond/include/exercism.hrl +6 -0
- data/tracks/erlang/exercises/gigasecond/rebar.conf +30 -0
- data/tracks/erlang/exercises/gigasecond/{example.erl → src/example.erl} +1 -2
- data/tracks/erlang/exercises/gigasecond/src/gigasecond.app.src +9 -0
- data/tracks/erlang/exercises/gigasecond/test/gigasecond_tests.erl +22 -0
- data/tracks/erlang/exercises/grade-school/include/exercism.hrl +6 -0
- data/tracks/erlang/exercises/grade-school/rebar.conf +30 -0
- data/tracks/erlang/exercises/grade-school/{example.erl → src/example.erl} +1 -1
- data/tracks/erlang/exercises/grade-school/src/grade_school.app.src +9 -0
- data/tracks/erlang/exercises/grade-school/test/grade_school_tests.erl +47 -0
- data/tracks/erlang/exercises/grains/include/exercism.hrl +6 -0
- data/tracks/erlang/exercises/grains/rebar.conf +30 -0
- data/tracks/erlang/exercises/grains/{example.erl → src/example.erl} +1 -2
- data/tracks/erlang/exercises/grains/src/grains.app.src +9 -0
- data/tracks/erlang/exercises/grains/test/grains_tests.erl +32 -0
- data/tracks/erlang/exercises/hamming/include/exercism.hrl +6 -0
- data/tracks/erlang/exercises/hamming/rebar.conf +30 -0
- data/tracks/erlang/exercises/hamming/{example.erl → src/example.erl} +1 -1
- data/tracks/erlang/exercises/hamming/src/hamming.app.src +9 -0
- data/tracks/erlang/exercises/hamming/test/hamming_tests.erl +24 -0
- data/tracks/erlang/exercises/hello-world/include/exercism.hrl +6 -0
- data/tracks/erlang/exercises/hello-world/rebar.conf +30 -0
- data/tracks/erlang/exercises/hello-world/{example.erl → src/example.erl} +1 -1
- data/tracks/erlang/exercises/hello-world/src/hello_world.app.src +9 -0
- data/tracks/erlang/exercises/hello-world/test/hello_world_tests.erl +18 -0
- data/tracks/erlang/exercises/largest-series-product/include/exercism.hrl +6 -0
- data/tracks/erlang/exercises/largest-series-product/rebar.conf +30 -0
- data/tracks/erlang/exercises/largest-series-product/{example.erl → src/example.erl} +1 -1
- data/tracks/erlang/exercises/largest-series-product/src/largest_series_product.app.src +9 -0
- data/tracks/erlang/exercises/largest-series-product/test/largest_series_product_tests.erl +57 -0
- data/tracks/erlang/exercises/leap/include/exercism.hrl +6 -0
- data/tracks/erlang/exercises/leap/rebar.conf +30 -0
- data/tracks/erlang/exercises/leap/{example.erl → src/example.erl} +1 -1
- data/tracks/erlang/exercises/leap/src/leap.app.src +9 -0
- data/tracks/erlang/exercises/leap/test/leap_tests.erl +18 -0
- data/tracks/erlang/exercises/luhn/include/exercism.hrl +6 -0
- data/tracks/erlang/exercises/luhn/rebar.conf +30 -0
- data/tracks/erlang/exercises/luhn/{example.erl → src/example.erl} +1 -1
- data/tracks/erlang/exercises/luhn/src/luhn.app.src +9 -0
- data/tracks/erlang/exercises/luhn/test/luhn_tests.erl +18 -0
- data/tracks/erlang/exercises/meetup/include/exercism.hrl +6 -0
- data/tracks/erlang/exercises/meetup/rebar.conf +30 -0
- data/tracks/erlang/exercises/meetup/{example.erl → src/example.erl} +1 -2
- data/tracks/erlang/exercises/meetup/src/meetup.app.src +9 -0
- data/tracks/erlang/exercises/meetup/{meetup_tests.erl → test/meetup_tests.erl} +94 -95
- data/tracks/erlang/exercises/nucleotide-count/include/exercism.hrl +6 -0
- data/tracks/erlang/exercises/nucleotide-count/rebar.conf +30 -0
- data/tracks/erlang/exercises/nucleotide-count/{example.erl → src/example.erl} +1 -1
- data/tracks/erlang/exercises/nucleotide-count/src/nucleotide_count.app.src +9 -0
- data/tracks/erlang/exercises/nucleotide-count/test/dna_tests.erl +30 -0
- data/tracks/erlang/exercises/parallel-letter-frequency/include/exercism.hrl +6 -0
- data/tracks/erlang/exercises/parallel-letter-frequency/rebar.conf +30 -0
- data/tracks/erlang/exercises/parallel-letter-frequency/{example.erl → src/example.erl} +1 -1
- data/tracks/erlang/exercises/parallel-letter-frequency/src/parallel_letter_frequency.app.src +9 -0
- data/tracks/erlang/exercises/parallel-letter-frequency/{parallel_letter_frequency_tests.erl → test/parallel_letter_frequency_tests.erl} +6 -2
- data/tracks/erlang/exercises/phone-number/include/exercism.hrl +6 -0
- data/tracks/erlang/exercises/phone-number/rebar.conf +30 -0
- data/tracks/erlang/exercises/phone-number/{example.erl → src/example.erl} +1 -1
- data/tracks/erlang/exercises/phone-number/src/phone_number.app.src +9 -0
- data/tracks/erlang/exercises/phone-number/test/phone_tests.erl +28 -0
- data/tracks/erlang/exercises/rna-transcription/include/exercism.hrl +6 -0
- data/tracks/erlang/exercises/rna-transcription/rebar.conf +30 -0
- data/tracks/erlang/exercises/rna-transcription/{example.erl → src/example.erl} +1 -1
- data/tracks/erlang/exercises/rna-transcription/src/rna_transcription.app.src +9 -0
- data/tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl +24 -0
- data/tracks/erlang/exercises/robot-simulator/include/exercism.hrl +6 -0
- data/tracks/erlang/exercises/robot-simulator/rebar.conf +30 -0
- data/tracks/erlang/exercises/robot-simulator/{example.erl → src/example.erl} +1 -1
- data/tracks/erlang/exercises/robot-simulator/src/robot_simulator.app.src +9 -0
- data/tracks/erlang/exercises/robot-simulator/test/robot_simulator_tests.erl +100 -0
- data/tracks/erlang/exercises/roman-numerals/include/exercism.hrl +6 -0
- data/tracks/erlang/exercises/roman-numerals/rebar.conf +30 -0
- data/tracks/erlang/exercises/roman-numerals/{example.erl → src/example.erl} +1 -1
- data/tracks/erlang/exercises/roman-numerals/src/roman_numerals.app.src +9 -0
- data/tracks/erlang/exercises/roman-numerals/{roman_numerals_tests.erl → test/roman_numerals_tests.erl} +3 -4
- data/tracks/erlang/exercises/scrabble-score/include/exercism.hrl +6 -0
- data/tracks/erlang/exercises/scrabble-score/rebar.conf +30 -0
- data/tracks/erlang/exercises/scrabble-score/{example.erl → src/example.erl} +2 -2
- data/tracks/erlang/exercises/scrabble-score/src/scrabble_score.app.src +9 -0
- data/tracks/erlang/exercises/scrabble-score/{scrabble_score_tests.erl → test/scrabble_score_tests.erl} +5 -1
- data/tracks/erlang/exercises/series/include/exercism.hrl +6 -0
- data/tracks/erlang/exercises/series/rebar.conf +30 -0
- data/tracks/erlang/exercises/series/{example.erl → src/example.erl} +1 -1
- data/tracks/erlang/exercises/series/src/series.app.src +9 -0
- data/tracks/erlang/exercises/series/test/series_tests.erl +10 -0
- data/tracks/erlang/exercises/space-age/include/exercism.hrl +6 -0
- data/tracks/erlang/exercises/space-age/rebar.conf +30 -0
- data/tracks/erlang/exercises/space-age/{example.erl → src/example.erl} +1 -1
- data/tracks/erlang/exercises/space-age/src/space_age.app.src +9 -0
- data/tracks/erlang/exercises/space-age/test/space_age_tests.erl +51 -0
- data/tracks/erlang/exercises/strain/include/exercism.hrl +6 -0
- data/tracks/erlang/exercises/strain/rebar.conf +30 -0
- data/tracks/erlang/exercises/strain/{example.erl → src/example.erl} +1 -1
- data/tracks/erlang/exercises/strain/src/strain.app.src +9 -0
- data/tracks/erlang/exercises/strain/test/strain_tests.erl +52 -0
- data/tracks/erlang/exercises/sum-of-multiples/include/exercism.hrl +6 -0
- data/tracks/erlang/exercises/sum-of-multiples/rebar.conf +30 -0
- data/tracks/erlang/exercises/sum-of-multiples/{example.erl → src/example.erl} +1 -1
- data/tracks/erlang/exercises/sum-of-multiples/src/sum_of_multiples.app.src +9 -0
- data/tracks/erlang/exercises/sum-of-multiples/test/sum_of_multiples_tests.erl +39 -0
- data/tracks/erlang/exercises/triangle/include/exercism.hrl +6 -0
- data/tracks/erlang/exercises/triangle/rebar.conf +30 -0
- data/tracks/erlang/exercises/triangle/{example.erl → src/example.erl} +1 -1
- data/tracks/erlang/exercises/triangle/src/triangle.app.src +9 -0
- data/tracks/erlang/exercises/triangle/{triangle_tests.erl → test/triangle_tests.erl} +19 -18
- data/tracks/erlang/exercises/trinary/include/exercism.hrl +6 -0
- data/tracks/erlang/exercises/trinary/rebar.conf +30 -0
- data/tracks/erlang/exercises/trinary/{example.erl → src/example.erl} +1 -2
- data/tracks/erlang/exercises/trinary/src/trinary.app.src +9 -0
- data/tracks/erlang/exercises/trinary/test/trinary_tests.erl +36 -0
- data/tracks/erlang/exercises/word-count/include/exercism.hrl +6 -0
- data/tracks/erlang/exercises/word-count/rebar.conf +30 -0
- data/tracks/erlang/exercises/word-count/{example.erl → src/example.erl} +1 -1
- data/tracks/erlang/exercises/word-count/src/word_count.app.src +9 -0
- data/tracks/erlang/exercises/word-count/{word_count_tests.erl → test/word_count_tests.erl} +4 -2
- data/tracks/erlang/exercises/zipper/include/exercism.hrl +6 -0
- data/tracks/erlang/exercises/zipper/rebar.conf +30 -0
- data/tracks/erlang/exercises/zipper/{example.erl → src/example.erl} +1 -1
- data/tracks/erlang/exercises/zipper/src/zipper.app.src +9 -0
- data/tracks/erlang/exercises/zipper/test/zipper_tests.erl +100 -0
- data/tracks/go/config.json +14 -4
- data/tracks/go/exercises/acronym/acronym_test.go +1 -1
- data/tracks/go/exercises/all-your-base/all_your_base_test.go +8 -8
- data/tracks/go/exercises/luhn/luhn_test.go +6 -6
- data/tracks/go/exercises/word-search/word_search_test.go +4 -1
- data/tracks/go/exercises/wordy/example.go +2 -0
- data/tracks/go/exercises/wordy/wordy_test.go +8 -0
- data/tracks/haskell/.travis.yml +3 -57
- data/tracks/haskell/README.md +13 -10
- data/tracks/haskell/bin/test-all-examples +20 -0
- data/tracks/haskell/bin/test-example +73 -0
- data/tracks/haskell/bin/test-stub +43 -0
- data/tracks/haskell/config.json +0 -1
- data/tracks/haskell/exercises/accumulate/examples/fail-reverse/package.yaml +16 -0
- data/tracks/haskell/exercises/accumulate/examples/fail-reverse/src/Accumulate.hs +7 -0
- data/tracks/haskell/exercises/accumulate/examples/success-standard/src/Accumulate.hs +0 -7
- data/tracks/haskell/exercises/atbash-cipher/test/Tests.hs +1 -5
- data/tracks/haskell/exercises/forth/test/Tests.hs +1 -4
- data/tracks/haskell/exercises/leap/examples/error-nosig/package.yaml +16 -0
- data/tracks/haskell/exercises/leap/examples/error-nosig/src/LeapYear.hs +4 -0
- data/tracks/haskell/exercises/nucleotide-count/examples/success-standard/src/DNA.hs +2 -5
- data/tracks/haskell/exercises/nucleotide-count/src/DNA.hs +1 -4
- data/tracks/haskell/exercises/nucleotide-count/test/Tests.hs +3 -22
- data/tracks/haskell/exercises/prime-factors/test/Tests.hs +9 -15
- data/tracks/haskell/exercises/scrabble-score/test/Tests.hs +1 -5
- data/tracks/haskell/exercises/secret-handshake/examples/success-standard/src/SecretHandshake.hs +3 -21
- data/tracks/haskell/exercises/secret-handshake/src/SecretHandshake.hs +1 -0
- data/tracks/haskell/exercises/secret-handshake/test/Tests.hs +20 -23
- data/tracks/haskell/exercises/strain/examples/fail-reverse/package.yaml +16 -0
- data/tracks/haskell/exercises/strain/examples/fail-reverse/src/Strain.hs +9 -0
- data/tracks/haskell/exercises/triangle/test/Tests.hs +6 -1
- data/tracks/julia/config.json +20 -2
- data/tracks/julia/exercises/raindrops/example.jl +16 -0
- data/tracks/julia/exercises/raindrops/raindrops.jl +3 -0
- data/tracks/julia/exercises/raindrops/runtests.jl +72 -0
- data/tracks/julia/exercises/secret-handshake/example.jl +12 -0
- data/tracks/julia/exercises/secret-handshake/runtests.jl +51 -0
- data/tracks/julia/exercises/secret-handshake/secret-handshake.jl +3 -0
- metadata +198 -79
- data/tracks/erlang/exercises/accumulate/accumulate_tests.erl +0 -28
- data/tracks/erlang/exercises/anagram/anagram_tests.erl +0 -39
- data/tracks/erlang/exercises/bank-account/bank_account_tests.erl +0 -95
- data/tracks/erlang/exercises/circular-buffer/circular_buffer_tests.erl +0 -54
- data/tracks/erlang/exercises/clock/clock.erl +0 -14
- data/tracks/erlang/exercises/gigasecond/gigasecond_tests.erl +0 -29
- data/tracks/erlang/exercises/grade-school/grade_school_tests.erl +0 -49
- data/tracks/erlang/exercises/grains/grains_tests.erl +0 -31
- data/tracks/erlang/exercises/hamming/dna_tests.erl +0 -21
- data/tracks/erlang/exercises/hello-world/hello_world_tests.erl +0 -19
- data/tracks/erlang/exercises/largest-series-product/largest_series_product.erl +0 -5
- data/tracks/erlang/exercises/largest-series-product/largest_series_product_tests.erl +0 -54
- data/tracks/erlang/exercises/leap/leap_tests.erl +0 -20
- data/tracks/erlang/exercises/luhn/luhn_tests.erl +0 -19
- data/tracks/erlang/exercises/nucleotide-count/dna_tests.erl +0 -27
- data/tracks/erlang/exercises/phone-number/phone_tests.erl +0 -29
- data/tracks/erlang/exercises/rna-transcription/rna_transcription_tests.erl +0 -24
- data/tracks/erlang/exercises/robot-simulator/robot_simulator_tests.erl +0 -96
- data/tracks/erlang/exercises/roman-numerals/roman_numerals.erl +0 -6
- data/tracks/erlang/exercises/series/series_tests.erl +0 -6
- data/tracks/erlang/exercises/space-age/space_age_tests.erl +0 -48
- data/tracks/erlang/exercises/strain/strain_tests.erl +0 -49
- data/tracks/erlang/exercises/sum-of-multiples/sum_of_multiples_tests.erl +0 -37
- data/tracks/erlang/exercises/trinary/trinary_tests.erl +0 -37
- data/tracks/erlang/exercises/zipper/zipper_tests.erl +0 -103
- data/tracks/haskell/exercises/secret-handshake/.meta/DONT-TEST-STUB +0 -1
- data/tracks/haskell/exercises/secret-handshake/HINTS.md +0 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d7ddde3056ab163b7718af1639a04e6a62070cc3
|
4
|
+
data.tar.gz: 9b421ddd1e5353e4991c2e998cb7659914abbf5e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: edf4beb90e00817e76a6c256834b55e913c47b5e6fc3df7da8ec01d8a1da6e34afa950c1b539eee2a70dcef9a8328e5768c344b4f2288d3934b41eb517b2eb9d
|
7
|
+
data.tar.gz: 3459c81f9e66d909fc2361fb0825271281ad83883baa3e15d1f24ac34934e2aca68d1e6a9235458156487d03b83fed2b5a4a62f36085ad9cd2f783bf5f37d29a
|
@@ -1,2 +1,2 @@
|
|
1
1
|
---
|
2
|
-
blurb: "
|
2
|
+
blurb: "Convert a number, represented as a sequence of digits in one base, to any other base."
|
@@ -1,4 +1,4 @@
|
|
1
1
|
---
|
2
|
-
blurb: "
|
2
|
+
blurb: "Given a person's allergy score, determine whether or not they're allergic to a given item, and their full list of allergies."
|
3
3
|
source: "Jumpstart Lab Warm-up"
|
4
4
|
source_url: "http://jumpstartlab.com"
|
@@ -1,4 +1,4 @@
|
|
1
1
|
---
|
2
|
-
blurb: "
|
2
|
+
blurb: "Given a word and a list of possible anagrams, select the correct sublist."
|
3
3
|
source: "Inspired by the Extreme Startup game"
|
4
4
|
source_url: "https://github.com/rchatley/extreme_startup"
|
@@ -1,4 +1,4 @@
|
|
1
1
|
---
|
2
|
-
blurb: "
|
2
|
+
blurb: "Produce the lyrics to that beloved classic, that field-trip favorite: 99 Bottles of Beer on the Wall."
|
3
3
|
source: "Learn to Program by Chris Pine"
|
4
4
|
source_url: "http://pine.fm/LearnToProgram/?Chapter=06"
|
@@ -1,4 +1,4 @@
|
|
1
1
|
---
|
2
|
-
blurb: "
|
2
|
+
blurb: "Convert a binary number, represented as a string (e.g. '101010'), to its decimal equivalent using first principles"
|
3
3
|
source: "All of Computer Science"
|
4
4
|
source_url: "http://www.wolframalpha.com/input/?i=binary&a=*C.binary-_*MathWorld-"
|
@@ -1,6 +1,6 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
Correctly determine the fewest number of coins to be given to the user
|
2
|
+
such that the sum of the coins' value would equal the correct amount
|
3
|
+
of change.
|
4
4
|
|
5
5
|
## For example
|
6
6
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
---
|
2
|
-
blurb: "
|
2
|
+
blurb: "Correctly determine change to be given using the least number of coins"
|
3
3
|
source: "Software Craftsmanship - Kata-logue"
|
4
4
|
source_url: "http://craftsmanship.sv.cmu.edu/exercises/coin-change-kata"
|
5
5
|
|
@@ -1,5 +1,4 @@
|
|
1
|
-
|
2
|
-
of that text.
|
1
|
+
Given an English text, output the encoded version of that text.
|
3
2
|
|
4
3
|
First, the input is normalized: the spaces and punctuation are removed
|
5
4
|
from the English text and the message is downcased.
|
@@ -30,8 +30,8 @@ input letters:
|
|
30
30
|
- "d" is worth 2 points.
|
31
31
|
- Etc.
|
32
32
|
|
33
|
-
Your mission, should you choose to accept it, is to
|
34
|
-
|
33
|
+
Your mission, should you choose to accept it, is to transform the legacy data
|
34
|
+
format to the shiny new format.
|
35
35
|
|
36
36
|
### Notes
|
37
37
|
|
@@ -1,4 +1,4 @@
|
|
1
1
|
---
|
2
|
-
blurb: "
|
2
|
+
blurb: "Take a nested list and return a single list with all values except nil/null"
|
3
3
|
source: "Interview Question"
|
4
4
|
source_url: "https://reference.wolfram.com/language/ref/Flatten.html"
|
@@ -1,8 +1,7 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
algorithmically.
|
1
|
+
Generate the lyrics to the song "I know an old lady who
|
2
|
+
swallowed a fly". While you could copy/paste the lyrics,
|
3
|
+
or read them from a file, this problem is much more
|
4
|
+
interesting if you approach it algorithmically.
|
6
5
|
|
7
6
|
This is a [cumulative song](http://en.wikipedia.org/wiki/Cumulative_song) of unknown origin.
|
8
7
|
|
@@ -1,4 +1,4 @@
|
|
1
1
|
---
|
2
|
-
blurb: "
|
2
|
+
blurb: "Generate the lyrics of the song 'I Know an Old Lady Who Swallowed a Fly'"
|
3
3
|
source: "Wikipedia"
|
4
4
|
source_url: "http://en.wikipedia.org/wiki/There_Was_an_Old_Lady_Who_Swallowed_a_Fly"
|
@@ -1,4 +1,4 @@
|
|
1
1
|
---
|
2
|
-
blurb: "
|
2
|
+
blurb: "Calculate the moment when someone has lived for 10^9 seconds."
|
3
3
|
source: "Chapter 9 in Chris Pine's online Learn to Program tutorial."
|
4
4
|
source_url: "http://pine.fm/LearnToProgram/?Chapter=09"
|
@@ -1,4 +1,4 @@
|
|
1
1
|
---
|
2
|
-
blurb: "
|
2
|
+
blurb: "Given students' names along with the grade that they are in, create a roster for the school"
|
3
3
|
source: "A pairing session with Phil Battos at gSchool"
|
4
4
|
source_url: "http://gschool.it"
|
@@ -1,4 +1,4 @@
|
|
1
1
|
---
|
2
|
-
blurb: "
|
2
|
+
blurb: "Calculate the number of grains of wheat on a chessboard given that the number on each square doubles."
|
3
3
|
source: "JavaRanch Cattle Drive, exercise 6"
|
4
4
|
source_url: "http://www.javaranch.com/grains.jsp"
|
@@ -1,4 +1,4 @@
|
|
1
1
|
---
|
2
|
-
blurb: "
|
2
|
+
blurb: "Calculate the Hamming difference between two DNA strands."
|
3
3
|
source: "The Calculating Point Mutations problem at Rosalind"
|
4
4
|
source_url: "http://rosalind.info/problems/hamm/"
|
@@ -1,4 +1,4 @@
|
|
1
1
|
---
|
2
|
-
blurb: '
|
2
|
+
blurb: 'Greet the user by name, or by saying "Hello, World!" if no name is given.'
|
3
3
|
source: "This is an exercise to introduce users to using Exercism"
|
4
4
|
source_url: "http://en.wikipedia.org/wiki/%22Hello,_world!%22_program"
|
@@ -1,5 +1,5 @@
|
|
1
1
|
---
|
2
|
-
blurb: "
|
2
|
+
blurb: "Convert a hexadecimal number, represented as a string (e.g. \"10af8c\"), to its decimal equivalent using first principles (i.e. no, you may not use built-in or external libraries to accomplish the conversion)."
|
3
3
|
source: "All of Computer Science"
|
4
4
|
source_url: "http://www.wolframalpha.com/examples/NumberBases.html"
|
5
5
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
---
|
2
|
-
blurb: "
|
2
|
+
blurb: "Output the nursery rhyme 'This is the House that Jack Built'."
|
3
3
|
source: "British nursery rhyme"
|
4
4
|
source_url: "http://en.wikipedia.org/wiki/This_Is_The_House_That_Jack_Built"
|
5
5
|
|
@@ -1,4 +1,4 @@
|
|
1
1
|
---
|
2
|
-
blurb: "
|
2
|
+
blurb: "Given a diagram, determine which plants each child in the kindergarten class is responsible for."
|
3
3
|
source: "Random musings during airplane trip."
|
4
4
|
source_url: "http://jumpstartlab.com"
|
@@ -1,4 +1,4 @@
|
|
1
1
|
---
|
2
|
-
blurb: "
|
2
|
+
blurb: "Given a string of digits, calculate the largest product for a contiguous substring of digits of length n."
|
3
3
|
source: "A variation on Problem 8 at Project Euler"
|
4
4
|
source_url: "http://projecteuler.net/problem=8"
|
@@ -3,7 +3,7 @@ a simple checksum formula used to validate a variety of identification
|
|
3
3
|
numbers, such as credit card numbers and Canadian Social Insurance
|
4
4
|
Numbers.
|
5
5
|
|
6
|
-
The task is to
|
6
|
+
The task is to check if a given string is valid.
|
7
7
|
|
8
8
|
Validating a Number
|
9
9
|
------
|
@@ -1,4 +1,4 @@
|
|
1
1
|
---
|
2
|
-
blurb: "
|
2
|
+
blurb: "Given a number determine whether or not it is valid per the Luhn formula."
|
3
3
|
source: "The Luhn Algorithm on Wikipedia"
|
4
4
|
source_url: "http://en.wikipedia.org/wiki/Luhn_algorithm"
|
@@ -1,4 +1,4 @@
|
|
1
1
|
---
|
2
|
-
blurb: "
|
2
|
+
blurb: "Given a string representing a matrix of numbers, return the rows and columns of that matrix."
|
3
3
|
source: "Warmup to the `saddle-points` warmup."
|
4
4
|
source_url: "http://jumpstartlab.com"
|
@@ -1,2 +1,2 @@
|
|
1
1
|
---
|
2
|
-
blurb: "
|
2
|
+
blurb: "Add the numbers to a minesweeper board"
|
@@ -1,4 +1,4 @@
|
|
1
1
|
---
|
2
|
-
blurb: "
|
2
|
+
blurb: "Given a 3 x 4 grid of pipes, underscores, and spaces, determine which number is represented, or whether it is garbled."
|
3
3
|
source: "Inspired by the Bank OCR kata"
|
4
4
|
source_url: "http://codingdojo.org/cgi-bin/wiki.pl?KataBankOCR"
|
@@ -1,5 +1,5 @@
|
|
1
1
|
---
|
2
|
-
blurb: "
|
2
|
+
blurb: "Convert a octal number, represented as a string (e.g. '1735263'), to its decimal equivalent using first principles (i.e. no, you may not use built-in or external libraries to accomplish the conversion)."
|
3
3
|
source: "All of Computer Science"
|
4
4
|
source_url: "http://www.wolframalpha.com/input/?i=base+8"
|
5
5
|
|
@@ -1,2 +1,30 @@
|
|
1
|
-
A palindromic number
|
2
|
-
|
1
|
+
A palindromic number is a number that remains the same when its digits are
|
2
|
+
reversed. For example, `121` is a palindromic number but `112` is not.
|
3
|
+
|
4
|
+
Given the definition of a palindromic number, we define a palindrome _product_
|
5
|
+
to be the product `c`, such that `a * b = c`, where `c` is a palindromic number and
|
6
|
+
`a` and `b` are integers (possibly, but _not_ necessarily palindromic numbers).
|
7
|
+
|
8
|
+
For example, the palindromic number 9009 can be written as the palindrome
|
9
|
+
product: `91 * 99 = 9009`.
|
10
|
+
|
11
|
+
It's possible (and indeed common) for a palindrome product to be the product
|
12
|
+
of multiple combinations of numbers. For example, the palindrome product `9` has
|
13
|
+
the factors `(1, 9)`, `(3, 3)`, and `(9, 1)`.
|
14
|
+
|
15
|
+
Write a program that given a range of integers, returns the smallest and largest
|
16
|
+
palindromic product within that range, along with all of it's factors.
|
17
|
+
|
18
|
+
## Example 1
|
19
|
+
|
20
|
+
Given the range `[1, 9]` (both inclusive)...
|
21
|
+
|
22
|
+
The smallest product is `1`. It's factors are `(1, 1)`.
|
23
|
+
The largest product is `9`. It's factors are `(1, 9)`, `(3, 3)`, and `(9, 1)`.
|
24
|
+
|
25
|
+
## Example 2
|
26
|
+
|
27
|
+
Given the range `[10, 99]` (both inclusive)...
|
28
|
+
|
29
|
+
The smallest palindrome product is `121`. It's factors are `(11, 11)`.
|
30
|
+
The largest palindrome product is `9009`. It's factors are `(93, 99)` and `(99, 91)`.
|
@@ -1,2 +1,2 @@
|
|
1
1
|
---
|
2
|
-
blurb: "
|
2
|
+
blurb: "Count the frequency of letters in texts using parallel computation."
|
@@ -1,4 +1,4 @@
|
|
1
1
|
---
|
2
|
-
blurb: "
|
2
|
+
blurb: "Compute Pascal's triangle up to a given number of rows."
|
3
3
|
source: "Pascal's Triangle at Wolfram Math World"
|
4
4
|
source_url: "http://mathworld.wolfram.com/PascalsTriangle.html"
|
@@ -1,4 +1,4 @@
|
|
1
1
|
---
|
2
|
-
blurb: "
|
2
|
+
blurb: "Clean up user-entered phone numbers so that they can be sent SMS messages."
|
3
3
|
source: "Event Manager by JumpstartLab"
|
4
4
|
source_url: "http://tutorials.jumpstartlab.com/projects/eventmanager.html"
|
@@ -1,4 +1,4 @@
|
|
1
1
|
---
|
2
|
-
blurb: "
|
2
|
+
blurb: "Calculate the Hamming difference between two DNA strands."
|
3
3
|
source: "The Calculating Point Mutations problem at Rosalind"
|
4
4
|
source_url: "http://rosalind.info/problems/hamm/"
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
Let's translate RNA sequences into proteins. [general ref](http://en.wikipedia.org/wiki/Translation_(biology)
|
2
2
|
|
3
3
|
RNA can be broken into three nucleotide sequences called codons, and then translated to a polypeptide like so:
|
4
4
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
---
|
2
|
-
blurb: "For want of a horseshoe nail, a kingdom was lost, or so the saying goes.
|
2
|
+
blurb: "For want of a horseshoe nail, a kingdom was lost, or so the saying goes. Output the full text of this proverbial rhyme."
|
3
3
|
source: "Wikipedia"
|
4
4
|
source_url: "http://en.wikipedia.org/wiki/For_Want_of_a_Nail"
|
5
5
|
|
@@ -1,4 +1,4 @@
|
|
1
1
|
---
|
2
|
-
blurb: "
|
2
|
+
blurb: "Given the position of two queens on a chess board, indicate whether or not they are positioned so that they can attack each other."
|
3
3
|
source: "J Dalbey's Programming Practice problems"
|
4
4
|
source_url: "http://users.csc.calpoly.edu/~jdalbey/103/Projects/ProgrammingPractice.html"
|
@@ -1,4 +1,4 @@
|
|
1
1
|
---
|
2
|
-
blurb: "
|
2
|
+
blurb: "Convert a number to a string, the contents of which depend on the number's factors."
|
3
3
|
source: "A variation on a famous interview question intended to weed out potential candidates."
|
4
4
|
source_url: "http://jumpstartlab.com"
|
@@ -1,4 +1,4 @@
|
|
1
1
|
---
|
2
|
-
blurb: "
|
2
|
+
blurb: "Given a number from 0 to 999,999,999,999, spell out that number in English."
|
3
3
|
source: "A variation on JavaRanch CattleDrive, exercise 4a"
|
4
4
|
source_url: "http://www.javaranch.com/say.jsp"
|
@@ -1,7 +1,6 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
following the specified interval pattern.
|
1
|
+
Given a tonic, or starting note, and a set of intervals, generate
|
2
|
+
the musical scale starting with the tonic and following the
|
3
|
+
specified interval pattern.
|
5
4
|
|
6
5
|
Scales in Western music are based on the chromatic (12-note) scale.This
|
7
6
|
scale can be expressed as the following group of pitches:
|
@@ -1,2 +1,2 @@
|
|
1
1
|
---
|
2
|
-
blurb: "
|
2
|
+
blurb: "Generate musical scales, given a starting note and a set of intervals. "
|
@@ -1,4 +1,4 @@
|
|
1
1
|
---
|
2
|
-
blurb: "
|
2
|
+
blurb: "Given a decimal number, convert it to the appropriate sequence of events for a secret handshake."
|
3
3
|
source: "Bert, in Mary Poppins"
|
4
4
|
source_url: "http://www.imdb.com/character/ch0011238/quotes"
|
@@ -1,4 +1,4 @@
|
|
1
1
|
---
|
2
|
-
blurb: "
|
2
|
+
blurb: "Given a string of digits, output all the contiguous substrings of length `n` in that string."
|
3
3
|
source: "A subset of the Problem 8 at Project Euler"
|
4
4
|
source_url: "http://projecteuler.net/problem=8"
|
@@ -1,4 +1,4 @@
|
|
1
1
|
---
|
2
|
-
blurb: "
|
2
|
+
blurb: "Use the Sieve of Eratosthenes to find all the primes from 2 up to a given number."
|
3
3
|
source: "Sieve of Eratosthenes at Wikipedia"
|
4
4
|
source_url: "http://en.wikipedia.org/wiki/Sieve_of_Eratosthenes"
|
@@ -1,4 +1,4 @@
|
|
1
1
|
---
|
2
|
-
blurb: "
|
2
|
+
blurb: "Given an age in seconds, calculate how old someone is in terms of a given planet's solar years."
|
3
3
|
source: "Partially inspired by Chapter 1 in Chris Pine's online Learn to Program tutorial."
|
4
4
|
source_url: "http://pine.fm/LearnToProgram/?Chapter=01"
|
@@ -3,5 +3,5 @@ multiples of either 3 or 5, we get 3, 5, 6 and 9, 10, 12, 15, and 18.
|
|
3
3
|
|
4
4
|
The sum of these multiples is 78.
|
5
5
|
|
6
|
-
|
7
|
-
|
6
|
+
Given a number, find the sum of the multiples of a given set of numbers,
|
7
|
+
up to but not including that number.
|