导航

10 2016 档案

摘要:4克鲁斯卡尔算法—集合运算应用 上图表述了生成树的算法过程 (选最短边,不构成回路) 只要有交集就合并 “原图”的数据对象可以使用邻接表来表达: IntgData[7][7] “边长排序图”的数据可以用线性表保存,数据结构: 算法描术: 算法过程,本质上是集合操作,集合的初始状态是空集,然后: 1) 阅读全文

posted @ 2016-10-09 19:55 CSU蛋李 阅读(278) 评论(0) 推荐(0)

摘要:397. Integer Replacement QuestionEditorial Solution My Submissions 397. Integer Replacement QuestionEditorial Solution My Submissions QuestionEditoria 阅读全文

posted @ 2016-10-01 20:16 CSU蛋李 阅读(205) 评论(0) 推荐(0)

摘要:Given an array of integers A and let n to be its length. Assume Bk to be an array obtained by rotating the array A k positions clock-wise, we define a 阅读全文

posted @ 2016-10-01 19:25 CSU蛋李 阅读(169) 评论(0) 推荐(0)