忠奸人

忠奸人

    • Home
    • Archives
    • About

Number of Islands

Number of Islands题目Given a 2d grid map of ‘1’s (land) and ‘0’s (water), count the number of islands. An island is surrounded by water and is

2015-07-07

Basic Calculator

Basic Calculator题目Implement a basic calculator to evaluate a simple expression string. The expression string may contain open ( and closing

2015-07-07

Evaluate Reverse Polish Notation

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

2015-07-07

Maximal Rectangle

Maximal Rectangle题目Given a 2D binary matrix filled with 0’s and 1’s, find the largest rectangle containing all ones and return its area. 思路每

2015-07-07

Largest Rectangle in Histogram

Largest Rectangle in Histogram题目Given n non-negative integers representing the histogram’s bar height where the width of each bar is 1, find

2015-07-07

Min Stack

Min Stack题目Design a stack that supports push, pop, top, and retrieving the minimum element in constant time. -push(x) — Push element x onto

2015-07-07

Trapping Rain Water

Trapping Rain Water题目Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it

2015-07-07

Simplify Path

Simplify Path题目Given an absolute path for a file (Unix-style), simplify it. For example, path = “/home/“, => “/home” path = “/a/./b/../..

2015-07-07

Valid Parenteses

Valid Parenthese题目Given a string containing just the characters ‘(‘, ‘)’, ‘{‘, ‘}’, ‘[‘ and ‘]’, determine if the input string is valid. The

2015-07-07

Invert Binary Tree

Invert Binary Tree题目invert a binary tree. 4 / \ 2 7 / \ / \ 1 3 6 9 to 4 / \ 7 2 / \ / \ 9 6 3

2015-06-26
123…6Next

分类

  • leetcode57

标签

  • leetcode,tree28
  • leetcode,linkList20
  • leetcode,stack7
  • leetcode1
  • leetcode,dfs1

友情链接

  • 码农圈
  • Jark's Blog
  • 劝儒乡
RSS 订阅

新浪微博

生命不息,战斗不止!!!
This is my blog,believe it or not.

Powered by hexo and Theme by Jacman © 2015 yzbachelor