博客专栏  >  综合   >  leetcode

leetcode

LeetCode OJ is a platform for preparing technical coding interviews. Pick from an expanding library of more than 150 questions

关注
0 已关注
12篇博文
  • Leetcode 之Find Peak Element

    A peak element is an element that is greater than its neighbors. Given an input array where num[i] ...

    2015-02-14 19:00
    473
  • leetcode之 Repeated DNA Sequences

    Total Accepted: 2932 Total Submissions: 16668All DNA is composed of a series of nucleotides abbrevia...

    2015-03-14 14:15
    361
  • leetcode之Number of 1 Bit

    Write a function that takes an unsigned integer and returns the number of ’1’ bits it has (also know...

    2015-03-16 21:55
    466
  • leetcode 之Path Sum II

    Given a binary tree and a sum, find all root-to-leaf paths where each path’s sum equals the given su...

    2015-03-21 11:19
    315
  • leetcode 之Rotate Array

    Rotate an array of n elements to the right by k steps.For example, with n = 7 and k = 3, the array [...

    2015-03-23 00:38
    443
  • leetcode之Excel Sheet Column Number

    Excel Sheet Column Number Related to question Excel Sheet Column Title Given a column title as...

    2015-01-29 13:01
    546
  • leetcode 之Min Stack

    Total Accepted: 15967 Total Submissions: 103378 Design a stack that supports push, pop, top, an...

    2015-01-28 17:03
    384
  • leetcode 之Excel Sheet Column Title

    Total Accepted: 9173 Total Submissions: 52899 Given a positive integer, return its corres...

    2015-01-21 23:14
    405
  • leetcode 之Largest Number

    Largest Number Given a list of non negative integers, arrange them such that they form the largest...

    2015-01-21 01:12
    384
  • Leetcode 之 Factorial Trailing Zeroes

    Given an integer n, return the number of trailing zeroes in n!. Note: Your solution should be in log...

    2015-01-20 18:27
    379
  • Leetcode之LRU Cache

    Design and implement a data structure for Least Recently Used (LRU) cache. It should support the fol...

    2015-01-05 14:29
    486
  • Leetcode之Reverse Words in a String

    Given an input string, reverse the string word by word. For example, Given s = "the sky is blue"...

    2014-12-31 21:12
    460

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