Find 2 numbers with given sum in sorted array.
分类:
其他好文 时间:
2014-05-22 01:53:17
阅读次数:
288
Find a number which appears once in an array with
all the other numbers appear twice.
分类:
其他好文 时间:
2014-05-22 01:08:40
阅读次数:
278
Find common nodes of 2 linked list.
分类:
其他好文 时间:
2014-05-22 00:10:17
阅读次数:
241
Find continuous sequences between 1 to N whose sum
equals to S.
分类:
其他好文 时间:
2014-05-21 23:59:57
阅读次数:
394
解决办法如下:1. 修改项目的.net framework 为3.52. Application
Pool 选用 Sharepoint App pool3. 修改 web.config如下: ...
分类:
移动开发 时间:
2014-05-21 21:57:44
阅读次数:
377
【题目】
Given an unsorted integer array, find the first missing positive integer.
For example,
Given [1,2,0] return 3,
and [3,4,-1,1] return 2.
Your algorithm should run in O(n) time and uses constant space.
【题意】
给定一个数组,找出第一个缺失的正数。时间复杂度O(n)
...
分类:
其他好文 时间:
2014-05-21 17:13:07
阅读次数:
219
本文将介绍在 Wowza 插件开发时,如何在不去掉 ant 的自动构建的前提下(因为 Wowza Eclipse 插件开发是基于 ant 构建的!),解决 Eclipse Wowza 插件报 "The builder launch configuration could not be found" 的错误。...
分类:
系统相关 时间:
2014-05-21 16:33:49
阅读次数:
504
这篇博客主要讨论了在EBS form 查询界面上, 点击 find 之后走了哪些代码流程, 数据库里面的值是怎样被赋值到界面上去的....
分类:
其他好文 时间:
2014-05-21 11:28:37
阅读次数:
421
题目:
Given an array of integers, find two numbers such that they add up to a specific target number.
The function twoSum should return indices of the two numbers such that they add up t...
分类:
其他好文 时间:
2014-05-21 07:42:18
阅读次数:
230
做过一些的带权并查集,再来做所谓的“种类并查集",发现好像就顿悟了。
种类并查集与带权并查集实质上的差别并不大, 关键的区别就是种类并查集只是带权并查集再弄个%取余操作而已,然后余数就表示他属于哪个种类。
这题只有两个种类,也就是只有0和1两种, 对于两个不同的种类,那么之间的权值是相差1的,所以按照带权并查集的方法做加上1,然后取余2即可。
#include
const int N = ...
分类:
其他好文 时间:
2014-05-21 07:24:40
阅读次数:
173