博客专栏  >  研发管理   >  leetcode解法大全

leetcode解法大全

leetcode每题的答案代码,算法分析详解,还有一题多解

关注
0 已关注
5篇博文
  • 53 - Maximum Subarray

    Find the contiguous subarray within an array (containing at least one number) which has the largest ...

    2016-03-07 10:24
    288
  • 50 - Pow(x, n)

    用二分法,O(logn)。注意n /* */ #include "stdafx.h" #include using namespace std; class Solution_050_Po...

    2016-03-04 14:52
    311
  • 49 - Group Anagrams

    Given an array of strings, group anagrams together. For example, given: [“eat”, “tea”, “tan”, “ate”,...

    2016-03-04 13:28
    256
  • 48 - RotateImage

    Rotate Image You are given an n x n 2D matrix representing an image. Rotate the image by 90 degree...

    2016-03-04 10:12
    271
  • 46 - Permutations(全排列和递归)

    Given a collection of distinct numbers, return all possible permutations. For example, [1,2,3] h...

    2016-03-03 10:37
    403
img博客搬家
img撰写博客
img专家申请
img意见反馈
img返回顶部