摘要: http://www.hiredintech.com/app#after-the-interviewHiredInTeCh1. algorithum design Cavasconstraints -> idea -> complexity -> Writing code -> test codeW... 阅读全文
posted @ 2014-09-10 23:02 purejade 阅读(91) 评论(0) 推荐(0) 编辑
摘要: print all unique solution to split number n, given choice of 1 3 5 10for example if n is 4{1, 1, 1, 1}{1, 3}思路:用DFS肯定可以求解,但需要遍历所有可能,进行剪纸之后用递推实现。主要剪枝思想... 阅读全文
posted @ 2014-09-10 18:19 purejade 阅读(133) 评论(0) 推荐(0) 编辑