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
/
1801-1900
/
Copy path
Directory actions
More options
Directory actions
More options
Latest commit
History
History
main
Breadcrumbs
awesome-golang-algorithm
/
leetcode
/
1801-1900
/
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
1801.Number-of-Orders-in-the-Backlog
1801.Number-of-Orders-in-the-Backlog
1802.Maximum-Value-at-a-Given-Index-in-a-Bounded-Array
1802.Maximum-Value-at-a-Given-Index-in-a-Bounded-Array
1803.Count-Pairs-With-XOR-in-a-Range
1803.Count-Pairs-With-XOR-in-a-Range
1805.Number-of-Different-Integers-in-a-String
1805.Number-of-Different-Integers-in-a-String
1806.Minimum-Number-of-Operations-to-Reinitialize-a-Permutation
1806.Minimum-Number-of-Operations-to-Reinitialize-a-Permutation
1807.Evaluate-the-Bracket-Pairs-of-a-String
1807.Evaluate-the-Bracket-Pairs-of-a-String
1808.Maximize-Number-of-Nice-Divisors
1808.Maximize-Number-of-Nice-Divisors
1812.Determine-Color-of-a-Chessboard-Square
1812.Determine-Color-of-a-Chessboard-Square
1813.Sentence-Similarity-III
1813.Sentence-Similarity-III
1814.Count-Nice-Pairs-in-an-Array
1814.Count-Nice-Pairs-in-an-Array
1815.Maximum-Number-of-Groups-Getting-Fresh-Donuts
1815.Maximum-Number-of-Groups-Getting-Fresh-Donuts
1816.Truncate-Sentence
1816.Truncate-Sentence
1817.Finding-the-Users-Active-Minutes
1817.Finding-the-Users-Active-Minutes
1818.Minimum-Absolute-Sum-Difference
1818.Minimum-Absolute-Sum-Difference
1819.Number-of-Different-Subsequences-GCDs
1819.Number-of-Different-Subsequences-GCDs
1822.Sign-of-the-Product-of-an-Array
1822.Sign-of-the-Product-of-an-Array
1823.Find-the-Winner-of-the-Circular-Game
1823.Find-the-Winner-of-the-Circular-Game
1824.Minimum-Sideway-Jumps
1824.Minimum-Sideway-Jumps
1825.Finding-MK-Average
1825.Finding-MK-Average
1827.Minimum-Operations-to-Make-the-Array-Increasing
1827.Minimum-Operations-to-Make-the-Array-Increasing
1828.Queries-on-Number-of-Points-Inside-a-Circle
1828.Queries-on-Number-of-Points-Inside-a-Circle
1829.Maximum-XOR-for-Each-Query
1829.Maximum-XOR-for-Each-Query
1830.Minimum-Number-of-Operations-to-Make-String-Sorted
1830.Minimum-Number-of-Operations-to-Make-String-Sorted
1832.Check-if-the-Sentence-Is-Pangram
1832.Check-if-the-Sentence-Is-Pangram
1833.Maximum-Ice-Cream-Bars
1833.Maximum-Ice-Cream-Bars
1834.Single-Threaded-CPU
1834.Single-Threaded-CPU
1835.Find-XOR-Sum-of-All-Pairs-Bitwise-AND
1835.Find-XOR-Sum-of-All-Pairs-Bitwise-AND
1837.Sum-of-Digits-in-Base-K
1837.Sum-of-Digits-in-Base-K
1838.Frequency-of-the-Most-Frequent-Element
1838.Frequency-of-the-Most-Frequent-Element
1839.Longest-Substring-Of-All-Vowels-in-Order
1839.Longest-Substring-Of-All-Vowels-in-Order
1840.Maximum-Building-Height
1840.Maximum-Building-Height
1844.Replace-All-Digits-with-Characters
1844.Replace-All-Digits-with-Characters
1845.Seat-Reservation-Manager
1845.Seat-Reservation-Manager
1846.Maximum-Element-After-Decreasing-and-Rearranging
1846.Maximum-Element-After-Decreasing-and-Rearranging
1847.Closest-Room
1847.Closest-Room
1848.Minimum-Distance-to-the-Target-Element
1848.Minimum-Distance-to-the-Target-Element
1849.Splitting-a-String-Into-Descending-Consecutive-Values
1849.Splitting-a-String-Into-Descending-Consecutive-Values
1850.Minimum-Adjacent-Swaps-to-Reach-the-Kth-Smallest-Number
1850.Minimum-Adjacent-Swaps-to-Reach-the-Kth-Smallest-Number
1851.Minimum-Interval-to-Include-Each-Query
1851.Minimum-Interval-to-Include-Each-Query
1854.Maximum-Population-Year
1854.Maximum-Population-Year
1855.Maximum-Distance-Between-a-Pair-of-Values
1855.Maximum-Distance-Between-a-Pair-of-Values
1856.Maximum-Subarray-Min-Product
1856.Maximum-Subarray-Min-Product
1857.Largest-Color-Value-in-a-Directed-Graph
1857.Largest-Color-Value-in-a-Directed-Graph
1859.Sorting-the-Sentence
1859.Sorting-the-Sentence
1860.Incremental-Memory-Leak
1860.Incremental-Memory-Leak
1861.Rotating-the-Box
1861.Rotating-the-Box
1862.Sum-of-Floored-Pairs
1862.Sum-of-Floored-Pairs
1863.Sum-of-All-Subset-XOR-Totals
1863.Sum-of-All-Subset-XOR-Totals
1864.Minimum-Number-of-Swaps-to-Make-the-Binary-String-Alternating
1864.Minimum-Number-of-Swaps-to-Make-the-Binary-String-Alternating
1865.Finding-Pairs-With-a-Certain-Sum
1865.Finding-Pairs-With-a-Certain-Sum
1866.Number-of-Ways-to-Rearrange-Sticks-With-K-Sticks-Visible
1866.Number-of-Ways-to-Rearrange-Sticks-With-K-Sticks-Visible
1869.Longer-Contiguous-Segments-of-Ones-than-Zeros
1869.Longer-Contiguous-Segments-of-Ones-than-Zeros
1870.Minimum-Speed-to-Arrive-on-Time
1870.Minimum-Speed-to-Arrive-on-Time
1871.Jump-Game-VII
1871.Jump-Game-VII
1872.Stone-Game-VIII
1872.Stone-Game-VIII
1876.Substrings-of-Size-Three-with-Distinct-Characters
1876.Substrings-of-Size-Three-with-Distinct-Characters
1877.Minimize-Maximum-Pair-Sum-in-Array
1877.Minimize-Maximum-Pair-Sum-in-Array
1878.Get-Biggest-Three-Rhombus-Sums-in-a-Grid
1878.Get-Biggest-Three-Rhombus-Sums-in-a-Grid
1879.Minimum-XOR-Sum-of-Two-Arrays
1879.Minimum-XOR-Sum-of-Two-Arrays
1880.Check-if-Word-Equals-Summation-of-Two-Words
1880.Check-if-Word-Equals-Summation-of-Two-Words
1881.Maximum-Value-after-Insertion
1881.Maximum-Value-after-Insertion
1882.Process-Tasks-Using-Servers
1882.Process-Tasks-Using-Servers
1883.Minimum-Skips-to-Arrive-at-Meeting-On-Time
1883.Minimum-Skips-to-Arrive-at-Meeting-On-Time
1884.Egg-Drop-With-2-Eggs-and-N-Floors
1884.Egg-Drop-With-2-Eggs-and-N-Floors
1886.Determine-Whether-Matrix-Can-Be-Obtained-By-Rotation
1886.Determine-Whether-Matrix-Can-Be-Obtained-By-Rotation
1887.Reduction-Operations-to-Make-the-Array-Elements-Equal
1887.Reduction-Operations-to-Make-the-Array-Elements-Equal
1888.Minimum-Number-of-Flips-to-Make-the-Binary-String-Alternating
1888.Minimum-Number-of-Flips-to-Make-the-Binary-String-Alternating
1889.Minimum-Space-Wasted-From-Packaging
1889.Minimum-Space-Wasted-From-Packaging
1893.Check-if-All-the-Integers-in-a-Range-Are-Covered
1893.Check-if-All-the-Integers-in-a-Range-Are-Covered
1894.Find-the-Student-that-Will-Replace-the-Chalk
1894.Find-the-Student-that-Will-Replace-the-Chalk
1895.Largest-Magic-Square
1895.Largest-Magic-Square
1896.Minimum-Cost-to-Change-the-Final-Value-of-Expression
1896.Minimum-Cost-to-Change-the-Final-Value-of-Expression
1897.Redistribute-Characters-to-Make-All-Strings-Equal
1897.Redistribute-Characters-to-Make-All-Strings-Equal
1898.Maximum-Number-of-Removable-Characters
1898.Maximum-Number-of-Removable-Characters
1899.Merge-Triplets-to-Form-Target-Triplet
1899.Merge-Triplets-to-Form-Target-Triplet
1900.The-Earliest-and-Latest-Rounds-Where-Players-Compete
1900.The-Earliest-and-Latest-Rounds-Where-Players-Compete
View all files
You can’t perform that action at this time.