Skip to content

xuhuanfeng/leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 

Repository files navigation

leetcode

Introduction

My leetcode solution

TimeLine

  • 2019年7月11日
    • _1108. Defanging an IP Address
    • _771. Jewels and Stones
    • _938. Range Sum of BST
    • _709. To Lower Case
    • _1021. Remove Outermost Parentheses
  • 2019年7月12日
    • _804. Unique Morse Code Words
    • -832. Flipping an Image
    • _905. Sort Array By Parity
    • _961. N-Repeated Element in Size 2N Array
  • 2019年7月14日
    • _977. Squares of a Sorted Array
    • _657. Robot Return to Origin
    • _728. Self Dividing Numbers
    • _617. Merge Two Binary Trees
    • _461. Hamming Distance
    • _929. Unique Email Addresses
    • _942. DI String Match
    • _852. Peak Index in a Mountain Array
    • _561. Array Partition I
    • _933. Number of Recent Calls
    • _944. Delete Columns to Make Sorted
    • _1051. Height Checker
    • _700. Search in a Binary Search Tree
    • _589. N-ary Tree Preorder Traversal
    • _1122. Relative Sort Array
    • _590. N-ary Tree Postorder Traversal
    • _922. Sort Array By Parity II
    • _1078. Occurrences After Bigram
    • _965. Univalued Binary Tree
    • _509. Fibonacci Number
    • _999. Available Captures for Rook
    • _883. Projection Area of 3D Shapes
    • _559. Maximum Depth of N-ary Tree
    • _811. Subdomain Visit Count
  • 2019年7月15日
    • _1002. Find Common Characters
    • _908. Smallest Range I
    • _876. Middle of the Linked List
    • _897. Increasing Order Search Tree
  • 2019年7月16日
    • _557. Reverse Words in a String III
    • _867. Transpose Matrix
    • _1047. Remove All Adjacent Duplicates In String
  • 2019年7月20日
    • _821. Shortest Distance to a Character
    • _1025. Divisor Game
    • _344. Reverse String
    • _872. Leaf-Similar Trees
    • _806. Number of Lines To Write String
    • _985. Sum of Even Numbers After Queries
  • 2019年7月21日
    • _476. Number Complement
    • _500. Keyboard Row
    • _766. Toeplitz Matrix
    • _1103. Distribute Candies to People
    • _682. Baseball Game
    • _463. Island Perimeter
    • _104. Maximum Depth of Binary Tree
    • _884. Uncommon Words from Two Sentences
    • _136. Single Number
    • _669. Trim a Binary Search Tree
    • _429. N-ary Tree Level Order Traversal
  • 2019年7月22日
    • _496. Next Greater Element I
    • _575. Distribute Candies
    • _762. Prime Number of Set Bits in Binary Representation
    • _412. Fizz Buzz
    • _868. Binary Gap
  • 2019年7月23日
    • _637. Average of Levels in Binary Tree
    • _566. Reshape the Matrix
    • _1009. Complement of Base 10 Integer
    • _226. Invert Binary Tree
    • _1089. Duplicate Zeros
  • 2019年7月24日
    • _693. Binary Number with Alternating Bits
    • _824. Goat Latin
    • _784. Letter Case Permutation
  • 2019年7月26日
    • _976. Largest Perimeter Triangle
  • 2019年7月27日
    • _706. Design HashMap
    • _521. Longest Uncommon Subsequence I
    • _937. Reorder Log Files
    • _812. Largest Triangle Area
    • _888. Fair Candy Swap
  • 2019年7月28日
    • _892. Surface Area of 3D Shapes
    • _917. Reverse Only Letters
    • _1013. Partition Array Into Three Parts With Equal Sum
    • _1138. Alphabet Board Path
    • _1137. N-th Tribonacci Number
    • _953. Verifying an Alien Dictionary
    • _206. Reverse Linked List
    • _349. Intersection of Two Arrays
    • _292. Nim Game
    • _896. Monotonic Array
    • _485. Max Consecutive Ones
    • _788. Rotated Digits
  • 2019年7月29日
    • _748. Shortest Completing Word
    • _705. Design HashSet
    • _237. Delete Node in a Linked List
    • _690. Employee Importance
  • 2019年7月30日
    • _258. Add Digits
    • _1071. Greatest Common Divisor of Strings
    • _696. Count Binary Substrings
    • _1029. Two City Scheduling
  • 2019年7月31日
    • _448. Find All Numbers Disappeared in an Array
    • _169. Majority Element
    • _389. Find the Difference
    • _242. Valid Anagram
  • 2019年8月3日
    • _653. Two Sum IV - Input is a BST
    • _13. Roman to Integer
    • _217. Contains Duplicate
    • _520. Detect Capital
    • _122. Best Time to Buy and Sell Stock II
    • _993. Cousins in Binary Tree
    • _606. Construct String from Binary Tree
    • _733. Flood Fill
    • _697. Degree of an Array
  • 2019年8月4日
    • _530. Minimum Absolute Difference in BST
    • _167. Two Sum II - Input array is sorted
    • _371. Sum of Two Integers
    • _1146. Snapshot Array
    • _1144. Decrease Elements To Make Array Zigzag
    • _538. Convert BST to Greater Tree
    • _783. Minimum Distance Between BST Nodes
    • _860. Lemonade Change
    • _100. Same Tree
    • _387. First Unique Character in a String
    • _383. Ransom Note
    • _447. Number of Boomerangs
    • _1005. Maximize Sum Of Array After K Negations
    • _404. Sum of Left Leaves
    • _453. Minimum Moves to Equal Array Elements
  • 2019年8月5日
    • _997. Find the Town Judge
    • _717. 1-bit and 2-bit Characters
    • _661. Image Smoother
    • _796. Rotate String
  • 2019年8月6日
    • _268. Missing Number
    • _598. Range Addition II
    • _492. Construct the Rectangle
    • _455. Assign Cookies
    • _704. Binary Search
    • _350. Intersection of Two Arrays II
    • _409. Longest Palindrome
  • 2019年8月7日
    • _599. Minimum Index Sum of Two Lists
    • _21. Merge Two Sorted Lists
    • _830. Positions of Large Groups
  • 2019年8月10日
    • _746. Min Cost Climbing Stairs
    • _121. Best Time to Buy and Sell Stock
    • _107. Binary Tree Level Order Traversal II
    • _392. Is Subsequence
    • _118. Pascal's Triangle
    • _543. Diameter of Binary Tree
    • _563. Binary Tree Tilt
    • _836. Rectangle Overlap
    • _257. Binary Tree Paths
  • 2019年8月11日
    • _844. Backspace String Compare
    • _994. Rotting Oranges
  • 2019年8月12日
    • _1018. Binary Prefix Divisible By 5
    • _628. Maximum Product of Three Numbers
    • _202. Happy Number
    • _541. Reverse String II
    • _1010. Pairs of Songs With Total Durations Divisible by 60
  • 2019年8月13日
    • _235. Lowest Common Ancestor of a Binary Search Tree
    • _551. Student Attendance Record I
  • 2019年8月19日
    • _27. Remove Element
    • _504. Base 7
    • _70. Climbing Stairs
    • _119. Pascal's Triangle II
  • 2019年8月24日
    • _674. Longest Continuous Increasing Subsequence
    • _1128. Number of Equivalent Domino Pairs
    • _9. Palindrome Number
    • _232. Implement Queue using Stacks
    • _925. Long Pressed Name
    • _191. Number of 1 Bits
    • _744. Find Smallest Letter Greater Than Target
    • _415. Add Strings
  • 2019年8月25日
    • _1169. Invalid Transactions
    • _1170. Compare Strings by Frequency of the Smallest Character
  • 2019年8月26日
    • _989. Add to Array-Form of Integer
    • _101. Symmetric Tree
    • _53. Maximum Subarray
    • _594. Longest Harmonious Subsequence
  • 2019年8月27日
    • _83. Remove Duplicates from Sorted List
    • _671. Second Minimum Node In a Binary Tree
    • _437. Path Sum III
  • 2019年9月2日
    • _405. Convert a Number to Hexadecimal
    • _231. Power of Two
    • _405. Convert a Number to Hexadecimal
    • _572. Subtree of Another Tree
  • 2019年9月3日
    • _345. Reverse Vowels of a String
    • _326. Power of Three
    • _724. Find Pivot Index
  • 2019年9月7日
    • _26. Remove Duplicates from Sorted Array
    • _110. Balanced Binary Tree
    • _66. Plus One
    • _38. Count and Say
    • _849. Maximize Distance to Closest Person
    • _482. License Key Formatting
    • _35. Search Insert Position
    • _198. House Robber
    • _645. Set Mismatch
    • _263. Ugly Number
    • _747. Largest Number At Least Twice of Others
    • _342. Power of Four
  • 2019年9月8日
    • _225. Implement Stack using Queues
    • _67. Add Binary
    • _459. Repeated Substring Pattern
    • _367. Valid Perfect Square
    • _374. Guess Number Higher or Lower
    • _643. Maximum Average Subarray I
    • _501. Find Mode in Binary Search Tree
    • _970. Powerful Integers
    • _303. Range Sum Query - Immutable
    • _112. Path Sum
    • _5181. Distance Between Bus Stops
    • _5183. Day of the Week
  • 2019年9月9日
    • _155. Min Stack
    • _441. Arranging Coins
    • _443. String Compression
    • _205. Isomorphic Strings
  • 2019年9月10日
    • _1037. Valid Boomerang
    • _172. Factorial Trailing Zeroes
    • _1033. Moving Stones Until Consecutive
  • 2019年9月11日
    • _434. Number of Segments in a String
    • _20. Valid Parentheses
    • _234. Palindrome Linked List
    • _88. Merge Sorted Array
    • _203. Remove Linked List Elements
    • _219. Contains Duplicate II
    • _111. Minimum Depth of Binary Tree
  • 2019年9月12日
    • _290. Word Pattern
    • _941. Valid Mountain Array
    • _507. Perfect Number
  • 2019年9月13日
    • _949. Largest Time for Given Digits
    • _14. Longest Common Prefix
    • _687. Longest Univalue Path
    • _680. Valid Palindrome II
    • _914. X of a Kind in a Deck of Cards
  • 2019年9月15日
    • _874. Walking Robot Simulation
    • _28. Implement strStr()
    • _190. Reverse Bits
    • _5189. Maximum Number of Balloons
    • _5190. Reverse Substrings Between Each Pair of Parentheses
    • _5191. K-Concatenation Maximum Sum
    • _633. Sum of Square Numbers
    • _125. Valid Palindrome
    • _58. Length of Last Word
  • 2019年9月16日
    • _69. Sqrt(x)
    • _189. Rotate Array
    • _605. Can Place Flowers
    • _278. First Bad Version
  • 2019年9月17日
    • _532. K-diff Pairs in an Array
    • _204. Count Primes
    • _168. Excel Sheet Column Title
    • _414. Third Maximum Number
  • 2019年9月18日
    • _859. Buddy Strings
    • _7. Reverse Integer
  • 2020年3月3日
    • _1302. Deepest Leaves Sum
    • _807. Max Increase to Keep City Skyline
  • 2020年3月4日
    • _1038. Binary Search Tree to Greater Sum Tree
    • _701. Insert into a Binary Search Tree

Releases

No releases published

Packages

No packages published

Languages