一、线性表(List)的表现形式 1、零个或者多个数据元素组成的集合 2、数据元素在位置上是有序排列的 3、数据元素的个数是有限的 4、数据元素的类型必须相同 二、线性表(List)的抽象定义 1、线性表是具有相同类型的n(>=0)个数据元素的有限序列 {a0,a1,a2,....an-1} ai是 ...
分类:
其他好文 时间:
2017-05-09 00:53:45
阅读次数:
161
顺序表 code.h code.cpp main.cpp ...
分类:
编程语言 时间:
2017-05-09 00:45:07
阅读次数:
238
list和set继承于collection的两个分支,list是有序的队列,里面是可以有重复的元素,而set像是数学中集合的概念,是没有重复的元素。 如图所示,抽象类abstractcollection实现了collection的大部分功能,而抽象类abstractlist和abstractset继 ...
分类:
其他好文 时间:
2017-05-09 00:44:41
阅读次数:
163
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below. For example, given the fo ...
分类:
其他好文 时间:
2017-05-08 14:37:59
阅读次数:
123
学习资料:Bootstrap 折叠(Collapse)插件 大家可能常见的都是类似: 这种的效果,小颖今天要给大家分享一个不一样的效果嘻嘻。铛铛铛铛............................ 这个想实现的是,默认显示一部分内容,当点击下拉图标后,下面的内容也显示出来,其实小颖只是把官网 ...
分类:
其他好文 时间:
2017-05-08 14:32:56
阅读次数:
243
vi/vim使用进阶: 指随意动,移动如飞 (一) << 返回vim使用进阶: 目录 本节所用命令的帮助入口: :help usr_03.txt :help motion.txt :help usr_29.txt :help scroll.txt vim提供的移动方式多如牛毛,但我们并不需要掌握全部 ...
分类:
移动开发 时间:
2017-05-08 12:15:38
阅读次数:
214
After you had helped George and Alex to move in the dorm, they went to help their friend Fedor play a new computer game «Call of Soldiers 3». The game ...
分类:
其他好文 时间:
2017-05-08 09:57:04
阅读次数:
198
方法一: // 对Date的扩展,将 Date 转化为指定格式的String// 月(M)、日(d)、小时(h)、分(m)、秒(s)、季度(q) 可以用 1-2 个占位符, // 年(y)可以用 1-4 个占位符,毫秒(S)只能用 1 个占位符(是 1-3 位的数字) // 例子: // (new ...
分类:
编程语言 时间:
2017-05-08 09:56:25
阅读次数:
179
首先我描写叙述一下问题:当我从一个view到另外一个view的时候? 解答:这个问题的解决还须要看setAnimationTransition:forView:cache: 官方Api,官方是这样说的: 1.Begin an animation block. 2.Set the transition ...
分类:
系统相关 时间:
2017-05-07 23:08:47
阅读次数:
336
直接添代码: XML文档名称(one.xml) 相关Java代码 ...
分类:
其他好文 时间:
2017-05-07 17:32:12
阅读次数:
183