Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
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 }}
feiffy
leetcode
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
main
Breadcrumbs
leetcode
/
solution
/
0800-0899
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
main
Breadcrumbs
leetcode
/
solution
/
0800-0899
/
Copy path
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
0800.Similar RGB Color
0800.Similar RGB Color
0801.Minimum Swaps To Make Sequences Increasing
0801.Minimum Swaps To Make Sequences Increasing
0802.Find Eventual Safe States
0802.Find Eventual Safe States
0803.Bricks Falling When Hit
0803.Bricks Falling When Hit
0804.Unique Morse Code Words
0804.Unique Morse Code Words
0805.Split Array With Same Average
0805.Split Array With Same Average
0806.Number of Lines To Write String
0806.Number of Lines To Write String
0807.Max Increase to Keep City Skyline
0807.Max Increase to Keep City Skyline
0808.Soup Servings
0808.Soup Servings
0809.Expressive Words
0809.Expressive Words
0810.Chalkboard XOR Game
0810.Chalkboard XOR Game
0811.Subdomain Visit Count
0811.Subdomain Visit Count
0812.Largest Triangle Area
0812.Largest Triangle Area
0813.Largest Sum of Averages
0813.Largest Sum of Averages
0814.Binary Tree Pruning
0814.Binary Tree Pruning
0815.Bus Routes
0815.Bus Routes
0816.Ambiguous Coordinates
0816.Ambiguous Coordinates
0817.Linked List Components
0817.Linked List Components
0818.Race Car
0818.Race Car
0819.Most Common Word
0819.Most Common Word
0820.Short Encoding of Words
0820.Short Encoding of Words
0821.Shortest Distance to a Character
0821.Shortest Distance to a Character
0822.Card Flipping Game
0822.Card Flipping Game
0823.Binary Trees With Factors
0823.Binary Trees With Factors
0824.Goat Latin
0824.Goat Latin
0825.Friends Of Appropriate Ages
0825.Friends Of Appropriate Ages
0826.Most Profit Assigning Work
0826.Most Profit Assigning Work
0827.Making A Large Island
0827.Making A Large Island
0828.Count Unique Characters of All Substrings of a Given String
0828.Count Unique Characters of All Substrings of a Given String
0829.Consecutive Numbers Sum
0829.Consecutive Numbers Sum
0830.Positions of Large Groups
0830.Positions of Large Groups
0831.Masking Personal Information
0831.Masking Personal Information
0832.Flipping an Image
0832.Flipping an Image
0833.Find And Replace in String
0833.Find And Replace in String
0834.Sum of Distances in Tree
0834.Sum of Distances in Tree
0835.Image Overlap
0835.Image Overlap
0836.Rectangle Overlap
0836.Rectangle Overlap
0837.New 21 Game
0837.New 21 Game
0838.Push Dominoes
0838.Push Dominoes
0839.Similar String Groups
0839.Similar String Groups
0840.Magic Squares In Grid
0840.Magic Squares In Grid
0841.Keys and Rooms
0841.Keys and Rooms
0842.Split Array into Fibonacci Sequence
0842.Split Array into Fibonacci Sequence
0843.Guess the Word
0843.Guess the Word
0844.Backspace String Compare
0844.Backspace String Compare
0845.Longest Mountain in Array
0845.Longest Mountain in Array
0846.Hand of Straights
0846.Hand of Straights
0847.Shortest Path Visiting All Nodes
0847.Shortest Path Visiting All Nodes
0848.Shifting Letters
0848.Shifting Letters
0849.Maximize Distance to Closest Person
0849.Maximize Distance to Closest Person
0850.Rectangle Area II
0850.Rectangle Area II
0851.Loud and Rich
0851.Loud and Rich
0852.Peak Index in a Mountain Array
0852.Peak Index in a Mountain Array
0853.Car Fleet
0853.Car Fleet
0854.K-Similar Strings
0854.K-Similar Strings
0855.Exam Room
0855.Exam Room
0856.Score of Parentheses
0856.Score of Parentheses
0857.Minimum Cost to Hire K Workers
0857.Minimum Cost to Hire K Workers
0858.Mirror Reflection
0858.Mirror Reflection
0859.Buddy Strings
0859.Buddy Strings
0860.Lemonade Change
0860.Lemonade Change
0861.Score After Flipping Matrix
0861.Score After Flipping Matrix
0862.Shortest Subarray with Sum at Least K
0862.Shortest Subarray with Sum at Least K
0863.All Nodes Distance K in Binary Tree
0863.All Nodes Distance K in Binary Tree
0864.Shortest Path to Get All Keys
0864.Shortest Path to Get All Keys
0865.Smallest Subtree with all the Deepest Nodes
0865.Smallest Subtree with all the Deepest Nodes
0866.Prime Palindrome
0866.Prime Palindrome
0867.Transpose Matrix
0867.Transpose Matrix
0868.Binary Gap
0868.Binary Gap
0869.Reordered Power of 2
0869.Reordered Power of 2
0870.Advantage Shuffle
0870.Advantage Shuffle
0871.Minimum Number of Refueling Stops
0871.Minimum Number of Refueling Stops
0872.Leaf-Similar Trees
0872.Leaf-Similar Trees
0873.Length of Longest Fibonacci Subsequence
0873.Length of Longest Fibonacci Subsequence
0874.Walking Robot Simulation
0874.Walking Robot Simulation
0875.Koko Eating Bananas
0875.Koko Eating Bananas
0876.Middle of the Linked List
0876.Middle of the Linked List
0877.Stone Game
0877.Stone Game
0878.Nth Magical Number
0878.Nth Magical Number
0879.Profitable Schemes
0879.Profitable Schemes
0880.Decoded String at Index
0880.Decoded String at Index
0881.Boats to Save People
0881.Boats to Save People
0882.Reachable Nodes In Subdivided Graph
0882.Reachable Nodes In Subdivided Graph
0883.Projection Area of 3D Shapes
0883.Projection Area of 3D Shapes
0884.Uncommon Words from Two Sentences
0884.Uncommon Words from Two Sentences
0885.Spiral Matrix III
0885.Spiral Matrix III
0886.Possible Bipartition
0886.Possible Bipartition
0887.Super Egg Drop
0887.Super Egg Drop
0888.Fair Candy Swap
0888.Fair Candy Swap
0889.Construct Binary Tree from Preorder and Postorder Traversal
0889.Construct Binary Tree from Preorder and Postorder Traversal
0890.Find and Replace Pattern
0890.Find and Replace Pattern
0891.Sum of Subsequence Widths
0891.Sum of Subsequence Widths
0892.Surface Area of 3D Shapes
0892.Surface Area of 3D Shapes
0893.Groups of Special-Equivalent Strings
0893.Groups of Special-Equivalent Strings
0894.All Possible Full Binary Trees
0894.All Possible Full Binary Trees
0895.Maximum Frequency Stack
0895.Maximum Frequency Stack
0896.Monotonic Array
0896.Monotonic Array
0897.Increasing Order Search Tree
0897.Increasing Order Search Tree
0898.Bitwise ORs of Subarrays
0898.Bitwise ORs of Subarrays
0899.Orderly Queue
0899.Orderly Queue
View all files
You can’t perform that action at this time.