Skip to content
Navigation Menu
Toggle navigation
Sign in
Product
GitHub Copilot
Write better code with AI
GitHub Advanced Security
Find and fix vulnerabilities
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Discussions
Collaborate outside of code
Code Search
Find more, search less
Explore
Why GitHub
All features
Documentation
GitHub Skills
Blog
Solutions
By company size
Enterprises
Small and medium teams
Startups
Nonprofits
By use case
DevSecOps
DevOps
CI/CD
View all use cases
By industry
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
Topics
AI
DevOps
Security
Software Development
View all
Explore
Learning Pathways
Events & Webinars
Ebooks & Whitepapers
Customer Stories
Partners
Executive Insights
Open Source
GitHub Sponsors
Fund open source developers
The ReadME Project
GitHub community articles
Repositories
Topics
Trending
Collections
Enterprise
Enterprise platform
AI-powered developer platform
Available add-ons
GitHub Advanced Security
Enterprise-grade security features
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search or jump to...
Search code, repositories, users, issues, pull requests...
Search syntax tips
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Sign in
Sign up
Reseting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
codename1995
/
LeetCodeHub
Public
Notifications
You must be signed in to change notification settings
Fork
2
Star
7
Code
Issues
0
Pull requests
0
Actions
Projects
0
Security
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security
Insights
Files
master
Breadcrumbs
LeetCodeHub
/
python
/
Copy path
Directory actions
More options
Directory actions
More options
Latest commit
History
History
master
Breadcrumbs
LeetCodeHub
/
python
/
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
1. two_sum.py
1. two_sum.py
10.RegularExpressionMatching.py
10.RegularExpressionMatching.py
11. Container With Most Water.py
11. Container With Most Water.py
1103. Distribute Candies to People.py
1103. Distribute Candies to People.py
1104. Path In Zigzag Labelled Binary Tree.py
1104. Path In Zigzag Labelled Binary Tree.py
1105. Filling Bookcase Shelves.py
1105. Filling Bookcase Shelves.py
1109. Corporate Flight Bookings.py
1109. Corporate Flight Bookings.py
1138. Alphabet Board Path.py
1138. Alphabet Board Path.py
1139. Largest 1-Bordered Square.py
1139. Largest 1-Bordered Square.py
1144. Decrease Elements To Make Array Zigzag.py
1144. Decrease Elements To Make Array Zigzag.py
12. Integer to Roman.py
12. Integer to Roman.py
121. Best Time to Buy and Sell Stock.py
121. Best Time to Buy and Sell Stock.py
122. Best Time to Buy and Sell Stock II.py
122. Best Time to Buy and Sell Stock II.py
125. Valid Palindrome.py
125. Valid Palindrome.py
13. Roman to Integer.py
13. Roman to Integer.py
14. Longest Common Prefix.py
14. Longest Common Prefix.py
15. 3Sum.py
15. 3Sum.py
150. Evaluate Reverse Polish Notation.py
150. Evaluate Reverse Polish Notation.py
162. Find Peak Element.py
162. Find Peak Element.py
166. Fraction to Recurring Decimal.py
166. Fraction to Recurring Decimal.py
172. Factorial Trailing Zeroes.py
172. Factorial Trailing Zeroes.py
179.LargestNumber.py
179.LargestNumber.py
189. Rotate Array.py
189. Rotate Array.py
191. Number of 1 Bits.py
191. Number of 1 Bits.py
20. Valid Parentheses.py
20. Valid Parentheses.py
200. Number of Islands.py
200. Number of Islands.py
202. Happy Number.py
202. Happy Number.py
204. Count Primes.py
204. Count Primes.py
206.ReverseLinkedList.py
206.ReverseLinkedList.py
237.DeleteNodeInALinkedList.py
237.DeleteNodeInALinkedList.py
240. Search a 2D Matrix II.py
240. Search a 2D Matrix II.py
242. Valid Anagram.py
242. Valid Anagram.py
27. Remove Element.py
27. Remove Element.py
278. First Bad Version.py
278. First Bad Version.py
279. Perfect Squares.py
279. Perfect Squares.py
28. Implement strStr().py
28. Implement strStr().py
283. Move Zeros.py
283. Move Zeros.py
29. Divide Two Integers.py
29. Divide Two Integers.py
3. Longest Substring Without Repeating Characters.py
3. Longest Substring Without Repeating Characters.py
300. Longest Increasing Subsequence.py
300. Longest Increasing Subsequence.py
322. Coin Change.py
322. Coin Change.py
326. Power of Three.py
326. Power of Three.py
334. Increasing Triplet Subsequence.py
334. Increasing Triplet Subsequence.py
34. Find First and Last Position of Element in Sorted Array.py
34. Find First and Last Position of Element in Sorted Array.py
344. Reverse String.py
344. Reverse String.py
347. Top K Frequent Elements.py
347. Top K Frequent Elements.py
350. Intersection of Two Arrays.py
350. Intersection of Two Arrays.py
36. Valid Sudoku.py
36. Valid Sudoku.py
387. First Unique Character in a String.py
387. First Unique Character in a String.py
412. Fizz Buzz.py
412. Fizz Buzz.py
42. Trapping Rain Water.py
42. Trapping Rain Water.py
448. Find All Numbers Disappeared in an Array.py
448. Find All Numbers Disappeared in an Array.py
46. Permutations.py
46. Permutations.py
461. Hamming Distance.py
461. Hamming Distance.py
48. Rotate Image.py
48. Rotate Image.py
49. Group Anagrams.py
49. Group Anagrams.py
5. Longest Palindromic Substring.py
5. Longest Palindromic Substring.py
5083. Occurrences After Bigram.py
5083. Occurrences After Bigram.py
5087. Letter Tile Possibilities.py
5087. Letter Tile Possibilities.py
5129. Longest Well-Performing Interval.py
5129. Longest Well-Performing Interval.py
5130. Number of Equivalent Domino Pairs.py
5130. Number of Equivalent Domino Pairs.py
5182. Maximum Subarray Sum with One Deletion.py
5182. Maximum Subarray Sum with One Deletion.py
5214. Longest Arithmetic Subsequence of Given Difference.py
5214. Longest Arithmetic Subsequence of Given Difference.py
53. Maximum Subarray.py
53. Maximum Subarray.py
55. Jump Game.py
55. Jump Game.py
566_reshape_the_matrix.py
566_reshape_the_matrix.py
58. Length of Last Word.py
58. Length of Last Word.py
6. ZigZag Conversion.py
6. ZigZag Conversion.py
605. Can Place Flowers.py
605. Can Place Flowers.py
621. Task Scheduler.py
621. Task Scheduler.py
62_Unique_Paths.py
62_Unique_Paths.py
63. Unique Paths II.py
63. Unique Paths II.py
64. Minimum Path Sum.py
64. Minimum Path Sum.py
66. Plus One.py
66. Plus One.py
661. Image Smoother.py
661. Image Smoother.py
697. Degree of an Array.py
697. Degree of an Array.py
7. Reverse Integer.py
7. Reverse Integer.py
73. Set Matrix Zeroes.py
73. Set Matrix Zeroes.py
74. Search a 2D Matrix.py
74. Search a 2D Matrix.py
8. String to Integer (atoi).py
8. String to Integer (atoi).py
830. Positions of Large Groups.py
830. Positions of Large Groups.py
849. Maximize Distance to Closest Person.py
849. Maximize Distance to Closest Person.py
888. Fair Candy Swap.py
888. Fair Candy Swap.py
922.Sort Array By Parity.py
922.Sort Array By Parity.py
WC222_02.py
WC222_02.py
WC222_03.py
WC222_03.py
WC226_02_Restore_The_Array_From_Adjacent_Pairs.py
WC226_02_Restore_The_Array_From_Adjacent_Pairs.py
WC226_03_Can_You_Eat_Your_Favorite_Candy_On_Your_Favorite_Day.py
WC226_03_Can_You_Eat_Your_Favorite_Candy_On_Your_Favorite_Day.py
huawei.py
huawei.py
tool_link2text.py
tool_link2text.py
View all files
You can’t perform that action at this time.