https://leetcode.com/problems/cracking-the-safe/description/
no obvious conclusion from the superfacial description can be made.
firstly the problems could be abstracted to a graph problem, which is a hard step.
原文:https://www.cnblogs.com/waldenlake/p/9722980.html