Given a sequence of integers, find the longest increasing subsequence (LIS). You code should return the length of the LIS. Clarification What's the de ...
分类:
其他好文 时间:
2016-03-29 14:22:46
阅读次数:
117
Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longes ...
分类:
其他好文 时间:
2016-03-29 14:16:56
阅读次数:
156
我的方式是手动把egit包放入myeclipse 文件夹的方式
版本信息:
找到安装myeclipse2013上的安装目录
点开readme_eclipse.html,版本号就在第一处
对照版本号下载,我这里会附原件(我用的也不是上面的版本)
http://wiki.eclipse.org/EGit/FAQ#Where_can_I_find_old...
分类:
系统相关 时间:
2016-03-29 11:00:45
阅读次数:
234
# Ubuntu终端下命令行颜色配置 ## Parses out the branch name from .git/HEAD: find_git_branch () { local dir=. head until [ "$dir" -ef / ]; do if [ -f "$dir/.git/H ...
分类:
系统相关 时间:
2016-03-29 00:57:24
阅读次数:
1144
题目:Given an array S of n integers, are there elements a, b, c, and d in S such that a + b + c + d = target? Find all unique quadruplets in the array w ...
分类:
其他好文 时间:
2016-03-28 23:32:29
阅读次数:
364
安装curl扩展遇到一个傻逼问题 [root@xxx openssl]# /usr/local/php/bin/phpizeCannot find config.m4.Make sure that you run '/usr/local/php/bin/phpize' in the top leve ...
分类:
Web程序 时间:
2016-03-28 23:29:04
阅读次数:
245
Sumsets Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 9997 Accepted: 2736 Description Given S, a set of integers, find the largest d such ...
分类:
其他好文 时间:
2016-03-28 21:31:37
阅读次数:
213
1、 Given an array of integers, find the subarray with smallest sum. Return the sum of the subarray. For [1, -1, -2, 1], return -3 2、 1、只需要求出最小值 2、利用su ...
分类:
其他好文 时间:
2016-03-28 18:48:02
阅读次数:
141
打包时提示:Could not find developer disk image 在Finder状态下前往文件夹,快捷键:shift+command+G,填写路径/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platfo ...
分类:
移动开发 时间:
2016-03-28 18:36:52
阅读次数:
402
Given an unsorted array of integers, find the length of longest increasing subsequence. For example,Given [10, 9, 2, 5, 3, 7, 101, 18],The longest inc ...
分类:
其他好文 时间:
2016-03-28 18:24:14
阅读次数:
116