数据结构与算法之leetcode刷题笔记

leetcode笔记

1、Power of Three

    Java版: https://leetcode.com/submissions/detail/51726417/

 


2Rising Temperature

Java版:https://leetcode.com/submissions/detail/51726552/

 

 

3Coin Change

   Java版:  https://leetcode.com/submissions/detail/51727018/

 

 

4Missing Number

   Java版: https://leetcode.com/submissions/detail/51794314/

 

5Search a 2D Matrix II

  Javahttps://leetcode.com/submissions/detail/51806113/

  Python版:https://leetcode.com/submissions/detail/51806905/

 


6Number of Digit One

  Java版:https://leetcode.com/submissions/detail/51808719/

 

 

7Majority Element II

  C++版:https://leetcode.com/submissions/detail/51809290/

 

 

8Contains Duplicate

  Java版:https://leetcode.com/submissions/detail/51819556/

  http://segmentfault.com/a/1190000003709386

 

 

 

 

9Count Primes

  C++版:https://leetcode.com/submissions/detail/51821363/

 


10Happy Number

  C++版:https://leetcode.com/submissions/detail/51829437/

 

 

11Bulb Switcher

  C++版:https://leetcode.com/submissions/detail/51901796/

 

 

12Create Maximum Number

  Java版:https://leetcode.com/problems/create-maximum-number/

 


13Combination Sum III

  C++版: https://leetcode.com/submissions/detail/51913534/

 


14Add Two Numbers

  C++版:  https://leetcode.com/submissions/detail/52006992/

 

15Two Sum

  Python版:https://leetcode.com/problems/two-sum/

  

 

16Median of Two Sorted Arrays

  Java版: https://leetcode.com/submissions/detail/52012396/

 

 

17ZigZag Conversion

  Java版:https://leetcode.com/submissions/detail/52024396/

 

 

18Trapping Rain Water

  Java版:https://leetcode.com/submissions/detail/52024625/

 

 

19、Combination Sum II

  C++版:https://leetcode.com/problems/combination-sum-ii/

 

 

20Factorial Trailing Zeroes

  C++版:https://leetcode.com/submissions/detail/52120867/

 

 

21Scramble String

  C++版:https://leetcode.com/submissions/detail/52123619/

 

 

22Wiggle Sort II

 Java版:https://leetcode.com/submissions/detail/52173624/

 

 

23Compare Version Numbers

 C++版: https://leetcode.com/submissions/detail/52184630/

 


24Search Insert Position

 Java版:https://leetcode.com/submissions/detail/53340195/

 

 

25Integer to English Words

 C++版: https://leetcode.com/submissions/detail/53342477/

 


26Binary Tree Preorder Traversal

 C++版: https://leetcode.com/submissions/detail/53691307/

 

27Combination Sum

 C++版: https://leetcode.com/submissions/detail/53721262/

 

28Range Sum Query - Mutable

 C++版: https://leetcode.com/submissions/detail/53730127/

 

 

29Implement Stack using Queues

 C++版: https://leetcode.com/submissions/detail/53731391/

 

30Excel Sheet Column Title

 C++版: https://leetcode.com/submissions/detail/53731872/

 

 

31Add Binary

 C++版: https://leetcode.com/submissions/detail/53890912/

 

32Restore IP Addresses

 C++版: https://leetcode.com/submissions/detail/53896029/

 

 

33Perfect Squares

 C++:  https://leetcode.com/submissions/detail/53910492/

 

 

34House Robber

 C++版:https://leetcode.com/submissions/detail/53974812/

 

 

 

35Excel Sheet Column Number

 C++版:https://leetcode.com/submissions/detail/53978285/

 

 

36Single Number

 C++版:https://leetcode.com/submissions/detail/53998273/

 

 

37Maximum Subarray

 C++版:https://leetcode.com/submissions/detail/54073338/

 

 

38Set Matrix Zeroes

 C++版:https://leetcode.com/submissions/detail/54149714/

 

 

39Basic Calculator

 C++版:https://leetcode.com/submissions/detail/54292916/

 

40Search a 2D Matrix

 Java版:https://leetcode.com/submissions/detail/54350977/

 

41Spiral Matrix

 C++版: https://leetcode.com/submissions/detail/54395159/

 

42Ugly Number

 C++版: https://leetcode.com/submissions/detail/54900957/

 

43Nim Game

 C++版: https://leetcode.com/submissions/detail/54901276/

 

 

44Sum Root to Leaf Numbers

 Java版:https://leetcode.com/submissions/detail/54978890/

 

 

 

 

 

 

 

 

 

 

 

 

 

 

你可能感兴趣的:(数据结构与算法)