Skip to content

Instantly share code, notes, and snippets.

View thekoushik's full-sized avatar
👋
I may be slow to respond.

Koushik Seal thekoushik

👋
I may be slow to respond.
View GitHub Profile
@thekoushik
thekoushik / impossible.js
Last active November 9, 2016 06:30
Impossible Math
/*
The Impossible Math Solver
There will be a predefined target and the process will start with 2 numbers. There will be a set
of predefined operations from which any operation can be used any number of times in any order.
Each operation will accept 2 numbers. First one is the output of the previous operation and the
second one is any number generated from previous operations. Generated numbers must be unique.
The goal is to create a list of operation where the last operation will generate the predefined
target.