Reverse a linked list from position m to n. Do it in-place and in one-pass.
For example:
Given 1->2->3->4->5->NULL, m = 2 and n =
4,
return 1->4->3->2->5->NULL.
Note:
Given m, n satisfy t...
分类:
其他好文 时间:
2015-04-16 15:46:36
阅读次数:
122
9.1就地存档就地存档有助于重新获得对组织邮件数据的控制,而无需个人存储(.pst)文件,并且允许用户在可通过MicrosoftOutlook2010及更高版本和MicrosoftOfficeOutlookWebApp访问的“存档邮箱”中存储邮件。在MicrosoftExchangeServer2013中,就地存档向用户提供了一个存储历史..
分类:
其他好文 时间:
2015-04-15 23:36:02
阅读次数:
307
http://gashero.iteye.com/blog/2075324// Playground - noun: a place where people can play//haha 没有分好,编译器推断类型,好玩,空格严格限制import UIKitvar str = "Hello, pla...
分类:
编程语言 时间:
2015-04-15 18:59:22
阅读次数:
146
problem:
Reverse a linked list from position m to n. Do it in-place and in one-pass.
For example:
Given 1->2->3->4->5->NULL, m = 2 and n =
4,
return 1->4->3->2->5->NULL.
Note:
Give...
分类:
其他好文 时间:
2015-04-15 17:13:29
阅读次数:
132
题目:https://leetcode.com/problems/remove-duplicates-from-sorted-array/Given a sorted array, remove the duplicates in place such that each element appea...
分类:
其他好文 时间:
2015-04-14 00:26:32
阅读次数:
176
Given a binary tree, flatten it to a linked list in-place.For example,Given 1 / \ 2 5 / \ \ 3 4 6The flattened t...
分类:
其他好文 时间:
2015-04-13 22:34:41
阅读次数:
141
问题:Given a sorted array, remove the duplicates in place such that each element appear onlyonceand return the new length.Do not allocate extra space fo...
分类:
其他好文 时间:
2015-04-13 20:36:36
阅读次数:
102
1.在project的gradle文件中dependencies {
classpath 'com.android.tools.build:gradle:1.0.0'
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.4'
// NOTE: Do not place your applica...
分类:
移动开发 时间:
2015-04-13 19:04:43
阅读次数:
147
A. ExamAn exam fornstudents will take place in a long and narrow room, so the students will sit in a line in some order. The teacher suspect...
分类:
其他好文 时间:
2015-04-13 18:34:01
阅读次数:
279
原文地址:http://www.jdon.com/39240文章总结以下几点:1.频繁写,很少读统计数据,比如点击率,应该使用基于内存的in-memory的key/value存储数据库如Redis, 或者update-in-place 文本存储如MongoDB.2.大数据Big Data (如天气数...
分类:
数据库 时间:
2015-04-13 12:36:43
阅读次数:
133