### Leetcode

0 已关注
8篇博文
• #### Find the Duplicate Number

﻿﻿ Given an array nums containing n + 1 integers where each integer is between 1 and n (inclusive)...

2015-11-17 21:13
992
• #### Missing Number

从一组非负整数中找出缺少的数，比如[0,1,3]，缺少2

2015-11-15 13:47
650
• #### Basic Calculator

﻿﻿ Implement a basic calculator to evaluate a simple expression string. The expression string may ...

2015-11-13 23:16
306
• #### Product of Array Except Self

﻿﻿ Given an array of n integers where n > 1, nums, return an array output such that output[i] is ...

2015-11-06 22:32
300
• #### Pow(x, n)

﻿﻿ Implement pow(x, n). 注意：n可能小于0 错误：pow（x，n） = x * pow（x，n - 1）栈溢出 代码： public class Solution {...

2015-04-18 19:47
345
• #### Symmetric Tree

Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center). For e...

2015-04-18 09:07
299
• #### Word Pattern

Given a pattern and a string str, find if str follows the same pattern. Here follow means a full ma...

2015-10-29 22:28
278
• #### Evaluate Reverse Polish Notation

Evaluate the value of an arithmetic expression in Reverse Polish Notation. Valid operators are +, -,...

2015-11-04 18:03
592