排序:
默认
按更新时间
按访问量

leetcode-Pascal's Triangle(I、II)

Problems: (1)Given numRows, generate the first numRows of Pascal’s triangle.For example, given numRows = 5Return: [ [1], [1,...

2016-06-06 08:10:23

阅读数:135

评论数:0

leetcode - climb steps

Question:You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinct ways...

2016-05-22 15:16:16

阅读数:114

评论数:0

leetcode - Majority Element

Problem: (1)Majority Element Given an array of size n, find the majority element. The majority element is the element that appears more than ⌊ n/2...

2016-05-05 21:54:12

阅读数:94

评论数:0

leetcode- Number of 1 bits, power of two, power of three

leetcode- Number of 1 bits, power of two, power of three

2016-04-23 22:13:10

阅读数:122

评论数:0

leetcode - ugly number, ugly number2, super ugly number

ugly number的题目

2016-04-21 20:15:06

阅读数:98

评论数:0

leetcode - Contains Duplicate

Problem: Given an array of integers, find if the array contains any duplicates. Your function should return true if any value appears at least twice...

2016-04-14 21:50:45

阅读数:83

评论数:0

leetcode - roman to integer & integer to roman

leetcode - roman to integer & integer to roman

2016-04-13 10:30:06

阅读数:77

评论数:0

leetcode- Delete Node in a Linked List&Remove Linked List Elements

Problem: Delete Note in a LinkedList & Remove LinkedList Elements

2016-04-09 17:05:01

阅读数:123

评论数:0

leetcode - Valid Anagram

今天心情好,多刷一题,大家不要嫌弃我 Question: Given two strings s and t, write a function to determine if t is an anagram of s. For example, s = "a...

2016-04-01 22:30:07

阅读数:74

评论数:0

leetcode-Excel Sheet Column Title

说好的每天一刷,果然做不到,拖延症+懒癌晚期。好吧,趁着有时间赶快刷一题。 Problem: Given a positive integer, return its corresponding column title as appear in an Excel shee...

2016-04-01 21:35:41

阅读数:105

评论数:0

Leetcode-Move Zeroes

每天再忙还是要坚持刷题的,虽然只刷1-2道题,但是坚持下去就会有效果!【我真的不是在用心灵鸡汤在为自己刷的少找借口吗?】 Question: Given an array nums, write a function to move all 0's to the end...

2016-03-27 17:03:38

阅读数:95

评论数:0

Leetcode-Add Digits

本人正在努力加入浩浩荡荡的程序员组织,目前定位在数据挖掘与自然语言处理两块。但是无论如何,得先从leetcode做起。所以做过的题目,有空就往博客上丢,希望与大家一 同进步! Problem: Given a non-negative integer num, repeatedly ...

2016-03-26 15:41:52

阅读数:108

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭