/xkcd_restaurant

Solution to the xkcd restaurant menu challenge

Primary LanguageRuby

xkcd Restaurant Solution

This is a solution to the xkcd restaurant problem. http://xkcd.com/287/

Assumptions

  • You can order an item from the menu multiple times in order to get to the correct price

Usage

  1. clone the repository
  2. 'cd xkcd_restaurant'
  3. run the following command: 'bin/combo_finder.rb spec/menu.txt'
  4. You may pass in the path to a single file as an argument