04 2017 档案

算法导论 practice2
摘要:1. Matrix-chain product. The following are some instances a) <3, 5, 2, 1,10> b) <2, 7, 3, 6, 10> c) <10, 3, 15, 12, 7, 2> d) <7, 2, 4, 15, 20, 5> 算法: 阅读全文

posted @ 2017-04-18 20:36 olive_gyr 阅读(594) 评论(0) 推荐(0)

算法导论 practice1
摘要:1、 (2.3.7) Describe a Θ(n lg n)-time algorithm that, given a set S of n integers and another integer x, determines whether or not there exist two elem 阅读全文

posted @ 2017-04-14 16:29 olive_gyr 阅读(511) 评论(0) 推荐(0)