题目:Given a linked list, return the node where the cycle begins. If there is no cycle, returnnull.Follow up:Can you solve it without using extra space?...
分类:
其他好文 时间:
2015-05-01 00:26:54
阅读次数:
174
题目:Given a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?代码:用hashmap版/** * Definition for singly...
分类:
其他好文 时间:
2015-05-01 00:25:22
阅读次数:
157
运行时报错:UnicodeDecodeError: 'ascii' codec can't decode byte 0xc4 in position 33: ordinal not in range(128)Python2.7在Windows上一个bug!!!解决方法:参考官方patch: http...
分类:
编程语言 时间:
2015-04-30 23:14:37
阅读次数:
276
Description
The game “The Pilots Brothers: following the stripy elephant” has a quest where a player needs to open a refrigerator.
There are 16 handles on the refrigerator door. Every handle can...
分类:
其他好文 时间:
2015-04-30 21:59:43
阅读次数:
218
Given two strings s and t, determine if they are isomorphic.
Two strings are isomorphic if the characters in s can be replaced to get t.
All occurrences of a character must be replaced with anot...
分类:
其他好文 时间:
2015-04-30 21:52:56
阅读次数:
207
请先阅读:http://blog.saymagic.cn/2015/02/16/release-library-to-jcenter.html最外面的build.gradle// Top-level build file where you can add configuration options...
分类:
移动开发 时间:
2015-04-30 19:41:30
阅读次数:
163
Enhancing the Application: Advanced JDBC FeaturesThis chapter describes additional functionality that you can use in your Java application. Some of th...
分类:
移动开发 时间:
2015-04-30 17:58:53
阅读次数:
228
为了快速搭建了测试环境yum安装了MySQL。执行[root@localhost bin]#mysqlERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' ...
分类:
数据库 时间:
2015-04-30 17:47:51
阅读次数:
202
Given two strings s and t, determine if they are isomorphic.Two strings are isomorphic if the characters in s can be replaced to get t.All occurrences of a character must be replaced with another chara...
分类:
其他好文 时间:
2015-04-30 16:18:47
阅读次数:
97
Given a binary tree, imagine yourself standing on the right side of it, return the values of the nodes you can see ordered from top to bottom.For example:
Given the following binary tree, 1...
分类:
其他好文 时间:
2015-04-30 14:17:56
阅读次数:
118