博客专栏  >  编程语言   >  hwb1992之LeetCode题解

hwb1992之LeetCode题解

hwb的LeetCode

关注
0 已关注
14篇博文
  • LeetCode|Substring with Concatenation of All Words

    题目 You are given a string, S, and a list of words, L, that are all of the same length. Find all s...

    2014-04-23 14:43
    775
  • LeetCode|Anagrams

    题目 Given an array of strings, return all groups of strings that are anagrams. Note: All inputs will...

    2014-04-20 22:25
    634
  • LeetCode|Evaluate Reverse Polish Notation

    题目 Evaluate the value of an arithmetic expression in Reverse Polish Notation. Valid operators are ...

    2014-04-20 21:26
    603
  • LeetCode|Permutations II

    题目 Given a collection of numbers that might contain duplicates, return all possible unique permutat...

    2014-04-20 20:31
    534
  • LeetCode|Permutations

    题目 Given a collection of numbers, return all possible permutations. For example, [1,2,3] have t...

    2014-04-16 21:54
    594
  • LeetCode|Linked List Cycle II

    题目 Given a linked list, return the node where the cycle begins. If there is no cycle, return nul...

    2014-04-12 20:05
    1572
  • LeetCode|Linked List Cycle

    题目 Given a linked list, determine if it has a cycle in it. Follow up: Can you solve it without ...

    2014-04-12 14:46
    636
  • LeetCode|Add Two Numbers

    题目 You are given two linked lists representing two non-negative numbers. The digits are stored in...

    2014-04-12 13:26
    662
  • LeetCode|AddBinary

    题目 Given two binary strings, return their sum (also a binary string). For example, a = "11" ...

    2014-04-11 22:10
    588
  • LeetCode|4SUM

    题目 Given an array S of n integers, are there elements a, b, c, and d in S such that a + b + c +...

    2014-04-09 21:05
    608
  • LeetCode|3SUM Closest

    题目 Given an array S of n integers, find three integers in S such that the sum is closest to a giv...

    2014-04-09 16:38
    627
  • LeetCode|3SUM

    题目 Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find al...

    2014-04-09 13:04
    676
  • LeetCode|2Sum

    题目 Given an array of integers, find two numbers such that they add up to a specific target number. ...

    2014-04-07 22:27
    596
  • LeetCode|Search a 2D Matrix

    Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the foll...

    2014-04-07 20:00
    625
img博客搬家
img撰写博客
img发布 Chat
img专家申请
img意见反馈
img返回顶部