Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
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
/
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 }}
rzheng
/
LeetCode
Public
Notifications
You must be signed in to change notification settings
Fork
1
Star
3
Code
Issues
1
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
master
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
152 Commits
152 Commits
Folders and files
Name
Name
Last commit message
Last commit date
0003. Longest Substring Without Repeating Characters
0003. Longest Substring Without Repeating Characters
0004. Median of Two Sorted Arrays
0004. Median of Two Sorted Arrays
0006. ZigZag Conversion
0006. ZigZag Conversion
0009. Palindrome Number
0009. Palindrome Number
0010. Regular Expression Matching
0010. Regular Expression Matching
0012. Integer to Roman
0012. Integer to Roman
0016. 3Sum Closest
0016. 3Sum Closest
0023. Merge k Sorted Lists
0023. Merge k Sorted Lists
0024. Swap Nodes in Pairs
0024. Swap Nodes in Pairs
0028. Implement strStr()
0028. Implement strStr()
0033. Search in Rotated Sorted Array
0033. Search in Rotated Sorted Array
0041. First Missing Positive
0041. First Missing Positive
0042. Trapping Rain Water
0042. Trapping Rain Water
0046. Permutations
0046. Permutations
0047. Permutations II
0047. Permutations II
0049. Group Anagrams
0049. Group Anagrams
0051. N-Queens
0051. N-Queens
0052. N-Queens II
0052. N-Queens II
0053. Maximum Subarray
0053. Maximum Subarray
0056. Merge Intervals
0056. Merge Intervals
0057. Insert Interval
0057. Insert Interval
0071. Simplify Path
0071. Simplify Path
0075. Sort Colors
0075. Sort Colors
0076. Minimum Window Substring
0076. Minimum Window Substring
0078. Subsets
0078. Subsets
0081. Search in Rotated Sorted Array II
0081. Search in Rotated Sorted Array II
0090. Subsets II
0090. Subsets II
0091. Decode Ways
0091. Decode Ways
0094. Binary Tree Inorder Traversal
0094. Binary Tree Inorder Traversal
0096. Unique Binary Search Trees
0096. Unique Binary Search Trees
0112. Path Sum
0112. Path Sum
0113. Path Sum II
0113. Path Sum II
0115. Distinct Subsequences
0115. Distinct Subsequences
0116. Populating Next Right Pointers in Each Node
0116. Populating Next Right Pointers in Each Node
0122. Best Time to Buy and Sell Stock II
0122. Best Time to Buy and Sell Stock II
0126. Word Ladder II
0126. Word Ladder II
0127. Word Ladder
0127. Word Ladder
0133. Clone Graph
0133. Clone Graph
0136. Single Number
0136. Single Number
0142. Linked List Cycle II
0142. Linked List Cycle II
0144. Binary Tree Preorder Traversal
0144. Binary Tree Preorder Traversal
0145. Binary Tree Postorder Traversal
0145. Binary Tree Postorder Traversal
0147. Insertion Sort List
0147. Insertion Sort List
0148. Sort List
0148. Sort List
0150. Evaluate Reverse Polish Notation
0150. Evaluate Reverse Polish Notation
0152. Maximum Product Subarray
0152. Maximum Product Subarray
0153. Find Minimum in Rotated Sorted Array
0153. Find Minimum in Rotated Sorted Array
0154. Find Minimum in Rotated Sorted Array II
0154. Find Minimum in Rotated Sorted Array II
0155. Min Stack
0155. Min Stack
0164. Maximum Gap
0164. Maximum Gap
0179. Largest Number
0179. Largest Number
0190. Reverse Bits
0190. Reverse Bits
0198. House Robber
0198. House Robber
0202. Happy Number
0202. Happy Number
0206. Reverse Linked List
0206. Reverse Linked List
0208. Implement Trie (Prefix Tree)
0208. Implement Trie (Prefix Tree)
0215. Kth Largest Element in an Array
0215. Kth Largest Element in an Array
0221. Maximal Square
0221. Maximal Square
0222. Count Complete Tree Nodes
0222. Count Complete Tree Nodes
0225. Implement Stack using Queues
0225. Implement Stack using Queues
0228. Summary Ranges
0228. Summary Ranges
0230. Kth Smallest Element in a BST
0230. Kth Smallest Element in a BST
0232. Implement Queue using Stacks
0232. Implement Queue using Stacks
0234. Palindrome Linked List
0234. Palindrome Linked List
0235. Lowest Common Ancestor of a Binary Search Tree
0235. Lowest Common Ancestor of a Binary Search Tree
0236. Lowest Common Ancestor of a Binary Tree
0236. Lowest Common Ancestor of a Binary Tree
0239. Sliding Window Maximum
0239. Sliding Window Maximum
0240. Search a 2D Matrix II
0240. Search a 2D Matrix II
0257. Binary Tree Paths
0257. Binary Tree Paths
0279. Perfect Squares
0279. Perfect Squares
0284. Peeking Iterator
0284. Peeking Iterator
0287. Find the Duplicate Number
0287. Find the Duplicate Number
0295. Find Median from Data Stream
0295. Find Median from Data Stream
0297. Serialize and Deserialize Binary Tree
0297. Serialize and Deserialize Binary Tree
0300. Longest Increasing Subsequence
0300. Longest Increasing Subsequence
0315. Count of Smaller Numbers After Self
0315. Count of Smaller Numbers After Self
0337. House Robber III
0337. House Robber III
0343. Integer Break
0343. Integer Break
0352. Data Stream as Disjoint Intervals
0352. Data Stream as Disjoint Intervals
0354. Russian Doll Envelopes
0354. Russian Doll Envelopes
0368. Largest Divisible Subset
0368. Largest Divisible Subset
0378. Kth Smallest Element in a Sorted Matrix
0378. Kth Smallest Element in a Sorted Matrix
0380. Insert Delete GetRandom O(1)
0380. Insert Delete GetRandom O(1)
0384. Shuffle an Array
0384. Shuffle an Array
0410. Split Array Largest Sum
0410. Split Array Largest Sum
0412. Fizz Buzz
0412. Fizz Buzz
0419. Battleships in a Board
0419. Battleships in a Board
0436. Find Right Interval
0436. Find Right Interval
0509. Fibonacci Number
0509. Fibonacci Number
0523. Continuous Subarray Sum
0523. Continuous Subarray Sum
0551. Student Attendance Record I
0551. Student Attendance Record I
0554. Brick Wall
0554. Brick Wall
0609. Find Duplicate File in System
0609. Find Duplicate File in System
0617. Merge Two Binary Trees
0617. Merge Two Binary Trees
0628. Maximum Product of Three Numbers
0628. Maximum Product of Three Numbers
0630. Course Schedule III
0630. Course Schedule III
0659. Split Array into Consecutive Subsequences
0659. Split Array into Consecutive Subsequences
0701. Insert into a Binary Search Tree
0701. Insert into a Binary Search Tree
0706. Design HashMap
0706. Design HashMap
0729. My Calendar I
0729. My Calendar I
View all files
About
No description, website, or topics provided.
Activity
Stars
3
stars
Watchers
1
watching
Forks
1
fork
Report repository
Releases
Packages
Used by
Contributors
You can’t perform that action at this time.