摘要: Question: Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input wou 阅读全文
posted @ 2016-05-15 16:41 zhjiann 阅读(169) 评论(0) 推荐(0)
摘要: 1.线性表 先看定义: 线性表:零个或多个数据元素的有限序列 从定义可以看出,关键在于有限序列一词。 有限,表示元素的个数不是无穷无尽的,是有穷的,和算法的特性就吻合了。 序列,表示元素之间是有序的,那么,除了首尾两元素,其他元素都可以且只能找到一个前驱和一个后继,第一个元素无前驱,最后一个无后继 来自为知笔记(Wiz) 阅读全文
posted @ 2016-05-13 00:52 zhjiann 阅读(126) 评论(0) 推荐(0)
摘要: 来自为知笔记(Wiz) 阅读全文
posted @ 2016-05-12 23:15 zhjiann 阅读(80) 评论(0) 推荐(0)