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
Accelerator
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
Type
/
to 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 }}
Uh oh!
There was an error while loading.
Please reload this page
.
dotcoreRead
/
leetcode
Public
forked from
doocs/leetcode
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Files
Expand file tree
master
Breadcrumbs
leetcode
/
solution
/
0600-0699
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
master
Breadcrumbs
leetcode
/
solution
/
0600-0699
/
Copy path
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
0600.Non-negative Integers without Consecutive Ones
0600.Non-negative Integers without Consecutive Ones
0601.Human Traffic of Stadium
0601.Human Traffic of Stadium
0602.Friend Requests II Who Has the Most Friends
0602.Friend Requests II Who Has the Most Friends
0603.Consecutive Available Seats
0603.Consecutive Available Seats
0604.Design Compressed String Iterator
0604.Design Compressed String Iterator
0605.Can Place Flowers
0605.Can Place Flowers
0606.Construct String from Binary Tree
0606.Construct String from Binary Tree
0607.Sales Person
0607.Sales Person
0608.Tree Node
0608.Tree Node
0609.Find Duplicate File in System
0609.Find Duplicate File in System
0610.Triangle Judgement
0610.Triangle Judgement
0611.Valid Triangle Number
0611.Valid Triangle Number
0612.Shortest Distance in a Plane
0612.Shortest Distance in a Plane
0613.Shortest Distance in a Line
0613.Shortest Distance in a Line
0614.Second Degree Follower
0614.Second Degree Follower
0615.Average Salary Departments VS Company
0615.Average Salary Departments VS Company
0616.Add Bold Tag in String
0616.Add Bold Tag in String
0617.Merge Two Binary Trees
0617.Merge Two Binary Trees
0618.Students Report By Geography
0618.Students Report By Geography
0619.Biggest Single Number
0619.Biggest Single Number
0620.Not Boring Movies
0620.Not Boring Movies
0621.Task Scheduler
0621.Task Scheduler
0622.Design Circular Queue
0622.Design Circular Queue
0623.Add One Row to Tree
0623.Add One Row to Tree
0624.Maximum Distance in Arrays
0624.Maximum Distance in Arrays
0625.Minimum Factorization
0625.Minimum Factorization
0626.Exchange Seats
0626.Exchange Seats
0627.Swap Salary
0627.Swap Salary
0628.Maximum Product of Three Numbers
0628.Maximum Product of Three Numbers
0629.K Inverse Pairs Array
0629.K Inverse Pairs Array
0630.Course Schedule III
0630.Course Schedule III
0631.Design Excel Sum Formula
0631.Design Excel Sum Formula
0632.Smallest Range Covering Elements from K Lists
0632.Smallest Range Covering Elements from K Lists
0633.Sum of Square Numbers
0633.Sum of Square Numbers
0634.Find the Derangement of An Array
0634.Find the Derangement of An Array
0635.Design Log Storage System
0635.Design Log Storage System
0636.Exclusive Time of Functions
0636.Exclusive Time of Functions
0637.Average of Levels in Binary Tree
0637.Average of Levels in Binary Tree
0638.Shopping Offers
0638.Shopping Offers
0639.Decode Ways II
0639.Decode Ways II
0640.Solve the Equation
0640.Solve the Equation
0641.Design Circular Deque
0641.Design Circular Deque
0642.Design Search Autocomplete System
0642.Design Search Autocomplete System
0643.Maximum Average Subarray I
0643.Maximum Average Subarray I
0644.Maximum Average Subarray II
0644.Maximum Average Subarray II
0645.Set Mismatch
0645.Set Mismatch
0646.Maximum Length of Pair Chain
0646.Maximum Length of Pair Chain
0647.Palindromic Substrings
0647.Palindromic Substrings
0648.Replace Words
0648.Replace Words
0649.Dota2 Senate
0649.Dota2 Senate
0650.2 Keys Keyboard
0650.2 Keys Keyboard
0651.4 Keys Keyboard
0651.4 Keys Keyboard
0652.Find Duplicate Subtrees
0652.Find Duplicate Subtrees
0653.Two Sum IV - Input is a BST
0653.Two Sum IV - Input is a BST
0654.Maximum Binary Tree
0654.Maximum Binary Tree
0655.Print Binary Tree
0655.Print Binary Tree
0656.Coin Path
0656.Coin Path
0657.Robot Return to Origin
0657.Robot Return to Origin
0658.Find K Closest Elements
0658.Find K Closest Elements
0659.Split Array into Consecutive Subsequences
0659.Split Array into Consecutive Subsequences
0660.Remove 9
0660.Remove 9
0661.Image Smoother
0661.Image Smoother
0662.Maximum Width of Binary Tree
0662.Maximum Width of Binary Tree
0663.Equal Tree Partition
0663.Equal Tree Partition
0664.Strange Printer
0664.Strange Printer
0665.Non-decreasing Array
0665.Non-decreasing Array
0666.Path Sum IV
0666.Path Sum IV
0667.Beautiful Arrangement II
0667.Beautiful Arrangement II
0668.Kth Smallest Number in Multiplication Table
0668.Kth Smallest Number in Multiplication Table
0669.Trim a Binary Search Tree
0669.Trim a Binary Search Tree
0670.Maximum Swap
0670.Maximum Swap
0671.Second Minimum Node In a Binary Tree
0671.Second Minimum Node In a Binary Tree
0672.Bulb Switcher II
0672.Bulb Switcher II
0673.Number of Longest Increasing Subsequence
0673.Number of Longest Increasing Subsequence
0674.Longest Continuous Increasing Subsequence
0674.Longest Continuous Increasing Subsequence
0675.Cut Off Trees for Golf Event
0675.Cut Off Trees for Golf Event
0676.Implement Magic Dictionary
0676.Implement Magic Dictionary
0677.Map Sum Pairs
0677.Map Sum Pairs
0678.Valid Parenthesis String
0678.Valid Parenthesis String
0679.24 Game
0679.24 Game
0680.Valid Palindrome II
0680.Valid Palindrome II
0681.Next Closest Time
0681.Next Closest Time
0682.Baseball Game
0682.Baseball Game
0683.K Empty Slots
0683.K Empty Slots
0684.Redundant Connection
0684.Redundant Connection
0685.Redundant Connection II
0685.Redundant Connection II
0686.Repeated String Match
0686.Repeated String Match
0687.Longest Univalue Path
0687.Longest Univalue Path
0688.Knight Probability in Chessboard
0688.Knight Probability in Chessboard
0689.Maximum Sum of 3 Non-Overlapping Subarrays
0689.Maximum Sum of 3 Non-Overlapping Subarrays
0690.Employee Importance
0690.Employee Importance
0691.Stickers to Spell Word
0691.Stickers to Spell Word
0692.Top K Frequent Words
0692.Top K Frequent Words
0693.Binary Number with Alternating Bits
0693.Binary Number with Alternating Bits
0694.Number of Distinct Islands
0694.Number of Distinct Islands
0695.Max Area of Island
0695.Max Area of Island
0696.Count Binary Substrings
0696.Count Binary Substrings
0697.Degree of an Array
0697.Degree of an Array
0698.Partition to K Equal Sum Subsets
0698.Partition to K Equal Sum Subsets
0699.Falling Squares
0699.Falling Squares
View all files
You can’t perform that action at this time.