题目描述:
Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length.
Do not allocate extra space for another array, you must do this in...
分类:
其他好文 时间:
2014-11-04 09:20:30
阅读次数:
137
ipc.h#pragma once#ifndef _ipc_h#define _ipc_h#include #include #include #include #include #include #include#define BUFSZ 256//建立或获取ipc 的一组函数的原型说明int P...
分类:
其他好文 时间:
2014-11-04 06:43:46
阅读次数:
214
老的连接方式:
include_once("/inc/conn.php");
$cursor = exequery($connection,$query);
新的连接方式:
include_once("/inc/utility_all.php");
$cursor = exequery(TD::conn(),$query);...
分类:
数据库 时间:
2014-11-03 14:41:32
阅读次数:
162
//Base_Event.h#pragma once#include enum Event_Type //事件类型{ NET_REFRESH, //网络环境改变事件 MSG_REFRESH, //消息改变事件 UI_REFRESH, //UI界面更新事件 MAX_EVENT...
分类:
其他好文 时间:
2014-11-02 13:49:08
阅读次数:
268
#pragma once#include #include #include #include template class CMySM{public: CMySM() { m_pMem = NULL; m_hMem = NULL; } ~CMyS...
分类:
编程语言 时间:
2014-11-02 00:24:48
阅读次数:
228
Problem Description
Once upon a time, there is a little frog called Matt. One day, he came to a river.
The river could be considered as an axis.Matt is standing on the left bank now (at position...
分类:
其他好文 时间:
2014-10-30 21:03:53
阅读次数:
147
Paths on a GridDescriptionImagine you are attending your math lesson at school. Once again, you are bored because your teacher tells things that you a...
分类:
其他好文 时间:
2014-10-29 21:20:03
阅读次数:
148
Given a sorted linked list, delete all duplicates such that each element appear only
once.
For example,
Given 1->1->2, return 1->2.
Given 1->1->2->3->3, return 1->2->3.
输入排序过的链表,删除相同的元素。
...
分类:
其他好文 时间:
2014-10-29 15:02:12
阅读次数:
178
To Install, ensure that you have NodeJS installed, then open your commandline and run the following:$ sudo npm install -g phonegap Once ins...
分类:
其他好文 时间:
2014-10-28 17:21:52
阅读次数:
183
问题描述:
Given a sorted linked list, delete all duplicates such that each element appear only once.
For example,
Given 1->1->2, return 1->2.
Given 1->1->2->3->3, return 1->2->3.
思路:遍历链表,通过两个指针...
分类:
其他好文 时间:
2014-10-28 12:12:23
阅读次数:
143