题目:Given an arraySofnintegers, are there elementsa,b,cinSsuch thata+b+c= 0? Find all unique triplets in the array which gives the sum of zero.Note:Ele...
分类:
其他好文 时间:
2014-10-03 01:34:13
阅读次数:
480
Follow up for problem "Populating Next Right Pointers in Each Node".
What if the given tree could be any binary tree? Would your previous solution still work?
Note:
You may only use constant ...
分类:
其他好文 时间:
2014-10-02 14:18:33
阅读次数:
267
具体步骤参考:~OS X Mountain Lion 系统配置 Apache+Mysql+PHP 详细教程 | 果迷网http://www.guomii.com/posts/30136~Mac OS X 10.9 启用 Web 服务器 « 任平生的学习笔记http://note.rpsh.net/p...
分类:
数据库 时间:
2014-10-01 23:09:31
阅读次数:
209
This is a note forhttps://class.coursera.org/interactivepython-005In week two, I have learned:1.event-drvien programing4 event types:Input: button, te...
分类:
编程语言 时间:
2014-09-30 23:13:50
阅读次数:
210
Given two numbers represented as strings, return multiplication of the numbers as a string.
Note: The numbers can be arbitrarily large and are non-negative.
这个题说数可能是任意的大的非负数,肯定不是让你直接乘起来返回(我干了。。)而是...
分类:
其他好文 时间:
2014-09-30 06:45:32
阅读次数:
167
题目描述:Given an array of integers, every element appearstwiceexcept for one. Find that single one.Note:Your algorithm should have a linear runtime compl...
分类:
其他好文 时间:
2014-09-30 00:53:01
阅读次数:
216
Given preorder and inorder traversal of a tree, construct the binary tree.Note:You may assume that duplicates do not exist in the tree.题意:知道二叉树的前序遍历和中...
分类:
其他好文 时间:
2014-09-29 23:47:51
阅读次数:
265
Given an array of strings, return all groups of strings that are anagrams.
Note: All inputs will be in lower-case.
public class Solution {
public List anagrams(String[] strs) {
Map map = new Ha...
分类:
其他好文 时间:
2014-09-28 19:10:56
阅读次数:
162
# By default Redis does not run as a daemon. Use 'yes' if you need it.# Note that Redis will write a pid file in /var/run/redis.pid when daemonized.#R...
分类:
其他好文 时间:
2014-09-28 14:36:32
阅读次数:
215
Monkey测试1——Monkey的使用原文地址:http://www.douban.com/note/257029872/(转自豆瓣,版权属于豆瓣及豆瓣网友,如有冒犯请见谅并联系我们)Monkey的使用一、 什么是MonkeyMonkey是Android中的一个命令行工具,可以运行在模拟器里或实....
分类:
移动开发 时间:
2014-09-28 14:17:42
阅读次数:
610