/leetcode_101_python

This Repository programmed by python, based on leetcode_101 writen by GaoHang

Primary LanguagePython

leetcode_101_python

leetcode_101的python版本.

  • greedyAlgo:

    • 分配问题

      • 455. Assign Cookies(Easy)
      • 135. Candy(Hard)
    • 区间问题

      • 435. Non-overlapping Intervals(Medium)
    • Excises

      • 605. Can Place Flowers(Easy)

      • 452. Minimum Numbers of Arrows to Brust Balloons(Medium)

      • 763. Partition Labels(Medium)

      • 122. Best Time to Buy and Sell Stocks II(Easy)

      • 406. Queue Reconstrcution by Height(Medium)

      • 665. Non-decreasing Array(Easy)

  • doublePointers:

    • Two Sum

      • 167. Two Sum II - Input array is sorted(Easy)
    • 归并两个有序数组

      • 88. Merge sorted Array(Easy)
    • 快慢指针

      • 142. Linked List Cycle II(Medium)
    • 滑动窗口

      • 76. Minimum Window Substring(Hard)
    • Excises

      • 633. Sum of Square Numbers(Easy)

      • 680. Valid Palindrome II(Easy)

      • 524. Longest Word in Dictionary through Deleting(Medium)

      • 340. Longest Substring with At Most K Distinct Characters (Hard)

  • binarySearch:

    • 求开方

      • 69. Sqrt(x) (Easy)
    • 查找区间

      • 34. Find First and Last Position of Element in Sorted Array(Medium)
    • 旋转数组查找数字

      • 81. Search in Rotated Sorted Array II(Medium)
    • Excises

      • 154. Find Minimum in Rotated Sorted Array II (Hard)

      • 540. Single Element in a sorted Array(Medium)

      • 4. Median of Two Sorted Arrays(Hard)