leetcode
northsnow_bupt
这个作者很懒,什么都没留下…
展开
-
Leetcode_Rotate Image
说实在的,这不能算是原创,因为虽然代码是我自己写的,但这个思路,我得承认我是剽窃了discuss里的原创 2014-05-05 16:16:20 · 367 阅读 · 0 评论 -
Leetcode_Soduku Solver
Write a program to solve a Sudoku puzzle by filling the empty cells.Empty cells are indicated by the character '.'.You may assume that there will be only one unique solution.A sudoku puzzle.原创 2014-04-22 11:26:57 · 570 阅读 · 0 评论 -
Leetcode_Unique Paths
A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below).The robot can only move either down or right at any point in time. The robot is trying to reach the bo原创 2014-04-22 12:41:30 · 289 阅读 · 0 评论 -
Leetcode_Longest_Valid_Parentheses
Given a string containing just the characters '(' and ')', find the length of the longest valid (well-formed) parentheses substring.For "(()", the longest valid parentheses substring is "()", which原创 2014-05-08 14:22:09 · 376 阅读 · 0 评论 -
Leetcode_Remove Duplicates from Sorted Array II
Follow up for "Remove Duplicates":What if duplicates are allowed at most twice?For example,Given sorted array A = [1,1,1,2,2,3],Your function should return length = 5, and A is now [1,1,2,2,3]原创 2014-04-22 14:32:27 · 413 阅读 · 0 评论 -
Leetcode做完了
23天,终于把151道Leetcode都做完了。大体上来看自己的编程能力还是过得去的,应该有2/3的题目自己原创 2014-05-08 18:44:25 · 390 阅读 · 0 评论