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 }}
JavaCodeHelp
AlgoDS
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
master
Breadcrumbs
AlgoDS
/
src
/
timus
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
master
Breadcrumbs
AlgoDS
/
src
/
timus
/
Copy path
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
A3801893.java
A3801893.java
ABProblem1000.java
ABProblem1000.java
Alchemy1573.java
Alchemy1573.java
AmusementPark1796.java
AmusementPark1796.java
AnotherDressRehearsal2035.java
AnotherDressRehearsal2035.java
AntiCAPS.java
AntiCAPS.java
Bayan1563.java
Bayan1563.java
BinaryLexicographicSequence1081.java
BinaryLexicographicSequence1081.java
BritishScientistsSavetheWorld1925.java
BritishScientistsSavetheWorld1925.java
CentipedesMorning1876.java
CentipedesMorning1876.java
CipherMessage.java
CipherMessage.java
CityBlocks1139.java
CityBlocks1139.java
Copying1131.java
Copying1131.java
Cryptography1086.java
Cryptography1086.java
DemocracyinDanger1025.java
DemocracyinDanger1025.java
Devices2033.java
Devices2033.java
DivorceoftheSevenDwarfs1243.java
DivorceoftheSevenDwarfs1243.java
Donaldisapostman2023.java
Donaldisapostman2023.java
DontAskWomanaboutHerAge1104.java
DontAskWomanaboutHerAge1104.java
Easy1044.java
Easy1044.java
Elections1263.java
Elections1263.java
ElectrificationPlan1982.java
ElectrificationPlan1982.java
Factorials.java
Factorials.java
Farm1349.java
Farm1349.java
FastReader.java
FastReader.java
FinalStandings1100.java
FinalStandings1100.java
FlatSpots1617.java
FlatSpots1617.java
ForFansofStatistics1613.java
ForFansofStatistics1613.java
Fuses1327.java
Fuses1327.java
GabyIvanushka1082.java
GabyIvanushka1082.java
GameofNuts2068.java
GameofNuts2068.java
GenealogicalTree.java
GenealogicalTree.java
GoatInthegarden1084.java
GoatInthegarden1084.java
Hieroglyphs.java
Hieroglyphs.java
HistoryExam1196.java
HistoryExam1196.java
IsenbaevNumber1837.java
IsenbaevNumber1837.java
LongStatement.java
LongStatement.java
Magician1370.java
Magician1370.java
MagneticStorms.java
MagneticStorms.java
Maximum1079.java
Maximum1079.java
MaximumSum1146.java
MaximumSum1146.java
Metro1119.java
Metro1119.java
NonYekaterinburgSubway1272.java
NonYekaterinburgSubway1272.java
OneStepfromHappiness1493.java
OneStepfromHappiness1493.java
Order1510.java
Order1510.java
OverturnedNumbers2031.java
OverturnedNumbers2031.java
Palindrome1297.java
Palindrome1297.java
Parliament1136.java
Parliament1136.java
PenaltyTime.java
PenaltyTime.java
Penguins.java
Penguins.java
PhoneNumbers1002.java
PhoneNumbers1002.java
ProductofDigits1014.java
ProductofDigits1014.java
QuestionsandAnswers1026.java
QuestionsandAnswers1026.java
Rope1020.java
Rope1020.java
Sabotage1290.java
Sabotage1290.java
SacramentoftheSum1021.java
SacramentoftheSum1021.java
SandroBook1723.java
SandroBook1723.java
SegmentTree.java
SegmentTree.java
SimpleExpression2066.java
SimpleExpression2066.java
Spammer1496.java
Spammer1496.java
Spiral1224.java
Spiral1224.java
SquareCountry1073.java
SquareCountry1073.java
StoneGame1180.java
StoneGame1180.java
StonePile1005.java
StonePile1005.java
Sum1068.java
Sum1068.java
Superstack.java
Superstack.java
Taxi1607.java
Taxi1607.java
TaxiforProgrammers2005.java
TaxiforProgrammers2005.java
TearsofDrowned1935.java
TearsofDrowned1935.java
TestTask2002.java
TestTask2002.java
Thebattleneartheswamp1990.java
Thebattleneartheswamp1990.java
TopologicalSorting1280.java
TopologicalSorting1280.java
TwoTeams1106.java
TwoTeams1106.java
WeddingDinner2100.java
WeddingDinner2100.java
View all files
You can’t perform that action at this time.