IBM Ponder This 08-15 Solved

Credited with solving this puzzle.  This was fun software to write!

Ponder This Challenge:

Find a way to fold a loop of string in three-dimensional space such that all three projections will be loop-free (i.e., you won’t be able to make a path from a point to itself without backtracking).

Provide your answer as a list of integer 3D coordinates, where each pair differs in exactly one coordinate.

For example, the following list is loop-free on two projections (x,z) and (y,z), but forms a loop on the third projection (x,y):
[1,1,1],[1,1,2],[2,1,2],[2,1,1],[2,2,1],[2,2,2],[1,2,2],[1,2,1],[1,1,1].

I wrote a visualizer for the solution, here is what it looked like (although I think after these screenshots I took I found a slight improvement, but this is the one I submitted).

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.