博客专栏  >  互联网   >  leetcode with python&java

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
    690
  • 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
    290
  • 476Number Complement

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

    2017-02-17 16:16
    168
  • 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
    173
  • 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
    187
  • leetcode 463. Island Perimeter

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

    2017-03-25 16:50
    224
  • 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
    271
  • 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
    430
  • 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
    149
  • 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
    179
  • 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
    133
  • 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
    132
  • 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
    112
  • leetcode 226. Invert Binary Tree

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

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

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

    2017-03-27 16:57
    430
  • 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
    158
  • 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
    427
  • leetcode 506. Relative Ranks

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

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

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

    2017-04-14 18:58
    245
  • 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
    157

Intellij Idea
53895098
web性能优化
7669778
网络编程
16612330
搜索引擎
15605752
DICOM医学图像处理
89551300
img博客搬家
img撰写博客
img发布 Chat
img专家申请
img意见反馈
img返回顶部