- 博客(4)
- 收藏
- 关注
原创 lintcode: House Robber
You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping you from robbing each of them is that adjacent house
2015-10-17 22:03:21 296
原创 leetcode:Basic Calculator II
Implement a basic calculator to evaluate a simple expression string.The expression string contains only non-negative integers, +, -, *, / operators and empty spaces. The integer division should
2015-10-17 21:13:49 402
原创 leetcode:Word Pattern
Given a pattern and a string str, find if str follows the same pattern.Here follow means a full match, such that there is a bijection between a letter inpattern and a non-empty word in str.Examp
2015-10-17 15:14:10 603
原创 leedcode: Course Schedule
There are a total of n courses you have to take, labeled from 0 ton - 1.Some courses may have prerequisites, for example to take course 0 you have to first take course 1, which is expressed as a p
2015-10-17 14:07:41 344
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人