Weekly Coding Challenge
Coding Challenge is a community service that publishes one coding challenge per week. Sources will range from textbooks to interview questions to community-submitted content. Topics will range between general coding practices to engineering problems.
A problem will be posted each week with all reasonably valid solutions posted one week later. Comments aren't discouraged but a good solution will be self-explanatory and easy to read. Only solutions posted from http://gist.github.com/ or a public GitHub repo will be accepted.
Check the PivotalTracker Project Page if you would like to contribute. Contributing is easy:
- For the project
- Create a topic branch
- Create tests and ensure you didn't break anything.
- Submit pull request.
Setting up Weekly Coding Challenge locally
The only dependency is postgresql, which can be installed pretty easily by a reasonably competent programmer. This [very short] guide assumes you don't have Ruby installed.
- Install postgresql
- Install Ruby
- Start postgresql
- Clone the project
- run
bundle install && bundle exec rake db:create
- run
bundle exec rails server
- The application should be running at http://localhost:3000
- ???
- Profit!
Submitting Challenge Solutions
Challenges can be submitted to the Weekly Coding Challenge website. You can vote on solutions if you are logged in.