### leetcode with python&java

2 已关注
28篇博文
• #### python leetcode461 汉明距离

one day a cannon or one week five cannons leetcode 461 hamming distance  (Source) The Hamming ...

2017-02-15 22:03
767
• #### 500 keyboard row

one day an cannon!!! or one week five cannons!!! 500 keyboard row 题目说明： Given a List of w...

2017-02-16 20:42
325
• #### 476Number Complement

one day one cannon or  one week five connon #coding=utf-8 ''' Given a positive integer, o...

2017-02-17 16:16
193
• #### 496Next Greater Element

one day one cannon or  one week five cannons 496 Next Greater Element I You are given two arrays...

2017-02-19 20:12
207
• #### 412. Fizz Buzz

one day one cannon or  one week five cannons 412. Fizz Buzz Write a program that outpu...

2017-02-19 21:51
200
• #### leetcode 463. Island Perimeter

很难坚持啊，一题要好长时间....... 不搞什么虚的了，还是尽量坚持下去..... You are given a map in form of a two-dimensio...

2017-03-25 16:50
251
• #### leetcode 485. Max Consecutive Ones

485. Max Consecutive Ones Given a binary array, find the maximum number of consecutive 1s in th...

2017-03-25 18:31
300
• #### leetcode 136. Single Number

Given an array of integers, every element appears twice except for one. Find that single one. Note:...

2017-03-26 08:48
459
• #### 448. Find All Numbers Disappeared in an Array

448. Find All Numbers Disappeared in an Array Given an array of integers where 1 ≤ a[i] ≤ n...

2017-03-26 09:45
171
• #### leetcode 520. Detect Capital

#coding=utf-8 ''' Given a word, you need to judge whether the usage of capitals in it is right or no...

2017-03-26 17:56
201
• #### leetcode 104. Maximum Depth of Binary Tree

leetcode  104. Maximum Depth of Binary Tree #coding=utf-8 ''' Given a binary tree, find i...

2017-03-26 19:47
161
• #### leetcode 389. Find the Difference

389. Find the Difference Given two strings s and t which consist of only lowercase letters. Strin...

2017-03-26 20:41
151
• #### LeetCode 371（Sum of Two Integers）

371. Sum of Two Integers Calculate the sum of two integers a and b, but you are not allowed...

2017-03-26 23:04
132
• #### leetcode 226. Invert Binary Tree

226. Invert Binary Tree Invert a binary tree. 4 / \ 2 7 / \ / \ 1 3 6...

2017-03-27 07:53
275
• #### leetcode 258 Add Digits

简单来说就是求给定一个数的每个位置数值的相加 #coding=utf-8 ''' Given a non-negative integer num, repeatedly add all...

2017-03-27 16:57
444
• #### leetcode 283. Move Zeroes

#coding=utf-8 ''' Given an array nums, write a function to move all 0's to the end of it while maint...

2017-03-28 20:07
180
• #### leetcode 530. Minimum Absolute Difference in BST

leetcode 530. Minimum Absolute Difference in BST #coding=utf-8 ''' Given a binary searc...

2017-04-04 22:46
468
• #### leetcode 506. Relative Ranks

leetcode 506. Relative Ranks #coding=utf-8 '''Given scores of N athletes, find their relativ...

2017-04-04 23:16
429
• #### leetcode 383. Ransom Note

Python leetcode leetcode  383. Ransom Note Given an arbitrary ransom note string and another...

2017-04-14 18:58
269
• #### leetcode 453. Minimum Moves to Equal Array Elements

Python leetcode 453. Minimum Moves to Equal Array Elements Given a non-empty integer a...

2017-04-14 19:01
209

221235453
Intellij Idea
541073669

9878181
web性能优化
7686394

15607848