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 }}
doocs
leetcode
Repository navigation
Code
Issues
Pull requests
1
(1)
Discussions
Actions
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
leetcode
solution
1100-1199
1168.Optimize Water Distribution in a Village
README.md
on
main
User selector
All users
Datepicker
All time
Commit history
Commits on Nov 1, 2026
style: unify identifier notation in solution math (#6270)
Show description for c36a527
yanglbme
authored
c36a527
View commit details
Copy full SHA for c36a527
View code at this point
Browse repository at this point
docs: unify time and space complexity format across solutions (#6267)
yanglbme
authored
1e8220e
View commit details
Copy full SHA for 1e8220e
View code at this point
Browse repository at this point
Commits on Oct 8, 2026
feat: update lc problems (#6178)
yanglbme
authored
82523c8
View commit details
Copy full SHA for 82523c8
View code at this point
Browse repository at this point
Commits on Sep 12, 2026
refactor: drop edit_url from problem README frontmatter (#5618)
yanglbme
authored
42ac904
View commit details
Copy full SHA for 42ac904
View code at this point
Browse repository at this point
docs: add thinking walkthrough for problems 1100-1199 (#5572)
Show description for c083dd6
yanglbme
authored
c083dd6
View commit details
Copy full SHA for c083dd6
View code at this point
Browse repository at this point
Commits on May 17, 2024
feat: update code blocks (#2827)
yanglbme
authored
c29b144
View commit details
Copy full SHA for c29b144
View code at this point
Browse repository at this point
refactor: update problem template (#2824)
yanglbme
authored
cc937dc
View commit details
Copy full SHA for cc937dc
View code at this point
Browse repository at this point
Commits on May 16, 2024
feat: add metadata info (#2820)
yanglbme
authored
7dff3e5
View commit details
Copy full SHA for 7dff3e5
View code at this point
Browse repository at this point
Commits on May 14, 2024
feat: add metadata info (#2813)
yanglbme
authored
3a7e726
View commit details
Copy full SHA for 3a7e726
View code at this point
Browse repository at this point
Commits on Apr 19, 2024
feat: add paid only flag (#2624)
yanglbme
authored
9f1c7ec
View commit details
Copy full SHA for 9f1c7ec
View code at this point
Browse repository at this point
Commits on Feb 21, 2024
feat: add problem tags (#2361)
yanglbme
authored
4d6c701
View commit details
Copy full SHA for 4d6c701
View code at this point
Browse repository at this point
Commits on Jan 16, 2024
refactor: update file structure (#2226)
yanglbme
authored
fa73a73
View commit details
Copy full SHA for fa73a73
View code at this point
Browse repository at this point
Commits on Jan 6, 2024
feat: update lc problems (#2185)
acbin
authored
08f389e
View commit details
Copy full SHA for 08f389e
View code at this point
Browse repository at this point
Commits on Dec 2, 2023
feat: add solutions to lc problem: No.1168 (#2052)
Show description for 751a9f0
yanglbme
authored
751a9f0
View commit details
Copy full SHA for 751a9f0
View code at this point
Browse repository at this point
Commits on Aug 31, 2023
chore: adjust prettier printWidth (#1553)
Show description for e24f19f
thinkasany
authored
e24f19f
View commit details
Copy full SHA for e24f19f
View code at this point
Browse repository at this point
Commits on Jun 10, 2023
style: format code (#1030)
acbin
authored
d0b941d
View commit details
Copy full SHA for d0b941d
View code at this point
Browse repository at this point
Commits on Jun 3, 2023
feat: add solutions to lc problem: No.1168
Show description for 5d24fbc
yanglbme
committed
5d24fbc
View commit details
Copy full SHA for 5d24fbc
View code at this point
Browse repository at this point
Commits on Sep 6, 2022
docs: code format
yanglbme
committed
85a0a76
View commit details
Copy full SHA for 85a0a76
View code at this point
Browse repository at this point
Commits on Aug 13, 2022
style: format all python code
yanglbme
committed
c24623a
View commit details
Copy full SHA for c24623a
View code at this point
Browse repository at this point
style: format all cpp code
yanglbme
committed
4a1ea8f
View commit details
Copy full SHA for 4a1ea8f
View code at this point
Browse repository at this point
Commits on May 23, 2022
chore: change cdn (#820)
Show description for f2348f2
yanglbme
authored
f2348f2
View commit details
Copy full SHA for f2348f2
View code at this point
Browse repository at this point
Commits on Apr 29, 2022
chore: change domain name (#806)
Show description for f385924
yanglbme
authored
f385924
View commit details
Copy full SHA for f385924
View code at this point
Browse repository at this point
Commits on Apr 27, 2022
feat: update solutions to lc problems
Show description for 5d88a1a
yanglbme
committed
5d88a1a
View commit details
Copy full SHA for 5d88a1a
View code at this point
Browse repository at this point
Commits on Apr 26, 2022
feat: update solutions to lc problems
Show description for b9800af
yanglbme
committed
b9800af
View commit details
Copy full SHA for b9800af
View code at this point
Browse repository at this point
Commits on Apr 15, 2022
feat: update lc problems
yanglbme
committed
845df84
View commit details
Copy full SHA for 845df84
View code at this point
Browse repository at this point
Commits on Mar 10, 2022
chore: update lc problems (#742)
yanglbme
authored
42bda89
View commit details
Copy full SHA for 42bda89
View code at this point
Browse repository at this point
Commits on Sep 15, 2021
feat: add solutions to lc problem: No.1168.Optimize Water Distribution
Show description for 9f696cd
yanglbme
committed
9f696cd
View commit details
Copy full SHA for 9f696cd
View code at this point
Browse repository at this point
Commits on Apr 22, 2021
feat: use absolute path
yanglbme
committed
62226f4
View commit details
Copy full SHA for 62226f4
View code at this point
Browse repository at this point
feat: use relative path
yanglbme
committed
0ee718c
View commit details
Copy full SHA for 0ee718c
View code at this point
Browse repository at this point
Commits on Apr 21, 2021
feat: update leetcode problems description
yanglbme
committed
44dc9b6
View commit details
Copy full SHA for 44dc9b6
View code at this point
Browse repository at this point
Commits on Oct 20, 2020
docs: prettify code
yanglbme
authored and
actions-user
committed
7a7d3f2
View commit details
Copy full SHA for 7a7d3f2
View code at this point
Browse repository at this point
Commits on Sep 15, 2020
feat: update images path
yanglbme
committed
8a28420
View commit details
Copy full SHA for 8a28420
View code at this point
Browse repository at this point
Commits on Aug 24, 2020
LeetCode 付费题目描述 1000~1300
LjyYano
committed
f523d1f
View commit details
Copy full SHA for f523d1f
View code at this point
Browse repository at this point
Commits on Jul 22, 2020
docs: update README.md
yanglbme
committed
8872fc1
View commit details
Copy full SHA for 8872fc1
View code at this point
Browse repository at this point
feat: add docsify tabs
Show description for 28f2610
yanglbme
committed
28f2610
View commit details
Copy full SHA for 28f2610
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.