Skip to content
Navigation Menu
Toggle navigation
Sign in
Product
GitHub Copilot
Write better code with AI
GitHub Advanced Security
Find and fix vulnerabilities
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Discussions
Collaborate outside of code
Code Search
Find more, search less
Explore
Why GitHub
All features
Documentation
GitHub Skills
Blog
Solutions
By company size
Enterprises
Small and medium teams
Startups
Nonprofits
By use case
DevSecOps
DevOps
CI/CD
View all use cases
By industry
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
Topics
AI
DevOps
Security
Software Development
View all
Explore
Learning Pathways
Events & Webinars
Ebooks & Whitepapers
Customer Stories
Partners
Executive Insights
Open Source
GitHub Sponsors
Fund open source developers
The ReadME Project
GitHub community articles
Repositories
Topics
Trending
Collections
Enterprise
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 or jump to...
Search code, repositories, users, issues, pull requests...
Search syntax tips
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Sign in
Sign up
Reseting focus
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 }}
Golang-Solutions
/
awesome-golang-algorithm
Public
Notifications
You must be signed in to change notification settings
Fork
1
Star
0
Code
Issues
0
Pull requests
0
Actions
Projects
0
Security
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security
Insights
Files
main
Breadcrumbs
awesome-golang-algorithm
/
leetcode
/
1501-1600
/
Copy path
Directory actions
More options
Directory actions
More options
Latest commit
History
History
main
Breadcrumbs
awesome-golang-algorithm
/
leetcode
/
1501-1600
/
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
1502.Can-Make-Arithmetic-Progression-From-Sequence
1502.Can-Make-Arithmetic-Progression-From-Sequence
1503.Last-Moment-Before-All-Ants-Fall-Out-of-a-Plank
1503.Last-Moment-Before-All-Ants-Fall-Out-of-a-Plank
1504.Count-Submatrices-With-All-Ones
1504.Count-Submatrices-With-All-Ones
1505.Minimum-Possible-Integer-After-at-Most-K-Adjacent-Swaps-On-Digits
1505.Minimum-Possible-Integer-After-at-Most-K-Adjacent-Swaps-On-Digits
1507.Reformat-Date
1507.Reformat-Date
1508.Range-Sum-of-Sorted-Subarray-Sums
1508.Range-Sum-of-Sorted-Subarray-Sums
1509.Minimum-Difference-Between-Largest-and-Smallest-Value-in-Three-Moves
1509.Minimum-Difference-Between-Largest-and-Smallest-Value-in-Three-Moves
1510.Stone-Game-IV
1510.Stone-Game-IV
1512.Number-of-Good-Pairs
1512.Number-of-Good-Pairs
1513.Number-of-Substrings-With-Only-1s
1513.Number-of-Substrings-With-Only-1s
1514.Path-with-Maximum-Probability
1514.Path-with-Maximum-Probability
1515.Best-Position-for-a-Service-Centre
1515.Best-Position-for-a-Service-Centre
1518.Water-Bottles
1518.Water-Bottles
1519.Number-of-Nodes-in-the-Sub-Tree-With-the-Same-Label
1519.Number-of-Nodes-in-the-Sub-Tree-With-the-Same-Label
1520.Maximum-Number-of-Non-Overlapping-Substrings
1520.Maximum-Number-of-Non-Overlapping-Substrings
1521.Find-a-Value-of-a-Mysterious-Function-Closest-to-Target
1521.Find-a-Value-of-a-Mysterious-Function-Closest-to-Target
1523.Count-Odd-Numbers-in-an-Interval-Range
1523.Count-Odd-Numbers-in-an-Interval-Range
1524.Number-of-Sub-arrays-With-Odd-Sum
1524.Number-of-Sub-arrays-With-Odd-Sum
1525.Number-of-Good-Ways-to-Split-a-String
1525.Number-of-Good-Ways-to-Split-a-String
1526.Minimum-Number-of-Increments-on-Subarrays-to-Form-a-Target-Array
1526.Minimum-Number-of-Increments-on-Subarrays-to-Form-a-Target-Array
1528.Shuffle-String
1528.Shuffle-String
1529.Minimum-Suffix-Flips
1529.Minimum-Suffix-Flips
1530.Number-of-Good-Leaf-Nodes-Pairs
1530.Number-of-Good-Leaf-Nodes-Pairs
1531.String-Compression-II
1531.String-Compression-II
1534.Count-Good-Triplets
1534.Count-Good-Triplets
1535.Find-the-Winner-of-an-Array-Game
1535.Find-the-Winner-of-an-Array-Game
1536.Minimum-Swaps-to-Arrange-a-Binary-Grid
1536.Minimum-Swaps-to-Arrange-a-Binary-Grid
1537.Get-the-Maximum-Score
1537.Get-the-Maximum-Score
1539.Kth-Missing-Positive-Number
1539.Kth-Missing-Positive-Number
1540.Can-Convert-String-in-K-Moves
1540.Can-Convert-String-in-K-Moves
1541.Minimum-Insertions-to-Balance-a-Parentheses-String
1541.Minimum-Insertions-to-Balance-a-Parentheses-String
1542.Find-Longest-Awesome-Substring
1542.Find-Longest-Awesome-Substring
1544.Make-The-String-Great
1544.Make-The-String-Great
1545.Find-Kth-Bit-in-Nth-Binary-String
1545.Find-Kth-Bit-in-Nth-Binary-String
1546.Maximum-Number-of-Non-Overlapping-Subarrays-With-Sum-Equals-Target
1546.Maximum-Number-of-Non-Overlapping-Subarrays-With-Sum-Equals-Target
1547.Minimum-Cost-to-Cut-a-Stick
1547.Minimum-Cost-to-Cut-a-Stick
1550.Three-Consecutive-Odds
1550.Three-Consecutive-Odds
1551.Minimum-Operations-to-Make-Array-Equal
1551.Minimum-Operations-to-Make-Array-Equal
1552.Magnetic-Force-Between-Two-Balls
1552.Magnetic-Force-Between-Two-Balls
1553.Minimum-Number-of-Days-to-Eat-N-Oranges
1553.Minimum-Number-of-Days-to-Eat-N-Oranges
1556.Thousand-Separator
1556.Thousand-Separator
1557.Minimum-Number-of-Vertices-to-Reach-All-Nodes
1557.Minimum-Number-of-Vertices-to-Reach-All-Nodes
1558.Minimum-Numbers-of-Function-Calls-to-Make-Target-Array
1558.Minimum-Numbers-of-Function-Calls-to-Make-Target-Array
1559.Detect-Cycles-in-2D-Grid
1559.Detect-Cycles-in-2D-Grid
1560.Most-Visited-Sector-in--a-Circular-Track
1560.Most-Visited-Sector-in--a-Circular-Track
1561.Maximum-Number-of-Coins-You-Can-Get
1561.Maximum-Number-of-Coins-You-Can-Get
1562.Find-Latest-Group-of-Size-M
1562.Find-Latest-Group-of-Size-M
1563.Stone-Game-V
1563.Stone-Game-V
1566.Detect-Pattern-of-Length-M-Repeated-K-or-More-Times
1566.Detect-Pattern-of-Length-M-Repeated-K-or-More-Times
1567.Maximum-Length-of-Subarray-With-Positive-Product
1567.Maximum-Length-of-Subarray-With-Positive-Product
1568.Minimum-Number-of-Days-to-Disconnect-Island
1568.Minimum-Number-of-Days-to-Disconnect-Island
1569.Number-of-Ways-to-Reorder-Array-to-Get-Same-BST
1569.Number-of-Ways-to-Reorder-Array-to-Get-Same-BST
1572.Matrix-Diagonal-Sum
1572.Matrix-Diagonal-Sum
1573.Number-of-Ways-to-Split-a-String
1573.Number-of-Ways-to-Split-a-String
1574.Shortest-Subarray-to-be-Removed-to-Make-Array-Sorted
1574.Shortest-Subarray-to-be-Removed-to-Make-Array-Sorted
1575.Count-All-Possible-Routes
1575.Count-All-Possible-Routes
1576.Replace-All-s-to-Avoid-Consecutive-Repeating-Characters
1576.Replace-All-s-to-Avoid-Consecutive-Repeating-Characters
1577.Number-of-Ways-Where-Square-of-Number-Is-Equal-to-Product-of-Two-Numbers
1577.Number-of-Ways-Where-Square-of-Number-Is-Equal-to-Product-of-Two-Numbers
1578.Minimum-Time-to-Make-Rope-Colorful
1578.Minimum-Time-to-Make-Rope-Colorful
1579.Remove-Max-Number-of-Edges-to-Keep-Graph-Fully-Traversable
1579.Remove-Max-Number-of-Edges-to-Keep-Graph-Fully-Traversable
1582.Special-Positions-in-a-Binary-Matrix
1582.Special-Positions-in-a-Binary-Matrix
1583.Count-Unhappy-Friends
1583.Count-Unhappy-Friends
1584.Min-Cost-to-Connect-All-Points
1584.Min-Cost-to-Connect-All-Points
1585.Check-If-String-Is-Transformable-With-Substring-Sort-Operations
1585.Check-If-String-Is-Transformable-With-Substring-Sort-Operations
1588.Sum-of-All-Odd-Length-Subarrays
1588.Sum-of-All-Odd-Length-Subarrays
1589.Maximum-Sum-Obtained-of-Any-Permutation
1589.Maximum-Sum-Obtained-of-Any-Permutation
1590.Make-Sum-Divisible-by-P
1590.Make-Sum-Divisible-by-P
1591.Strange-Printer-II
1591.Strange-Printer-II
1592.Rearrange-Spaces-Between-Words
1592.Rearrange-Spaces-Between-Words
1593.Split-a-String-Into-the-Max-Number-of-Unique-Substrings
1593.Split-a-String-Into-the-Max-Number-of-Unique-Substrings
1594.Maximum-Non-Negative-Product-in-a-Matrix
1594.Maximum-Non-Negative-Product-in-a-Matrix
1595.Minimum-Cost-to-Connect-Two-Groups-of-Points
1595.Minimum-Cost-to-Connect-Two-Groups-of-Points
1598.Crawler-Log-Folder
1598.Crawler-Log-Folder
1599.Maximum-Profit-of-Operating-a-Centennial-Wheel
1599.Maximum-Profit-of-Operating-a-Centennial-Wheel
1600.Throne-Inheritance
1600.Throne-Inheritance
View all files
You can’t perform that action at this time.