摘要: 本系列为《挑战程序设计竞赛》读书笔记,分为初级篇、中级篇、高级篇 阅读全文
posted @ 2018-08-30 10:00 shawshawwan 阅读(345) 评论(0) 推荐(0) 编辑
摘要: 本系列为《挑战程序设计竞赛》读书笔记,分为初级篇、中级篇、高级篇 本系列为《挑战程序设计竞赛》读书笔记,分为初级篇、中级篇、高级篇 阅读全文
posted @ 2018-08-30 09:59 shawshawwan 阅读(283) 评论(0) 推荐(0) 编辑
摘要: 本系列为《挑战程序设计竞赛》读书笔记,分为初级篇、中级篇、高级篇 初级篇目录: 1.穷竭搜索 a.核心思想: DFS :从某个状态开始,不断转移,直至无法转移,回退到前一步,再继续转移到其他状态,直到找到最终解;一般使用递归或者栈实现 BFS 从初始状态开始,总是先搜索至距离初始状态近的状态。每个状 阅读全文
posted @ 2018-08-30 09:58 shawshawwan 阅读(787) 评论(0) 推荐(0) 编辑
摘要: 题意:Given an array of unique integers, each integer is strictly greater than 1. We make a binary tree using these integers and each number may be used 阅读全文
posted @ 2018-08-30 09:44 shawshawwan 阅读(360) 评论(0) 推荐(0) 编辑