Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
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
/
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 }}
coderLPing
leetcode
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
main
Breadcrumbs
leetcode
/
solution
/
1900-1999
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
main
Breadcrumbs
leetcode
/
solution
/
1900-1999
/
Copy path
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
1900.The Earliest and Latest Rounds Where Players Compete
1900.The Earliest and Latest Rounds Where Players Compete
1901.Find a Peak Element II
1901.Find a Peak Element II
1902.Depth of BST Given Insertion Order
1902.Depth of BST Given Insertion Order
1903.Largest Odd Number in String
1903.Largest Odd Number in String
1904.The Number of Full Rounds You Have Played
1904.The Number of Full Rounds You Have Played
1905.Count Sub Islands
1905.Count Sub Islands
1906.Minimum Absolute Difference Queries
1906.Minimum Absolute Difference Queries
1907.Count Salary Categories
1907.Count Salary Categories
1908.Game of Nim
1908.Game of Nim
1909.Remove One Element to Make the Array Strictly Increasing
1909.Remove One Element to Make the Array Strictly Increasing
1910.Remove All Occurrences of a Substring
1910.Remove All Occurrences of a Substring
1911.Maximum Alternating Subsequence Sum
1911.Maximum Alternating Subsequence Sum
1912.Design Movie Rental System
1912.Design Movie Rental System
1913.Maximum Product Difference Between Two Pairs
1913.Maximum Product Difference Between Two Pairs
1914.Cyclically Rotating a Grid
1914.Cyclically Rotating a Grid
1915.Number of Wonderful Substrings
1915.Number of Wonderful Substrings
1916.Count Ways to Build Rooms in an Ant Colony
1916.Count Ways to Build Rooms in an Ant Colony
1917.Leetcodify Friends Recommendations
1917.Leetcodify Friends Recommendations
1918.Kth Smallest Subarray Sum
1918.Kth Smallest Subarray Sum
1919.Leetcodify Similar Friends
1919.Leetcodify Similar Friends
1920.Build Array from Permutation
1920.Build Array from Permutation
1921.Eliminate Maximum Number of Monsters
1921.Eliminate Maximum Number of Monsters
1922.Count Good Numbers
1922.Count Good Numbers
1923.Longest Common Subpath
1923.Longest Common Subpath
1924.Erect the Fence II
1924.Erect the Fence II
1925.Count Square Sum Triples
1925.Count Square Sum Triples
1926.Nearest Exit from Entrance in Maze
1926.Nearest Exit from Entrance in Maze
1927.Sum Game
1927.Sum Game
1928.Minimum Cost to Reach Destination in Time
1928.Minimum Cost to Reach Destination in Time
1929.Concatenation of Array
1929.Concatenation of Array
1930.Unique Length-3 Palindromic Subsequences
1930.Unique Length-3 Palindromic Subsequences
1931.Painting a Grid With Three Different Colors
1931.Painting a Grid With Three Different Colors
1932.Merge BSTs to Create Single BST
1932.Merge BSTs to Create Single BST
1933.Check if String Is Decomposable Into Value-Equal Substrings
1933.Check if String Is Decomposable Into Value-Equal Substrings
1934.Confirmation Rate
1934.Confirmation Rate
1935.Maximum Number of Words You Can Type
1935.Maximum Number of Words You Can Type
1936.Add Minimum Number of Rungs
1936.Add Minimum Number of Rungs
1937.Maximum Number of Points with Cost
1937.Maximum Number of Points with Cost
1938.Maximum Genetic Difference Query
1938.Maximum Genetic Difference Query
View all files
You can’t perform that action at this time.