博客专栏  >  编程语言   >  Leetcode

Leetcode

该专栏旨在记录本人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
    948
  • Missing Number

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

    2015-11-15 13:47
    612
  • Basic Calculator

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

    2015-11-13 23:16
    267
  • 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
    269
  • 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
    317
  • 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
    272
  • 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
    243
  • Evaluate Reverse Polish Notation

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

    2015-11-04 18:03
    550

img博客搬家
img撰写博客
img专家申请
img意见反馈
img返回顶部