Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Foregone Solution

Direct link to Google Code Jam site

This solution passes all test set 1 (6 points), test set 2 (10 points) and test set 3 (1 point).

Prerequisite

nodejs 11.13.0

Usage

First, install dev dependencies (babel, rollup, jest etc) by running the following:

npm install

To run tests:

npm run test

Build the solution into one file output at build/solution.js:

npm run build

build/solution.js is the code to be submitted to Google Code Jam site.

To run and test build/solution.js manually, run the following and key in the input:

npm run start