Problem Description:Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.For example,"A man, a...
分类:
其他好文 时间:
2014-07-07 16:03:32
阅读次数:
168
Problem Description:Say you have an array for which theithelement is the price of a given stock on dayi.If you were only permitted to complete at most...
分类:
其他好文 时间:
2014-07-07 15:24:05
阅读次数:
206
alias ll='ls -al'use_color=false# Set colorful PS1 only on colorful terminals.# dircolors --print-database uses its own built-in database# instead of ...
分类:
其他好文 时间:
2014-07-07 13:41:54
阅读次数:
245
安装了Oracle VM VirtualBox后,发现原来虚拟机VMware中的centos不能上网。第一步:进入网络管理(window7 是网络和共享中心),然后点击更改适配器设置。第二步:右键禁用掉VirtualBox Host-Only Network 的网络服务,然后再右键选在属性。第三步:...
分类:
其他好文 时间:
2014-07-07 13:40:39
阅读次数:
272
Given a sorted linked list, delete all duplicates such that each element appear only once.
分类:
其他好文 时间:
2014-07-02 00:33:49
阅读次数:
204
Given a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list.
分类:
其他好文 时间:
2014-07-02 00:24:04
阅读次数:
284
17:46:15 HR@ datacenter>set autotrace onlyUsage: SET AUTOT[RACE] {OFF | ON | TRACE[ONLY]} [EXP[LAIN]] [STAT[ISTICS]]17:47:36 HR@ datacenter>set autot ...
分类:
其他好文 时间:
2014-07-01 20:16:34
阅读次数:
253
Gray Code:The gray code is a binary numeral system where two successive values differ in only one bit.Given a non-negative integer n representing the ...
分类:
其他好文 时间:
2014-07-01 12:42:16
阅读次数:
192
错误代码:No
architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=armv7 armv7s)
1 xcodebuild 这个target的时候命令行报错。(yes 改为no)
LY_ACTIVE_ARCH=YES, active arch=x86...
分类:
其他好文 时间:
2014-06-30 18:04:12
阅读次数:
219
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 place with...
分类:
其他好文 时间:
2014-06-30 17:22:13
阅读次数:
196