← All challenges

Reindeer Ordering

December 2017

constraint-programmingoptimization

Santa’s elves need to line up nine reindeer — Rudolph, Prancer, Cupid, Comet, Blitzen, Donder, Vixen, Dancer, and Dasher — into a single order to pull the sleigh, following a set of “behind” / “in front of” constraints such as:

Find a total ordering of all nine reindeer that satisfies every constraint above.

Send your solutions to DecisionManagementCommunity@gmail.com, or open a pull request to add yours here.

Solutions