Finding Nemo
Time Limit: 2000MS
Memory Limit: 30000K
Total Submissions: 7373
Accepted: 1715
Description
Nemo is a naughty boy. One day he went into the deep sea all b...
分类:
其他好文 时间:
2014-06-03 03:04:50
阅读次数:
348
【题目】
Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x.
You should preserve the original relative order of the nodes in each of the two partitions.
For example,
Given 1->4->3-...
分类:
其他好文 时间:
2014-06-03 00:02:29
阅读次数:
270
【题目】
Given a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing all ones and return its area.
【题意】
给定一个由0和1填充的二维矩阵,找一个全是1的最大矩形
【思路】
扫描二维矩阵,凡是扫到值为1的块时候,以当前块为矩形的左上角区块拓展,找最大矩阵。
先找出以每个“1”区块为左上角区块的最大矩形,然后求出最大全局的最大矩...
分类:
其他好文 时间:
2014-06-02 23:08:07
阅读次数:
289
ARMv8 Linux内核源码分析:__flush_dcache_all()...
分类:
系统相关 时间:
2014-06-02 23:06:58
阅读次数:
420
在 Oracle 網站上,有個簡單的 UDP 程式範例 ---Lesson: All About
Datagrams,這個程式和前一個程式基本上是差不多的,差別在於,它是由 client 先送個 request 給 server 端,server
端接收到後,回應訊息給 client 端,下面是 O...
分类:
其他好文 时间:
2014-06-02 22:14:48
阅读次数:
212
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
从官网下载了ExtJs的3.2版本的SDK,包含了代码依赖的详细说明、文档、范例和其他文件。其中,adapter和resources文件是Ext正常运行所必须的,其他的仅在开发过程中使用到。
Adapter:支持把Ext和其他代码库一同使用的文件
build:用于自定义构建ext-all.js的文件
docs:文档中心(仅当运行在服务器上时能够正常访问)
examples:大量令人印象深刻...
分类:
Web程序 时间:
2014-06-01 09:35:59
阅读次数:
372
title:
The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17.
Find the sum of all the primes below two million.
翻译:
10以下的质数的和为2 + 3 + 5 + 7 = 17。
请求出200,0000以下所有质数的和。
import math,time
d...
分类:
其他好文 时间:
2014-06-01 09:12:31
阅读次数:
239
[root@localhost ~]# su - oracle
[oracle@localhost ~]$ sqlplus '/as sysdba'
SQL*Plus: Release 11.2.0.1.0 Production on Tue Apr 22 17:10:52 2014
Copyright (c) 1982, 2009, Oracle. All rights re...
分类:
数据库 时间:
2014-06-01 09:02:31
阅读次数:
802
【题目】
Given a collection of integers that might contain duplicates, S, return all possible subsets.
Note:
Elements in a subset must be in non-descending order.
The solution set must not contain duplicate subsets.
For example,
If S = [1,2,2], a solution ...
分类:
其他好文 时间:
2014-06-01 08:51:06
阅读次数:
292