See "Picture-Hanging Puzzles" by Erik Demaine et al. ([arXiv link][1]): <br /> ![Rope/Kids][2] [1]: http://arxiv.org/abs/1203.3602 [2]: https://i.sstatic.net/k43fU.png