摘要: Consider a MxN matrix. You are given a start element(index) and an end element. The question is to find a path from start to end. Please note that in ... 阅读全文
posted @ 2014-09-05 22:30 purejade 阅读(304) 评论(0) 推荐(0) 编辑
摘要: Write a recursive method to get the multiplication of two numbers such that there are minimum number of addition operations.// the number of m is n m>... 阅读全文
posted @ 2014-09-05 22:28 purejade 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 常见错误:' '.join(list): it need to guarantee the element of list is string, so it it better it strlist = ''.join(str(v) for v in list)str.split(" ") just... 阅读全文
posted @ 2014-09-05 16:52 purejade 阅读(141) 评论(0) 推荐(0) 编辑