链表
首先是结构体
typedef int ElementType; //为了便于修改链表中元素的类型
typedef struct Node{
ElementType Date;
struct Node* Next;
}List;
List L,*Ptrl;求链表长度的函数
int length(List *Ptrl){
List* p =Ptrl;
int j=0;
while...
分类:
其他好文 时间:
2015-08-08 15:03:48
阅读次数:
114
1.切换到root用户(如果已经是root用户就直接看第二步)dnt@HackerKali:~$ su密码:2.用文本编辑器打开sources.list,手动添加下面的更新源root@HackerKali:/home/dnt# leafpad /ect/apt/sources.list3.添加完毕后...
分类:
其他好文 时间:
2015-08-08 13:29:04
阅读次数:
118
#includeusing namespace std;int Merge(int *list,int*copy,int s1,int s2,int end){ int i=s1; int j=s2; int k=s1; int num=0; for(int k=s1;...
分类:
其他好文 时间:
2015-08-08 13:23:42
阅读次数:
104
Lowest Common Ancestor of a Binary Search Tree 1 import java.util.ArrayList; 2 import java.util.List; 3 4 /** 5 * LeetCode: Lowest Common Ances...
分类:
其他好文 时间:
2015-08-08 13:19:45
阅读次数:
106
package?com.netease.mobile.commonUtil;
import?java.util.ArrayList;
import?java.util.HashSet;
import?java.util.List;
import?java.util.Map;
import?java.util.Set;
import?javax.annotation.Post...
分类:
其他好文 时间:
2015-08-08 12:14:47
阅读次数:
153
下载:http://www.see-source.com/androidwidget/list.html?type=16
Android-NewPopupMenu
使用PopupWindow实现的Popup菜单
2015-08-07 更新
下载: 0次 浏览 1次
MenuAnimation
可以弹出子菜单的Menu
2015-08-07 更新
下载: 0次...
分类:
移动开发 时间:
2015-08-08 12:09:27
阅读次数:
257
uva 1345 Jamie’s Contact GroupsDescriptionJamie is a very popular girl and has quite a lot of friends, so she always keeps a very long contact list in her cell phone. The contact list has become so lon...
分类:
其他好文 时间:
2015-08-08 12:06:02
阅读次数:
139
冒泡交换相邻的点使得最小的点排到最前,同时后面的点一定程度上也排序。#include#includeusing namespace std;void Bubble(int *list,int length){ bool flag=true; for(int i=0;i=i+1;j--) ...
分类:
编程语言 时间:
2015-08-08 10:28:57
阅读次数:
140
学习了Scala中List的构造是的类型约束逆变、协变、下界详解,列表中用::加入父类的对象,列表会协变为父类,例子如下:Def::[B>:A](x:B):List(B)=Newscala:collection.imutable.::(x,this)王家林亲授《DT大数据梦工厂》大数据实战视频“Sc...
分类:
其他好文 时间:
2015-08-08 10:18:02
阅读次数:
203
#import "ViewController.h"
#import "MyTableViewCell.h"
#import "AddData_ViewController.h"
@interface ViewController ()
{
NSMutableArray *list;
UITableView *myTabelView;
...
分类:
移动开发 时间:
2015-08-08 09:11:42
阅读次数:
262