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
Developer articles
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 }}
STllll
LeetCode
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
master
Breadcrumbs
LeetCode
/
src
/
main
/
java
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
master
Breadcrumbs
LeetCode
/
src
/
main
/
java
/
Copy path
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
design
design
didi
didi
kujiale
kujiale
pinduoduo
pinduoduo
pinduoduo2
pinduoduo2
swordToOffer
swordToOffer
tell
tell
tencent50
tencent50
toutiao
toutiao
wangyi
wangyi
wangyigame
wangyigame
youzan
youzan
AllSort1.java
AllSort1.java
AllSort2.java
AllSort2.java
AllSortK.java
AllSortK.java
CloseThreeNumberNum.java
CloseThreeNumberNum.java
FindRepeatNumber287.java
FindRepeatNumber287.java
KInMartix.java
KInMartix.java
LamdaTest.java
LamdaTest.java
LongestEchoString.java
LongestEchoString.java
LongestNoRepeatString.java
LongestNoRepeatString.java
MonitorMartix.java
MonitorMartix.java
SwitchByZ.java
SwitchByZ.java
beautifulSort.java
beautifulSort.java
binarytree144.java
binarytree144.java
byteCount338.java
byteCount338.java
candy135.java
candy135.java
charInPhoneNumber.java
charInPhoneNumber.java
combinationSum40.java
combinationSum40.java
combine77.java
combine77.java
differentpath62.java
differentpath62.java
differentpath63.java
differentpath63.java
differentsearchtree95.java
differentsearchtree95.java
dijkstra.java
dijkstra.java
findPeek162.java
findPeek162.java
findSpinSmallest154.java
findSpinSmallest154.java
findsmallest153.java
findsmallest153.java
findtheMedianNumber4.java
findtheMedianNumber4.java
fullpingfang279.java
fullpingfang279.java
gameOfJump.java
gameOfJump.java
gasstation.java
gasstation.java
groupAnagrams49.java
groupAnagrams49.java
guibingsort.java
guibingsort.java
heapsort.java
heapsort.java
heapsorttest.java
heapsorttest.java
huadongwindow.java
huadongwindow.java
isSubsequence392.java
isSubsequence392.java
jiemastring394.java
jiemastring394.java
jumpgame45.java
jumpgame45.java
leetcode148.java
leetcode148.java
leetcode34.java
leetcode34.java
leetcode560.java
leetcode560.java
leetcode786.java
leetcode786.java
localdatetimetest.java
localdatetimetest.java
longestLIS300.java
longestLIS300.java
longestpalindsubseq.java
longestpalindsubseq.java
minPathsum64.java
minPathsum64.java
nQueen.java
nQueen.java
numbercombinelll216.java
numbercombinelll216.java
pancakesort.java
pancakesort.java
permuteUnique.java
permuteUnique.java
quicksort.java
quicksort.java
sameonezerostring.java
sameonezerostring.java
singleNumber.java
singleNumber.java
subsetsWithDup2.java
subsetsWithDup2.java
sumnumber39.java
sumnumber39.java
test.java
test.java
topk347.java
topk347.java
twostacksort.java
twostacksort.java
uglyNumber264.java
uglyNumber264.java
wordallsort784.java
wordallsort784.java
wordbreak139.java
wordbreak139.java
View all files
You can’t perform that action at this time.