#10

I cannot move forward, leetcode said compile time exceed

vector<vector<int> > result_index was a list, I have even change it to vector.

xinqian@xq-vb-ub1204:~/Dropbox/chianshin/gitHub/cpp-project/algorithm/misc_cpp_problems$ ./a.out
test_s1(197): hello
hit, lot, hot, log, dot, dog, cog,
[2, ][2, 3, 4, ][0, 1, 4, ][1, 5, 6, ][1, 2, 5, ][3, 4, 6, ][3, 5, ]
findLadders(118): from 0, to:2
findLadders(118): from 2, to:1
findLadders(118): from 2, to:4
findLadders(118): from 1, to:3
findLadders(118): from 4, to:5
findLadders(118): from 3, to:6
findLadders(118): from 5, to:6
findLadders(145): working on result_index:6,
findLadders(145): working on result_index:6, 3,
findLadders(145): working on result_index:6, 5,
findLadders(145): working on result_index:6, 3, 1,
findLadders(145): working on result_index:6, 5, 4,
findLadders(145): working on result_index:6, 3, 1, 2,
findLadders(145): working on result_index:6, 5, 4, 2,
6, 3, 1, 2, 0,
6, 5, 4, 2, 0,
hit, hot, lot, log, cog,
hit, hot, dot, dog, cog,
0, cli per second, s1:1000000