This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'debugger' | |
| require 'awesome_print' | |
| # project euler problem 67 depends on problem 18 | |
| # maximum path sum | |
| # use a bottom up strategy | |
| # split into subproblems | |
| # store subproblem result | |
| # don't recompute subproblem |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Player | |
| def play_turn(warrior) | |
| # cool code goes here | |
| warrior.walk! | |
| end | |
| end | |
| class Player | |
| def play_turn(warrior) | |
| # cool code goes here |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # encoding: UTF-8 | |
| require 'rubygems' | |
| require 'set' | |
| require 'uri' | |
| require 'yajl' | |
| require 'yajl/http_stream' | |
| ##################################### | |
| # TwitterFeed | |
| # represents the twitter feed / stream |
NewerOlder