- 博客(3)
- 资源 (1)
- 收藏
- 关注
原创 求助 :741Cherry Pickup:采樱桃
这道题不理解啊,不是不理解他的思路,而是为什么换一种写法不能AC.... In a N x N grid representing a field of cherries, each cell is one of three possible integers. 0 means the cell is empty, so you can pass through;1 means
2018-02-06 13:55:51 484
原创 Basic Calculator:计算字符串表达式
Implement a basic calculator to evaluate a simple expression string. The expression string may contain open ( and closing parentheses ), the plus + or minus sign -, non-negative integers and em
2018-02-05 10:49:33 208
原创 Longest Harmonious Subsequence:元素相差不超过1的子数组
We define a harmonious array is an array where the difference between its maximum value and its minimum value is exactly 1. Now, given an integer array, you need to find the length of its longest h
2018-02-01 08:31:00 174
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人