Given a linked list, remove the nth node from
the end of list and return its head. For example, Given linked list:
1->2->3->4->5, and n = 2. After rem...
分类:
其他好文 时间:
2014-05-26 09:08:23
阅读次数:
262
xcode升级导致cocoapods很多奇葩问题
1.pod setup执行后半年没反应
解决办法设置淘宝的镜像
$ gem sources --remove https://rubygems.org/
//等有反应之后再敲入以下命令
$ gem sources -a http://ruby.taobao.org/
检查一下看看
$ gem sources -l*** CURRENT...
分类:
其他好文 时间:
2014-05-26 04:55:46
阅读次数:
236
貌似靠谱(主要centos默认有httpd,是否需要将其remove然后再安装啊,我采用到方法是没有安装,直接用的默认的),大致就是这个样子吧----zzLAMP
is a combination of operating system and open-source software stack....
分类:
其他好文 时间:
2014-05-26 02:43:43
阅读次数:
321
Remove Duplicates from Sorted Array II
分类:
其他好文 时间:
2014-05-26 01:20:51
阅读次数:
159
一、安装MySql
1、卸载CentOS自带的MySql
获取root权限先,卸载CentOS自带的MySql
yum remove mysql
2、安装cmake...
分类:
数据库 时间:
2014-05-24 23:48:57
阅读次数:
542
Quick Referenceinsmodmodprobermmod User-space
utilities that load modules into the running kernels and remove them.#include
module_init(init_function)...
分类:
其他好文 时间:
2014-05-24 12:05:39
阅读次数:
286
Determine whether an integer is a palindrome.
Do this without extra space.if use recursive, like check the first dig and last
dig, then remove them, c...
分类:
其他好文 时间:
2014-05-23 02:45:15
阅读次数:
230
题目说:Try to do this in one pass
只用一遍遍历的话,p1先走n节点,p2再走,等到p1到达链表尾的时候p2正好在倒数第n+1个上面鸟
/**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode...
分类:
其他好文 时间:
2014-05-23 01:52:29
阅读次数:
331
Remove Duplicates from Sorted Array...
分类:
其他好文 时间:
2014-05-22 23:06:48
阅读次数:
271