Skip to content

joffilyfe/leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Problem Number Tag URL
1.py Hash table https://leetcode.com/problems/two-sum/
3.py Array / Sliding Window https://leetcode.com/problems/longest-substring-without-repeating-characters
15.py Two pointers https://leetcode.com/problems/3sum/
35.py Binary Search https://leetcode.com/problems/search-insert-position/
61.py Linked List / Two pointers https://leetcode.com/problems/rotate-list/description//
80.py Array / Two pointers https://leetcode.com/problems/remove-duplicates-from-sorted-array-ii/
82.py Linked List / Two pointers https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii/
83.py Linked List / Two pointers https://leetcode.com/problems/remove-duplicates-from-sorted-list/
141.py Fast and Slow pointers https://leetcode.com/problems/linked-list-cycle/description/
167.py Two pointers https://leetcode.com/problems/two-sum-ii-input-array-is-sorted/
219.py Array / Sliding Window https://leetcode.com/problems/find-the-duplicate-number/
234.py Linked List / Fast and Slow https://leetcode.com/problems/palindrome-linked-list/
287.py Two pointers / Hash table https://leetcode.com/problems/find-the-duplicate-number/
643.py Array / Sliding Window https://leetcode.com/problems/maximum-average-subarray-i/
876.py Fast and Slow pointers https://leetcode.com/problems/middle-of-the-linked-list/
888.py Hash table https://leetcode.com/problems/fair-candy-swap
904.py Hash table / Sliding Window https://leetcode.com/problems/fruit-into-baskets/description/
977.py Two pointers / Sorting https://leetcode.com/problems/squares-of-a-sorted-array/
1051.py
1207.py
1337.py Heap https://leetcode.com/problems/the-k-weakest-rows-in-a-matrix
1351.py Binary Search https://leetcode.com/problems/count-negative-numbers-in-a-sorted-matrix
1356.py
1365.py
1370.py
1385.py Binary Search https://leetcode.com/problems/find-the-distance-value-between-two-arrays
1406.py Sorting https://leetcode.com/problems/minimum-subsequence-in-non-increasing-order/
1436.py
1438.py Sliding Window (max & min) https://leetcode.com/problems/longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit
1464.py
1475.py
1512.py
1636.py
1652.py Sliding Window https://leetcode.com/problems/defuse-the-bomb
1656.py
1684.py
1710.py
1742.py
1748.py
1768.py String / Two pointers https://leetcode.com/problems/merge-strings-alternately
1832.py
1859.py
1876.py
1920.py
1935.py
1941.py
20.py
2006.py
2032.py
2037.py
2053.py
2089.py Sorting, Binary Search https://leetcode.com/problems/find-target-indices-after-sorting-array
2060.py
2103.py
2154.py
2206.py
2215.py
2283.py
2325.py
2341.py
2363.py
2367-2.py
2367.py
2389.py Soring/PrefixSum https://leetcode.com/problems/longest-subsequence-with-limited-sum
2418.py
2475.py
2500.py
2529.py Binary Search https://leetcode.com/problems/maximum-count-of-positive-integer-and-negative-integer
2545.py
2570.py
2670.py
2716.py
2733.py
2744.py
2848.py
2913.py
2932.py
3206.py Array https://leetcode.com/problems/alternating-groups-i/description/
3318.py Array / Sliding Window https://leetcode.com/problems/find-x-sum-of-all-k-long-subarrays-i
3364.py Array / Sliding Window https://leetcode.com/problems/minimum-positive-sum-subarray
414.py
496.py
56.py
561.py
771.py
804.py
905.py
961.py

About

Some leetcode solutions using Python + pytest

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published