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 }}
jingkunchen
/
leetcode
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Issues
0
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
3 Commits
3 Commits
Folders and files
Name
Name
Last commit message
Last commit date
1. Two Sum
1. Two Sum
3Sum
3Sum
3Sum Closest
3Sum Closest
Add Binary
Add Binary
Add Digits
Add Digits
Add Two Numbers
Add Two Numbers
Balanced Binary Tree
Balanced Binary Tree
Best Time to Buy and Sell Stock
Best Time to Buy and Sell Stock
Best Time to Buy and Sell Stock II
Best Time to Buy and Sell Stock II
Binary Tree Inorder Traversal
Binary Tree Inorder Traversal
Binary Tree Level Order Traversal
Binary Tree Level Order Traversal
Binary Tree Level Order Traversal II
Binary Tree Level Order Traversal II
Binary Tree Maximum Path Sum
Binary Tree Maximum Path Sum
Binary Tree Paths
Binary Tree Paths
Bulb Switcher
Bulb Switcher
Bulls and Cows
Bulls and Cows
Climbing Stairs
Climbing Stairs
Combine Two Tables
Combine Two Tables
Compare Version Numbers
Compare Version Numbers
Contains Duplicate
Contains Duplicate
Contains Duplicate II
Contains Duplicate II
Count Complete Tree Nodes
Count Complete Tree Nodes
Count Primes
Count Primes
Count and Say
Count and Say
Delete Node in a Linked List
Delete Node in a Linked List
Duplicate Emails
Duplicate Emails
Excel Sheet Column Number
Excel Sheet Column Number
Factorial Trailing Zeroes
Factorial Trailing Zeroes
Find Median from Data Stream
Find Median from Data Stream
Find Minimum in Rotated Sorted Array
Find Minimum in Rotated Sorted Array
Find the Difference
Find the Difference
First Bad Version
First Bad Version
First Missing Positive
First Missing Positive
First Unique Character in a String
First Unique Character in a String
Gas Station
Gas Station
Guess Number Higher or Lower
Guess Number Higher or Lower
H-Index
H-Index
H-Index II
H-Index II
Happy Number
Happy Number
House Robber
House Robber
Implement Queue using Stacks
Implement Queue using Stacks
Implement Stack using Queues
Implement Stack using Queues
Implement strStr()
Implement strStr()
Integer Break
Integer Break
Integer to English Words
Integer to English Words
Intersection of Two Arrays
Intersection of Two Arrays
Intersection of Two Arrays II
Intersection of Two Arrays II
Intersection of Two Linked Lists
Intersection of Two Linked Lists
Invert Binary Tree
Invert Binary Tree
Isomorphic Strings
Isomorphic Strings
LICENSE
LICENSE
LRU Cache
LRU Cache
Largest Divisible Subset
Largest Divisible Subset
Largest Number
Largest Number
Length of Last Word
Length of Last Word
Linked List Cycle
Linked List Cycle
Linked List Cycle II
Linked List Cycle II
Longest Common Prefix
Longest Common Prefix
Longest Increasing Subsequence
Longest Increasing Subsequence
Longest Substring Without Repeating Characters
Longest Substring Without Repeating Characters
Lowest Common Ancestor of a Binary Search Tree
Lowest Common Ancestor of a Binary Search Tree
Lowest Common Ancestor of a Binary Tree
Lowest Common Ancestor of a Binary Tree
Majority Element
Majority Element
Maximum Depth of Binary Tree
Maximum Depth of Binary Tree
Merge Sorted Array
Merge Sorted Array
Merge Two Sorted Lists
Merge Two Sorted Lists
Min Stack
Min Stack
Minimum Depth of Binary Tree
Minimum Depth of Binary Tree
Move Zeroes
Move Zeroes
Nim Game
Nim Game
Number of 1 Bits
Number of 1 Bits
Odd Even Linked List
Odd Even Linked List
Palindrome Linked List
Palindrome Linked List
Palindrome Number
Palindrome Number
Pascal's Triangle
Pascal's Triangle
Pascal's Triangle II
Pascal's Triangle II
Path Sum
Path Sum
Path Sum II
Path Sum II
Permutations
Permutations
Plus One
Plus One
Populating Next Right Pointers in Each Node
Populating Next Right Pointers in Each Node
Populating Next Right Pointers in Each Node II
Populating Next Right Pointers in Each Node II
Power of Four
Power of Four
Power of Three
Power of Three
Power of Two
Power of Two
README.md
README.md
Range Sum Query - Immutable
Range Sum Query - Immutable
Ransom Note
Ransom Note
Rectangle Area
Rectangle Area
Remove Duplicates from Sorted Array
Remove Duplicates from Sorted Array
Remove Duplicates from Sorted Array II
Remove Duplicates from Sorted Array II
Remove Duplicates from Sorted List
Remove Duplicates from Sorted List
Remove Element
Remove Element
Remove Linked List Elements
Remove Linked List Elements
Remove Nth Node From End of List
Remove Nth Node From End of List
Reverse Bits
Reverse Bits
Reverse Integer
Reverse Integer
Reverse Linked List
Reverse Linked List
Reverse String
Reverse String
Reverse Vowels of a String
Reverse Vowels of a String
View all files
Repository files navigation
README
Apache-2.0 license
More
items
leetcode
leetcode solution in CPP
About
leetcode solution in CPP
Resources
Readme
Apache-2.0 license
Activity
Stars
1
star
Watchers
0
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
You can’t perform that action at this time.