摘要: Good morning, my name is Li Huan. It’s really a great honor to have this opportunity for a interview. I hope I can make a good performance today. Now ... 阅读全文
posted @ 2014-07-02 14:51 一弦一仙 阅读(214) 评论(0) 推荐(0) 编辑
摘要: 一,移动次数的计算 现在有三根相邻的柱子,标号为A,B,C,A柱子上从下到上按金字塔状叠放着n个不同大小的圆盘,现在把所有盘子一个一个移动到柱子B上,并且每次移动同一根柱子上都不能出现大盘子在小盘子上方,请问至少需要多少次移动,设移动次数为H(n)。 首先我们肯定是把上面n-1个盘子移动到柱子C... 阅读全文
posted @ 2014-07-02 14:36 一弦一仙 阅读(215) 评论(0) 推荐(0) 编辑