Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Events
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
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 }}
wongbenshing
LeetCode
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
LeetCode
Public
Notifications
You must be signed in to change notification settings
Fork
0
(
0
)
Star
0
(
0
)
You must be signed in to star a repository
About
LeetCode Python Solution
Resources
Readme
Activity
Stars
0
stars
Watchers
0
watching
Forks
0
forks
Report repository
master
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
74 Commits
74 Commits
Folders and files
Name
Name
Last commit message
Last commit date
123. Best Time to Buy and Sell Stock III
123. Best Time to Buy and Sell Stock III
125. Valid Palindrome
125. Valid Palindrome
134. Gas Station
134. Gas Station
146. LRU Cache
146. LRU Cache
157. Read N Characters Given Read4
157. Read N Characters Given Read4
158. Read N Characters Given Read4 II - Call multiple times
158. Read N Characters Given Read4 II - Call multiple times
159. Longest Substring with At Most Two Distinct Characters
159. Longest Substring with At Most Two Distinct Characters
161. One Edit Distance
161. One Edit Distance
170. Two Sum III - Data structure design
170. Two Sum III - Data structure design
188. Best Time to Buy and Sell Stock IV
188. Best Time to Buy and Sell Stock IV
200. Number of Islands
200. Number of Islands
229. Majority Element II
229. Majority Element II
23. Merge k Sorted Lists
23. Merge k Sorted Lists
230. Kth Smallest Element in a BST
230. Kth Smallest Element in a BST
274. H-Index
274. H-Index
275. H-Index II
275. H-Index II
289. Game of Life
289. Game of Life
299. Bulls and Cows
299. Bulls and Cows
340. Longest Substring with At Most K Distinct Characters
340. Longest Substring with At Most K Distinct Characters
344. Reverse String
344. Reverse String
359. Logger Rate Limiter
359. Logger Rate Limiter
380. Insert Delete GetRandom O(1)
380. Insert Delete GetRandom O(1)
399. Evaluate Division
399. Evaluate Division
4. Median of Two Sorted Arrays
4. Median of Two Sorted Arrays
41. First Missing Positive
41. First Missing Positive
42. Trapping Rain Water
42. Trapping Rain Water
429. N-ary Tree Level Order Traversal
429. N-ary Tree Level Order Traversal
45. Jump Game II
45. Jump Game II
482. License Key Formatting
482. License Key Formatting
54. Spiral Matrix
54. Spiral Matrix
542. 01 Matrix
542. 01 Matrix
55. Jump Game
55. Jump Game
57. Insert Interval
57. Insert Interval
6. ZigZag Conversion
6. ZigZag Conversion
616. Add Bold Tag in String
616. Add Bold Tag in String
635. Design Log Storage System
635. Design Log Storage System
654. Maximum Binary Tree
654. Maximum Binary Tree
657. Robot Return to Origin
657. Robot Return to Origin
66. Plus One
66. Plus One
681. Next Closest Time
681. Next Closest Time
683. K Empty Slots
683. K Empty Slots
686. Repeated String Match
686. Repeated String Match
687. Longest Univalue Path
687. Longest Univalue Path
700. Search in a Binary Search Tree
700. Search in a Binary Search Tree
701. Insert into a Binary Search Tree
701. Insert into a Binary Search Tree
703. Kth Largest Element in a Stream
703. Kth Largest Element in a Stream
707. Design Linked List
707. Design Linked List
708. Insert into a Cyclic Sorted List
708. Insert into a Cyclic Sorted List
787. unique morse code words
787. unique morse code words
80. Remove Duplicates from Sorted Array II
80. Remove Duplicates from Sorted Array II
814. Binary Tree Pruning
814. Binary Tree Pruning
844. Backspace String Compare
844. Backspace String Compare
857. Minimum Cost to Hire K Workers
857. Minimum Cost to Hire K Workers
872. Leaf-Similar Trees
872. Leaf-Similar Trees
904. Fruit Into Baskets
904. Fruit Into Baskets
914. X of a Kind in a Deck of Cards
914. X of a Kind in a Deck of Cards
921. Minimum Add to Make Parentheses Valid
921. Minimum Add to Make Parentheses Valid
933. Number of Recent Calls
933. Number of Recent Calls
942. DI String Match
942. DI String Match
944. Delete Columns to Make Sorted
944. Delete Columns to Make Sorted
947. Most Stones Removed with Same Row or Column
947. Most Stones Removed with Same Row or Column
950. Reveal Cards In Increasing Order
950. Reveal Cards In Increasing Order
965. Univalued Binary Tree
965. Univalued Binary Tree
973. K Closest Points to Origin
973. K Closest Points to Origin
976. Largest Perimeter Triangle
976. Largest Perimeter Triangle
977. Squares of a Sorted Array
977. Squares of a Sorted Array
README.md
README.md
View all files
Repository files navigation
README
More
items
LeetCode
LeetCode Python Solution
@Wongbenshing Bincheng Huang
About
LeetCode Python Solution
Resources
Readme
Activity
Stars
0
stars
Watchers
0
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
You can’t perform that action at this time.