Indy.rb's Bio Code Golf
Tonight we are code-golfing, with a bioinformatics slant. What is code golf?
Code golf is a type of recreational computer programming competition in which participants strive to achieve the shortest possible code that implements a certain algorithm.
Sound intimidating? It's not. The ultimate goal is to write answers to the problems with the fewest characters you can. A good way to get there is to write an answer that works, and then make it shorter.
Rules and Other Information
- Split into groups. Please aim for an even mix of advanced, intermediate, and beginner. (Experts, please invite a couple beginners to join you.)
- Your code must pass the test included with the problem.
- You may only use Ruby (1.9.3+, please) and the Ruby Standard Library in the actual problem code. No other gems! (You may use a debugger such as 'pry' as necessary.)
- Each problem's method should be named after its number, e.g.
- Method definition lines wil be removed before calculating the total character count.
- To enter, put your code in a Gist, Pastie, or whatever your favorite code pasting tool might be. Then email the link to firstname.lastname@example.org with the subject line of the form Problem N (e.g. a subject of "Problem 1" for problem 1).
- Once we've finished one round, we will move right along to the next round. I will announce the results at the end of all the rounds.
- The winning team will be the team with the overall lowest score across all rounds.
- Each round will be 15 minutes, but I reserve the right to extend rounds as I see fit.
- Most importantly, you should pick a creative team name. Send it to me in your first email (Problem 1)!