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 }}
6boris
/
awesome-golang-algorithm
Public
Notifications
You must be signed in to change notification settings
Fork
185
Star
3.5k
Code
Issues
2
Pull requests
18
Discussions
Actions
Projects
0
Wiki
Security
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Wiki
Security
Insights
Files
main
Breadcrumbs
awesome-golang-algorithm
/
leetcode
/
2101-2200
/
Copy path
Directory actions
More options
Directory actions
More options
Latest commit
History
History
main
Breadcrumbs
awesome-golang-algorithm
/
leetcode
/
2101-2200
/
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
2101.Detonate-the-Maximum-Bombs
2101.Detonate-the-Maximum-Bombs
2102.Sequentially-Ordinal-Rank-Tracker
2102.Sequentially-Ordinal-Rank-Tracker
2103.Rings-and-Rods
2103.Rings-and-Rods
2104.Sum-of-Subarray-Ranges
2104.Sum-of-Subarray-Ranges
2105.Watering-Plants-II
2105.Watering-Plants-II
2106.Maximum-Fruits-Harvested-After-at-Most-K-Steps
2106.Maximum-Fruits-Harvested-After-at-Most-K-Steps
2107.Number-of-Unique-Flavors-After-Sharing-K-Candies
2107.Number-of-Unique-Flavors-After-Sharing-K-Candies
2108.Find-First-Palindromic-String-in-the-Array
2108.Find-First-Palindromic-String-in-the-Array
2109.Adding-Spaces-to-a-String
2109.Adding-Spaces-to-a-String
2110.Number-of-Smooth-Descent-Periods-of-a-Stock
2110.Number-of-Smooth-Descent-Periods-of-a-Stock
2111.Minimum-Operations-to-Make-the-Array-K-Increasing
2111.Minimum-Operations-to-Make-the-Array-K-Increasing
2113.Elements-in-Array-After-Removing-and-Replacing-Elements
2113.Elements-in-Array-After-Removing-and-Replacing-Elements
2114.Maximum-Number-of-Words-Found-in-Sentences
2114.Maximum-Number-of-Words-Found-in-Sentences
2115.Find-All-Possible-Recipes-from-Given-Supplies
2115.Find-All-Possible-Recipes-from-Given-Supplies
2116.Check-if-a-Parentheses-String-Can-Be-Valid
2116.Check-if-a-Parentheses-String-Can-Be-Valid
2117.Abbreviating-the-Product-of-a-Range
2117.Abbreviating-the-Product-of-a-Range
2119.A-Number-After-a-Double-Reversal
2119.A-Number-After-a-Double-Reversal
2120.Execution-of-All-Suffix-Instructions-Staying-in-a-Grid
2120.Execution-of-All-Suffix-Instructions-Staying-in-a-Grid
2121.Intervals-Between-Identical-Elements
2121.Intervals-Between-Identical-Elements
2122.Recover-the-Original-Array
2122.Recover-the-Original-Array
2123.Minimum-Operations-to-Remove-Adjacent-Ones-in-Matrix
2123.Minimum-Operations-to-Remove-Adjacent-Ones-in-Matrix
2124.Check-if-All-As-Appears-Before-All-Bs
2124.Check-if-All-As-Appears-Before-All-Bs
2125.Number-of-Laser-Beams-in-a-Bank
2125.Number-of-Laser-Beams-in-a-Bank
2126.Destroying-Asteroids
2126.Destroying-Asteroids
2127.Maximum-Employees-to-Be-Invited-to-a-Meeting
2127.Maximum-Employees-to-Be-Invited-to-a-Meeting
2128.Remove-All-Ones-With-Row-and-Column-Flips
2128.Remove-All-Ones-With-Row-and-Column-Flips
2129.Capitalize-the-Title
2129.Capitalize-the-Title
2130.Maximum-Twin-Sum-of-a-Linked-List
2130.Maximum-Twin-Sum-of-a-Linked-List
2131.Longest-Palindrome-by-Concatenating-Two-Letter-Words
2131.Longest-Palindrome-by-Concatenating-Two-Letter-Words
2132.Stamping-the-Grid
2132.Stamping-the-Grid
2133.Check-if-Every-Row-and-Column-Contains-All-Numbers
2133.Check-if-Every-Row-and-Column-Contains-All-Numbers
2134.Minimum-Swaps-to-Group-All-1s-Together-II
2134.Minimum-Swaps-to-Group-All-1s-Together-II
2135.Count-Words-Obtained-After-Adding-a-Letter
2135.Count-Words-Obtained-After-Adding-a-Letter
2136.Earliest-Possible-Day-of-Full-Bloom
2136.Earliest-Possible-Day-of-Full-Bloom
2137.Pour-Water-Between-Buckets-to-Make-Water-Levels-Equal
2137.Pour-Water-Between-Buckets-to-Make-Water-Levels-Equal
2138.Divide-a-String-Into-Groups-of-Size-k
2138.Divide-a-String-Into-Groups-of-Size-k
2139.Minimum-Moves-to-Reach-Target-Score
2139.Minimum-Moves-to-Reach-Target-Score
2140.Solving-Questions-With-Brainpower
2140.Solving-Questions-With-Brainpower
2141.Maximum-Running-Time-of-N-Computers
2141.Maximum-Running-Time-of-N-Computers
2143.Choose-Numbers-From-Two-Arrays-in-Range
2143.Choose-Numbers-From-Two-Arrays-in-Range
2144.Minimum-Cost-of-Buying-Candies-With-Discount
2144.Minimum-Cost-of-Buying-Candies-With-Discount
2145.Count-the-Hidden-Sequences
2145.Count-the-Hidden-Sequences
2146.K-Highest-Ranked-Items-Within-a-Price-Range
2146.K-Highest-Ranked-Items-Within-a-Price-Range
2147.Number-of-Ways-to-Divide-a-Long-Corridor
2147.Number-of-Ways-to-Divide-a-Long-Corridor
2148.Count-Elements-With-Strictly-Smaller-and-Greater-Elements-
2148.Count-Elements-With-Strictly-Smaller-and-Greater-Elements-
2148.Count-Elements-With-Strictly-Smaller-and-Greater-Elements
2148.Count-Elements-With-Strictly-Smaller-and-Greater-Elements
2149.Rearrange-Array-Elements-by-Sign
2149.Rearrange-Array-Elements-by-Sign
2150.Find-All-Lonely-Numbers-in-the-Array
2150.Find-All-Lonely-Numbers-in-the-Array
2151.Maximum-Good-People-Based-on-Statements
2151.Maximum-Good-People-Based-on-Statements
2152.Minimum-Number-of-Lines-to-Cover-Points
2152.Minimum-Number-of-Lines-to-Cover-Points
2154.Keep-Multiplying-Found-Values-by-Two
2154.Keep-Multiplying-Found-Values-by-Two
2155.All-Divisions-With-the-Highest-Score-of-a-Binary-Array
2155.All-Divisions-With-the-Highest-Score-of-a-Binary-Array
2156.Find-Substring-With-Given-Hash-Value
2156.Find-Substring-With-Given-Hash-Value
2157.Groups-of-Strings
2157.Groups-of-Strings
2158.Amount-of-New-Area-Painted-Each-Day
2158.Amount-of-New-Area-Painted-Each-Day
2160.Minimum-Sum-of-Four-Digit-Number-After-Splitting-Digits
2160.Minimum-Sum-of-Four-Digit-Number-After-Splitting-Digits
2161.Partition-Array-According-to-Given-Pivot
2161.Partition-Array-According-to-Given-Pivot
2162.Minimum-Cost-to-Set-Cooking-Time
2162.Minimum-Cost-to-Set-Cooking-Time
2163.Minimum-Difference-in-Sums-After-Removal-of-Elements
2163.Minimum-Difference-in-Sums-After-Removal-of-Elements
2164.Sort-Even-and-Odd-Indices-Independently
2164.Sort-Even-and-Odd-Indices-Independently
2165.Smallest-Value-of-the-Rearranged-Number
2165.Smallest-Value-of-the-Rearranged-Number
2166.Design-Bitset
2166.Design-Bitset
2167.Minimum-Time-to-Remove-All-Cars-Containing-Illegal-Goods
2167.Minimum-Time-to-Remove-All-Cars-Containing-Illegal-Goods
2168.Unique-Substrings-With-Equal-Digit-Frequency
2168.Unique-Substrings-With-Equal-Digit-Frequency
2169.Count-Operations-to-Obtain-Zero
2169.Count-Operations-to-Obtain-Zero
2170.Minimum-Operations-to-Make-the-Array-Alternating
2170.Minimum-Operations-to-Make-the-Array-Alternating
2171.Removing-Minimum-Number-of-Magic-Beans
2171.Removing-Minimum-Number-of-Magic-Beans
2172.Maximum-AND-Sum-of-Array
2172.Maximum-AND-Sum-of-Array
2174.Remove-All-Ones-With-Row-and-Column-Flips-II
2174.Remove-All-Ones-With-Row-and-Column-Flips-II
2176.Count-Equal-and-Divisible-Pairs-in-an-Array
2176.Count-Equal-and-Divisible-Pairs-in-an-Array
2177.Find-Three-Consecutive-Integers-That-Sum-to-a-Given-Number
2177.Find-Three-Consecutive-Integers-That-Sum-to-a-Given-Number
2178.Maximum-Split-of-Positive-Even-Integers
2178.Maximum-Split-of-Positive-Even-Integers
2179.Count-Good-Triplets-in-an-Array
2179.Count-Good-Triplets-in-an-Array
2180.Count-Integers-With-Even-Digit-Sum
2180.Count-Integers-With-Even-Digit-Sum
2181.Merge-Nodes-in-Between-Zeros
2181.Merge-Nodes-in-Between-Zeros
2182.Construct-String-With-Repeat-Limit
2182.Construct-String-With-Repeat-Limit
2183.Count-Array-Pairs-Divisible-by-K
2183.Count-Array-Pairs-Divisible-by-K
2184.Number-of-Ways-to-Build-Sturdy-Brick-Wall
2184.Number-of-Ways-to-Build-Sturdy-Brick-Wall
2185.Counting-Words-With-a-Given-Prefix
2185.Counting-Words-With-a-Given-Prefix
2186.Minimum-Number-of-Steps-to-Make-Two-Strings-Anagram-II
2186.Minimum-Number-of-Steps-to-Make-Two-Strings-Anagram-II
2187.Minimum-Time-to-Complete-Trips
2187.Minimum-Time-to-Complete-Trips
2188.Minimum-Time-to-Finish-the-Race
2188.Minimum-Time-to-Finish-the-Race
2189.Number-of-Ways-to-Build-House-of-Cards
2189.Number-of-Ways-to-Build-House-of-Cards
2190.Most-Frequent-Number-Following-Key-In-an-Array
2190.Most-Frequent-Number-Following-Key-In-an-Array
2191.Sort-the-Jumbled-Numbers
2191.Sort-the-Jumbled-Numbers
2192.All-Ancestors-of-a-Node-in-a-Directed-Acyclic-Graph
2192.All-Ancestors-of-a-Node-in-a-Directed-Acyclic-Graph
2193.Minimum-Number-of-Moves-to-Make-Palindrome
2193.Minimum-Number-of-Moves-to-Make-Palindrome
2194.Cells-in-a-Range-on-an-Excel-Sheet
2194.Cells-in-a-Range-on-an-Excel-Sheet
2195.Append-K-Integers-With-Minimal-Sum
2195.Append-K-Integers-With-Minimal-Sum
2196.Create-Binary-Tree-From-Descriptions
2196.Create-Binary-Tree-From-Descriptions
2197.Replace-Non-Coprime-Numbers-in-Array
2197.Replace-Non-Coprime-Numbers-in-Array
2198.Number-of-Single-Divisor-Triplets
2198.Number-of-Single-Divisor-Triplets
2200.Find-All-K-Distant-Indices-in-an-Array
2200.Find-All-K-Distant-Indices-in-an-Array
View all files
You can’t perform that action at this time.