4 Cubes Problem

Instant Insanity Puzzle

Reference:
http://techieme.in/graph-theory-applications-the-instant-insanity-puzzle/