在 Oracle 網站上,有個簡單的 UDP 程式範例 ---Lesson: All About
Datagrams,這個程式和前一個程式基本上是差不多的,差別在於,它是由 client 先送個 request 給 server 端,server
端接收到後,回應訊息給 client 端,下面是 O...
分类:
其他好文 时间:
2014-06-02 22:14:48
阅读次数:
212
vCenterServerClient5.5的安装VMwarevSphereClient桌面客户端的安装:本实验中,vSclient安装于windows7操作系统中;实验中采用离线安装vSclient,需要先下载安装程序到本地,我所使用的安装程序为为:VMware-viclient-all-5.5.0-1746248.exe;将安装程序拷贝到win7系统中,双..
分类:
其他好文 时间:
2014-06-02 14:14:30
阅读次数:
218
一、函数指针
//
// main.c
// L01Helloc
//
// Created by zj on 14-6-1.
// Copyright (c) 2014年 zj. All rights reserved.
//
#include
void sayHello(){
printf("Helloc C\n");
}
void sayHello1(int i){...
分类:
其他好文 时间:
2014-06-01 15:48:23
阅读次数:
261
【题目】
Given n, generate all structurally unique BST's (binary search trees) that store values 1...n.
For example,
Given n = 3, your program should return all 5 unique BST's shown below.
1 3 3 2 1
\ / / / \ ...
分类:
其他好文 时间:
2014-06-01 15:33:45
阅读次数:
297
H:/0730/00_多线程4种售票_ViewController.h//
// ViewController.h
// 卖票
//
// Created by apple on 13-7-29.
// Copyright (c) 2013年 itcast. All rights reserved.
//
#import
@interface ViewController : UIV...
分类:
移动开发 时间:
2014-06-01 15:05:19
阅读次数:
397
问题:
Given a collection of numbers, return all possible permutations.
For example,
[1,2,3] have the following permutations:
[1,2,3], [1,3,2], [2,1,3], [2,3,1], [3,1,2],
and [3,2,1].
分析:
...
分类:
其他好文 时间:
2014-06-01 15:04:42
阅读次数:
259
问题:
Given a collection of numbers that might contain duplicates, return all possible unique permutations.
For example,
[1,1,2] have the following unique permutations:
[1,1,2], [1,2,1],
and...
分类:
其他好文 时间:
2014-06-01 13:03:12
阅读次数:
324
【题目】
Given a string containing only digits, restore it by returning all possible valid IP address combinations.
For example:
Given "25525511135",
return ["255.255.11.135", "255.255.111.35"]. (Order does not matter)
【题意】
给定一个字符串,恢复并返回所有符合条件的IP串
【思路】...
分类:
其他好文 时间:
2014-06-01 13:01:56
阅读次数:
295
题目:
给定一个字符串S,一个字符串数组L,找出S中所有这样的子串起点,该子串包含L中的所有元素。
说明:
1)L中存在重复的元素
2)子串不允许间断,即子串从开始到找全L中的所有元素之前,子串中不允许包含L以外的东西,而且,即使当前处理的子串是L中含有的,但是前面已经找够了,这个多余的也是不合法的,若此时还有L中的其他元素没找到,从这个起点开始也是不成功的。
3)L在S中出现的...
分类:
其他好文 时间:
2014-06-01 12:54:53
阅读次数:
192
Remove ElementGiven an array and a value,
remove all instances of that value in place and return the new length.The order
of elements can be changed. ...
分类:
其他好文 时间:
2014-06-01 12:29:11
阅读次数:
190