Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 394 Bytes

readme.md

File metadata and controls

13 lines (9 loc) · 394 Bytes

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