### LeetCode从零开刷

1 已关注
33篇博文
• #### [Leetcode从零开刷]217. Contains Duplicate

题目来源 leetcode 题目 Given an array of integers nums, write a method that returns the “pivot” index...

2018-02-08 17:21
23
• #### [Leetcode从零开刷]344. Reverse String

题目来源： leetcode 题目： Write a function that takes a string as input and returns the string reversed....

2017-11-30 09:41
38
• #### [Leetcode从零开刷]292.Nim Game

题目来源 leetdoe: 292、 Nim Game You are playing the following Nim Game with your friend: There is a he...

2017-11-29 17:47
49

题目来源leetcode Given a non-negative integer num, repeatedly add all its digits until the result has o...

2017-12-01 11:06
35
• #### [Leetcode从零开刷]226. Invert Binary Tree

题目来源： leetcode Invert a binary tree. 翻译：颠倒一个二叉树 解题： 如果不是根节点不用交换。 代码如下， class Solution { ...

2017-12-02 22:44
50
• #### [Leetcode从零开刷]7. Reverse Integer

题目来源leetcode Given a 32-bit signed integer, reverse digits of an integer. For example: 翻译： 给一个32...

2017-12-04 10:26
73
• #### [Leetcode从零开刷]9. Palindrome Number

题目来源： leetcode Determine whether an integer is a palindrome. Do this without extra space Some hin...

2017-12-05 14:21
46
• #### [Leetcode从零开刷]389. Find the Difference

题目来源 leetcode Given two strings s and t which consist of only lowercase letters. String t is gene...

2017-12-11 11:56
37
• #### [Leetcode从零开刷]476. Number Complement

题目来源： leetcode:Given a positive integer, output its complement number. The complement strategy is t...

2017-12-22 15:30
40
• #### [Leetcode从零开刷]657. Judge Route Circle

题目来源： leetcode: Initially, there is a Robot at position (0, 0). Given a sequence of its moves, jud...

2017-12-22 15:49
41
• #### [Leetcode从零开刷]728. Self Dividing Numbers

题目来源： leetcode A self-dividing number is a number that is divisible by every digit it contains. F...

2017-12-24 11:17
67
• #### [Leetcode从零开刷]617. Merge Two Binary Trees

一开始做的题目都不难，但是感觉坚持做下去，还挺有意思的，可以比较各种人的思路和想法，到目前为止还没有哪个题时不看答案做出来的，但是总会有的。 虽然找的工作和算法 计算机不再 有交集，但算法练习，...

2017-12-26 20:19
64
• #### [Leetcode从零开刷]500. Keyboard Row

这个题感觉上还是挺难的。 题目来源： leetcode: Given a List of words, return the words that can be typed using lett...

2017-12-26 23:06
38
• #### [Leetcode从零开刷]561. Array Partition I

题目来源： leetcode:Given an array of 2n integers, your task is to group these integers into n pairs of ...

2017-12-27 14:09
26
• #### [Leetcode从零开刷]461. Hamming Distance

题目来源： leetcode: The Hamming distance between two integers is the number of positions at which the ...

2017-12-27 20:38
42
• #### [Leetcode从零开刷]Maximum Binary Tree

题目来源 ： leetcode Given an integer array with no duplicates. A maximum tree building on this array i...

2018-01-03 22:07
35
• #### [Leetcode从零开刷]682. Baseball Game

题目来源; leetcode You’re now a baseball game point recorder.Given a list of strings, each string can ...

2018-01-03 22:15
73
• #### [Leetcode从零开刷]412. Fizz Buzz

题目来源： leetcode Write a program that outputs the string representation of numbers from 1 to n. But...

2018-01-15 16:29
30
• #### [Leetcode从零开刷]Sum of Two Integers

题目来源： leetcode Calculate the sum of two integers a and b, but you are not allowed to use the opera...

2018-01-16 22:24
28
• #### [Leetcode从零开刷]606. Construct String from Binary Tree

题目来源： leetcode You need to construct a string consists of parenthesis and integers from a binary t...

2018-01-16 23:02
31

221222765
Intellij Idea
541073416

9873919
web性能优化
7686369

15607828