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
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 }}
ruiwen-zhao
/
leetcode
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
0
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
master
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
40 Commits
40 Commits
Folders and files
Name
Name
Last commit message
Last commit date
.metadata
.metadata
Remove Duplicates from Sorted List
Remove Duplicates from Sorted List
Test
Test
leetcode-3Sum Closest
leetcode-3Sum Closest
leetcode-3Sum
leetcode-3Sum
leetcode-4Sum
leetcode-4Sum
leetcode-Add Binary
leetcode-Add Binary
leetcode-Add Two Numbers
leetcode-Add Two Numbers
leetcode-Add and Search Word - Data structure design
leetcode-Add and Search Word - Data structure design
leetcode-Anagrams
leetcode-Anagrams
leetcode-Balanced Binary Tree
leetcode-Balanced Binary Tree
leetcode-Best Time to Buy and Sell Stock II
leetcode-Best Time to Buy and Sell Stock II
leetcode-Best Time to Buy and Sell Stock III
leetcode-Best Time to Buy and Sell Stock III
leetcode-Best Time to Buy and Sell Stock
leetcode-Best Time to Buy and Sell Stock
leetcode-Binary Tree Inorder Traversal
leetcode-Binary Tree Inorder Traversal
leetcode-Binary Tree Level Order Traversal II
leetcode-Binary Tree Level Order Traversal II
leetcode-Binary Tree Level Order Traversal
leetcode-Binary Tree Level Order Traversal
leetcode-Binary Tree Maximum Path Sum
leetcode-Binary Tree Maximum Path Sum
leetcode-Binary Tree Zigzag Level Order Traversal
leetcode-Binary Tree Zigzag Level Order Traversal
leetcode-Candy
leetcode-Candy
leetcode-Climbing Stairs
leetcode-Climbing Stairs
leetcode-Clone Graph
leetcode-Clone Graph
leetcode-Combination Sum II
leetcode-Combination Sum II
leetcode-Combination Sum
leetcode-Combination Sum
leetcode-Combinations
leetcode-Combinations
leetcode-Construct Binary Tree from Inorder and Postorder Traversal
leetcode-Construct Binary Tree from Inorder and Postorder Traversal
leetcode-Construct Binary Tree from Preorder and Inorder Traversal
leetcode-Construct Binary Tree from Preorder and Inorder Traversal
leetcode-Container With Most Water
leetcode-Container With Most Water
leetcode-Contains Duplicate III
leetcode-Contains Duplicate III
leetcode-Convert Sorted Array to Binary Search Tree
leetcode-Convert Sorted Array to Binary Search Tree
leetcode-Convert Sorted List to Binary Search Tree
leetcode-Convert Sorted List to Binary Search Tree
leetcode-Copy List with Random Pointer
leetcode-Copy List with Random Pointer
leetcode-Count and Say
leetcode-Count and Say
leetcode-Decode Ways
leetcode-Decode Ways
leetcode-Distinct Subsequences
leetcode-Distinct Subsequences
leetcode-Divide Two Integers
leetcode-Divide Two Integers
leetcode-Edit Distance
leetcode-Edit Distance
leetcode-First Missing Positive
leetcode-First Missing Positive
leetcode-Flatten Binary Tree to Linked List
leetcode-Flatten Binary Tree to Linked List
leetcode-Gas Station
leetcode-Gas Station
leetcode-Generate Parentheses
leetcode-Generate Parentheses
leetcode-Gray Code
leetcode-Gray Code
leetcode-Implement Trie (Prefix Tree)
leetcode-Implement Trie (Prefix Tree)
leetcode-Implement strStr()
leetcode-Implement strStr()
leetcode-Insert Interval
leetcode-Insert Interval
leetcode-Integer To Roman
leetcode-Integer To Roman
leetcode-Interleaving String
leetcode-Interleaving String
leetcode-Jump Game II
leetcode-Jump Game II
leetcode-Jump Game
leetcode-Jump Game
leetcode-Largest Rectangle in Histogram
leetcode-Largest Rectangle in Histogram
leetcode-Length of Last Word
leetcode-Length of Last Word
leetcode-Letter Combinations of a Phone Number
leetcode-Letter Combinations of a Phone Number
leetcode-Longest Common Prefix
leetcode-Longest Common Prefix
leetcode-Longest Consecutive Sequence
leetcode-Longest Consecutive Sequence
leetcode-Longest Palindromic Substring
leetcode-Longest Palindromic Substring
leetcode-Longest Substring Without Repeating Characters
leetcode-Longest Substring Without Repeating Characters
leetcode-Longest Valid Parentheses
leetcode-Longest Valid Parentheses
leetcode-Maximal Rectangle
leetcode-Maximal Rectangle
leetcode-Maximum Depth of Binary Tree
leetcode-Maximum Depth of Binary Tree
leetcode-Maximum Subarray
leetcode-Maximum Subarray
leetcode-Median of Two Sorted Arrays
leetcode-Median of Two Sorted Arrays
leetcode-Merge Intervals
leetcode-Merge Intervals
leetcode-Merge Sorted Array
leetcode-Merge Sorted Array
leetcode-Merge Two Sorted Lists
leetcode-Merge Two Sorted Lists
leetcode-Merge k Sorted Lists
leetcode-Merge k Sorted Lists
leetcode-Minimum Depth of Binary Tree
leetcode-Minimum Depth of Binary Tree
leetcode-Minimum Path Sum
leetcode-Minimum Path Sum
leetcode-Minimum Window Substring
leetcode-Minimum Window Substring
leetcode-Multiply Strings
leetcode-Multiply Strings
leetcode-N-Queens
leetcode-N-Queens
leetcode-Next Permutation
leetcode-Next Permutation
leetcode-Palindrome Number
leetcode-Palindrome Number
leetcode-Palindrome Partitioning II
leetcode-Palindrome Partitioning II
leetcode-Palindrome Partitioning
leetcode-Palindrome Partitioning
leetcode-Partition List
leetcode-Partition List
leetcode-Pascal's Triangle II
leetcode-Pascal's Triangle II
leetcode-Pascal's Triangle
leetcode-Pascal's Triangle
leetcode-Path Sum II
leetcode-Path Sum II
leetcode-Path Sum
leetcode-Path Sum
leetcode-Permutation Sequence
leetcode-Permutation Sequence
leetcode-Permutations II
leetcode-Permutations II
leetcode-Permutations
leetcode-Permutations
leetcode-Plus One
leetcode-Plus One
leetcode-Populating Next Right Pointers in Each Node II
leetcode-Populating Next Right Pointers in Each Node II
leetcode-Populating Next Right Pointers in Each Node
leetcode-Populating Next Right Pointers in Each Node
leetcode-Pow(x, n)
leetcode-Pow(x, n)
leetcode-Recover Binary Search Tree
leetcode-Recover Binary Search Tree
leetcode-Regular Expression Matching
leetcode-Regular Expression Matching
leetcode-Remove Duplicates from Sorted Array II
leetcode-Remove Duplicates from Sorted Array II
leetcode-Remove Duplicates from Sorted Array
leetcode-Remove Duplicates from Sorted Array
leetcode-Remove Duplicates from Sorted List II
leetcode-Remove Duplicates from Sorted List II
leetcode-Remove Element
leetcode-Remove Element
leetcode-Remove Nth Node From End of List
leetcode-Remove Nth Node From End of List
leetcode-Restore IP Addresses
leetcode-Restore IP Addresses
leetcode-Reverse Integer
leetcode-Reverse Integer
leetcode-Reverse Linked List II
leetcode-Reverse Linked List II
leetcode-Reverse Nodes in k-Group
leetcode-Reverse Nodes in k-Group
leetcode-Roman to Integer
leetcode-Roman to Integer
leetcode-Rotate Image
leetcode-Rotate Image
leetcode-Rotate List
leetcode-Rotate List
View all files
About
No description, website, or topics provided.
Activity
Stars
0
stars
Watchers
1
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.