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 }}
0xff-dev
/
awesome-golang-algorithm
Public
forked from
6boris/awesome-golang-algorithm
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Pull requests
0
Projects
0
Security
Insights
Additional navigation options
Code
Pull requests
Projects
Security
Insights
Files
3342
Breadcrumbs
awesome-golang-algorithm
/
leetcode
/
3001-3100
/
Copy path
Directory actions
More options
Directory actions
More options
Latest commit
History
History
3342
Breadcrumbs
awesome-golang-algorithm
/
leetcode
/
3001-3100
/
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
3001.Minimum-Moves-to-Capture-The-Queen
3001.Minimum-Moves-to-Capture-The-Queen
3002.Maximum-Size-of-a-Set-After-Removals
3002.Maximum-Size-of-a-Set-After-Removals
3003.Maximize-the-Number-of-Partitions-After-Operations
3003.Maximize-the-Number-of-Partitions-After-Operations
3005.Count-Elements-With-Maximum-Frequency
3005.Count-Elements-With-Maximum-Frequency
3006.Find-Beautiful-Indices-in-the-Given-Array-I
3006.Find-Beautiful-Indices-in-the-Given-Array-I
3007.Maximum-Number-That-Sum-of-the-Prices-Is-Less-Than-or-Equal-to-K
3007.Maximum-Number-That-Sum-of-the-Prices-Is-Less-Than-or-Equal-to-K
3008.Find-Beautiful-Indices-in-the-Given-Array-II
3008.Find-Beautiful-Indices-in-the-Given-Array-II
3010.Divide-an-Array-Into-Subarrays-With-Minimum-Cost-I
3010.Divide-an-Array-Into-Subarrays-With-Minimum-Cost-I
3011.Find-if-Array-Can-Be-Sorted
3011.Find-if-Array-Can-Be-Sorted
3012.Minimize-Length-of-Array-Using-Operations
3012.Minimize-Length-of-Array-Using-Operations
3013.Divide-an-Array-Into-Subarrays-With-Minimum-Cost-II
3013.Divide-an-Array-Into-Subarrays-With-Minimum-Cost-II
3014.Minimum-Number-of-Pushes-to-Type-Word-I
3014.Minimum-Number-of-Pushes-to-Type-Word-I
3015.Count-the-Number-of-Houses-at-a-Certain-Distance-I
3015.Count-the-Number-of-Houses-at-a-Certain-Distance-I
3016.Minimum-Number-of-Pushes-to-Type-Word-II
3016.Minimum-Number-of-Pushes-to-Type-Word-II
3017.Count-the-Number-of-Houses-at-a-Certain-Distance-II
3017.Count-the-Number-of-Houses-at-a-Certain-Distance-II
3019.Number-of-Changing-Keys
3019.Number-of-Changing-Keys
3020.Find-the-Maximum-Number-of-Elements-in-Subset
3020.Find-the-Maximum-Number-of-Elements-in-Subset
3021.Alice-and-Bob-Playing-Flower-Game
3021.Alice-and-Bob-Playing-Flower-Game
3022.Minimize-OR-of-Remaining-Elements-Using-Operations
3022.Minimize-OR-of-Remaining-Elements-Using-Operations
3024.Type-of-Triangle
3024.Type-of-Triangle
3025.Find-the-Number-of-Ways-to-Place-People-I
3025.Find-the-Number-of-Ways-to-Place-People-I
3026.Maximum-Good-Subarray-Sum
3026.Maximum-Good-Subarray-Sum
3027.Find-the-Number-of-Ways-to-Place-People-II
3027.Find-the-Number-of-Ways-to-Place-People-II
3028.Ant-on-the-Boundary
3028.Ant-on-the-Boundary
3029.Minimum-Time-to-Revert-Word-to-Initial-State-I
3029.Minimum-Time-to-Revert-Word-to-Initial-State-I
3030.Find-the-Grid-of-Region-Average
3030.Find-the-Grid-of-Region-Average
3031.Minimum-Time-to-Revert-Word-to-Initial-State-II
3031.Minimum-Time-to-Revert-Word-to-Initial-State-II
3033.Modify-the-Matrix
3033.Modify-the-Matrix
3034.Number-of-Subarrays-That-Match-a-Pattern-I
3034.Number-of-Subarrays-That-Match-a-Pattern-I
3035.Maximum-Palindromes-After-Operations
3035.Maximum-Palindromes-After-Operations
3036.Number-of-Subarrays-That-Match-a-Pattern-II
3036.Number-of-Subarrays-That-Match-a-Pattern-II
3038.Maximum-Number-of-Operations-With-the-Same-Score-I
3038.Maximum-Number-of-Operations-With-the-Same-Score-I
3039.Apply-Operations-to-Make-String-Empty
3039.Apply-Operations-to-Make-String-Empty
3040.Maximum-Number-of-Operations-With-the-Same-Score-II
3040.Maximum-Number-of-Operations-With-the-Same-Score-II
3041.Maximize-Consecutive-Elements-in-an-Array-After-Modification
3041.Maximize-Consecutive-Elements-in-an-Array-After-Modification
3042.Count-Prefix-and-Suffix-Pairs-I
3042.Count-Prefix-and-Suffix-Pairs-I
3043.Find-the-Length-of-the-Longest-Common-Prefix
3043.Find-the-Length-of-the-Longest-Common-Prefix
3044.Most-Frequent-Prime
3044.Most-Frequent-Prime
3045.Count-Prefix-and-Suffix-Pairs-II
3045.Count-Prefix-and-Suffix-Pairs-II
3046.Split-the-Array
3046.Split-the-Array
3047.Find-the-Largest-Area-of-Square-Inside-Two-Rectangles
3047.Find-the-Largest-Area-of-Square-Inside-Two-Rectangles
3048.Earliest-Second-to-Mark-Indices-I
3048.Earliest-Second-to-Mark-Indices-I
3049.Earliest-Second-to-Mark-Indices-II
3049.Earliest-Second-to-Mark-Indices-II
3065.Minimum-Operations-to-Exceed-Threshold-Value-I
3065.Minimum-Operations-to-Exceed-Threshold-Value-I
3066.Minimum-Operations-to-Exceed-Threshold-Value-II
3066.Minimum-Operations-to-Exceed-Threshold-Value-II
3067.Count-Pairs-of-Connectable-Servers-in-a-Weighted-Tree-Network
3067.Count-Pairs-of-Connectable-Servers-in-a-Weighted-Tree-Network
3068.Find-the-Maximum-Sum-of-Node-Values
3068.Find-the-Maximum-Sum-of-Node-Values
3069.Distribute-Elements-Into-Two-Arrays-I
3069.Distribute-Elements-Into-Two-Arrays-I
3070.Count-Submatrices-with-Top-Left-Element-and-Sum-Less-Than-k
3070.Count-Submatrices-with-Top-Left-Element-and-Sum-Less-Than-k
3071.Minimum-Operations-to-Write-the-Letter-Y-on-a-Grid
3071.Minimum-Operations-to-Write-the-Letter-Y-on-a-Grid
3072.Distribute-Elements-Into-Two-Arrays-II
3072.Distribute-Elements-Into-Two-Arrays-II
3074.Apple-Redistribution-into-Boxes
3074.Apple-Redistribution-into-Boxes
3075.Maximize-Happiness-of-Selected-Children
3075.Maximize-Happiness-of-Selected-Children
3076.Shortest-Uncommon-Substring-in-an-Array
3076.Shortest-Uncommon-Substring-in-an-Array
3077.Maximum-Strength-of-K-Disjoint-Subarrays
3077.Maximum-Strength-of-K-Disjoint-Subarrays
3079.Find-the-Sum-of-Encrypted-Integers
3079.Find-the-Sum-of-Encrypted-Integers
3080.Mark-Elements-on-Array-by-Performing-Queries
3080.Mark-Elements-on-Array-by-Performing-Queries
3081.Replace-Question-Marks-in-String-to-Minimize-Its-Value
3081.Replace-Question-Marks-in-String-to-Minimize-Its-Value
3082.Find-the-Sum-of-the-Power-of-All-Subsequences
3082.Find-the-Sum-of-the-Power-of-All-Subsequences
3083.Existence-of-a-Substring-in-a-String-and-Its-Reverse
3083.Existence-of-a-Substring-in-a-String-and-Its-Reverse
3084.Count-Substrings-Starting-and-Ending-with-Given-Character
3084.Count-Substrings-Starting-and-Ending-with-Given-Character
3085.Minimum-Deletions-to-Make-String-K-Special
3085.Minimum-Deletions-to-Make-String-K-Special
3086.Minimum-Moves-to-Pick-K-Ones
3086.Minimum-Moves-to-Pick-K-Ones
3090.Maximum-Length-Substring-With-Two-Occurrences
3090.Maximum-Length-Substring-With-Two-Occurrences
3091.Apply-Operations-to-Make-Sum-of-Array-Greater-Than-or-Equal-to-k
3091.Apply-Operations-to-Make-Sum-of-Array-Greater-Than-or-Equal-to-k
3092.Most-Frequent-IDs
3092.Most-Frequent-IDs
3093.Longest-Common-Suffix-Queries
3093.Longest-Common-Suffix-Queries
3095.Shortest-Subarray-With-OR-at-Least-K-I
3095.Shortest-Subarray-With-OR-at-Least-K-I
3096.Minimum-Levels-to-Gain-More-Points
3096.Minimum-Levels-to-Gain-More-Points
3097.Shortest-Subarray-With-OR-at-Least-K-II
3097.Shortest-Subarray-With-OR-at-Least-K-II
3098.Find-the-Sum-of-Subsequence-Powers
3098.Find-the-Sum-of-Subsequence-Powers
3099.Harshad-Number
3099.Harshad-Number
3100.Water-Bottles-II
3100.Water-Bottles-II
View all files
You can’t perform that action at this time.