摘要: var hanoi = function(disc, src, aux, dst){ if(disc > 0){ hanoi(disc - 1, src, dst, aux); console.log("Move " + disc + " from " + src + " to " + dst); hanoi(disc - 1, aux, src, ... 阅读全文
posted @ 2011-10-21 10:52 liyatang 阅读(225) 评论(0) 推荐(0) 编辑