Exercism.io provides excellent challenge material with support for multiple languages.
I have started following these to supplement my experience at Makers bootcamp. I use it mostly for morning practice to try and develop some core language skills and confidence.
Some set-up required:
- install exercism
brew update && brew install exercism
- install test dependencies eg minitest for ruby
gem install minitest
- setup your CLI and edit config if you want to change location
To submit:
exercism submit ./path/to/file
Running tests:
- cd to project folder
ruby hamming_test.rb
Core:
- TwoFer
- Hamming
- Raindrops
- Acronym
- High-Scores
- Matrix
- Series
- Word Count
- Register Color Duo
- Isogram
- Scrabble Score
- Luhn
- Clock
- Twelve Days
- Tournament
Additional:
- Leap [Easy]
- Grains [Medium]
- Gigasecond [Easy]
- Sieve [Easy]
- rna-transcription [Easy]
- pangram [Easy]
- bob [Easy]
- triangle [Easy]
- resistor-color [Easy]
- strain [Easy][I think this was hard!]
- anagram [Medium]
- nth-prime [Easy]
- sum-of-multiples [Medium]
Core:
- Leap
- RNA Transcription
- Simple Cipher
Additional:
- Protein Translation
- Minesweeper
Use virtualenvwrapper to create a venv in .virtualenv folder
mkvirtualenv -p python3 exercism
- activate the venv in your project with
workon exercism
Running tests:
pip3 install pytest pytest-cache
- ensure the venv is activated (see above)
pytest bob_test.py
Core:
- TwoFer
- Raindrops
- High Scores
- Matrix
- Hamming
- Isogram
- Twelve Days
- Word Count
- Scrabble Score
- Acronym
- Kindergarten
- Grade School
- Luhn
- Clock
- Markdown
- Tournament
- Book Store
Additional:
- Leap [Easy]
Core:
- TwoFer
- Hamming
Additional:
Core:
- Hello World
- TwoFer
- Hamming
Additional:
Core:
- Hello World
- TwoFer
- Hamming
Additional: