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
这几天看了MVC4 / 5 的一些东西, 基本上和 MVC 3都一样, 看起来毫不费力气,
项目还没有正式开工, 每天都是看文档,了解技术. 闲着无聊就把 knockout js 给看了一遍. 今天在看 SignalR的时候, 随手写了段测试代码,发现
Knockout 的虚拟标签有点问题, 一开始...
分类:
其他好文 时间:
2014-05-26 07:49:50
阅读次数:
482
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
PS:接上一篇 本文摘自OSchina Linuxqueen
不幸的是,这样做看上去似乎不太可能。即使是我们有神奇的函数,可以让我们从n遍历到无限大,我们也会在返回第一个值之后卡住:
1
def get_primes(start):
2
for element in magical_infinite_ra...
分类:
编程语言 时间:
2014-05-26 04:07:40
阅读次数:
366
貌似靠谱(主要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
Young tableaus 是 Introduction_to_algorithms的一 道课后习题, 一度还把我难住了。现在把 python 代码贴出来,供大家参考。
#! /usr/bin/python
""" young tableau
m x n matrix
"""
import sys
class element():
def __ini...
分类:
其他好文 时间:
2014-05-24 21:08:21
阅读次数:
397
【题目】
Given an array of non-negative integers, you are initially positioned at the first index of the array.
Each element in the array represents your maximum jump length at that position.
Determine if you are able to reach the last index.
For example:...
分类:
其他好文 时间:
2014-05-24 20:44:39
阅读次数:
221
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