Skip to content

Instantly share code, notes, and snippets.

View kenwalger's full-sized avatar

Ken W. Alger kenwalger

View GitHub Profile
@farleylai
farleylai / NumberGame.java
Last active October 6, 2015 06:00
A bottom up approach to the Numbers Game by Devdraft
import java.util.*;
import java.io.*;
import java.math.BigInteger;
public class NumbersGame {
public static final boolean DEBUG = false;
public static final BigInteger ONE = BigInteger.ONE;
public static final BigInteger TWO = BigInteger.valueOf(2);
public static void debug(String line) {
if(DEBUG) System.err.println(line);