Introduction - If you have any usage issues, please Google them yourself
Missionaries and savages the problem. Perfect version. getStrategy function parameters are N and k, returns a string array, on behalf of a state sequence, each element of the array represents a state, each state is represented as (a, b, c), which indicated that the left bank of a missionary The number of disabilities, b indicated that the number of the left bank of the Savage, c that ship is on the left bank, c = 1 for the shipping on the left bank, c = 0 for the boat on the right bank. If the problem is no solution, return only one element of " no solution" of the array.