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
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 }}
mlekstan
/
LeetCode
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Files
Expand file tree
master
Breadcrumbs
LeetCode
/
Easy
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
master
Breadcrumbs
LeetCode
/
Easy
/
Copy path
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
100-Same_Tree
100-Same_Tree
101-Symmetric_Tree
101-Symmetric_Tree
104-Maximum_Depth_of_Binary_Tree
104-Maximum_Depth_of_Binary_Tree
1051-Height_Checker
1051-Height_Checker
1089-Duplicate_Zeros
1089-Duplicate_Zeros
112-Path_Sum
112-Path_Sum
121-Best_Time_to_Buy_and_Sell_Stock
121-Best_Time_to_Buy_and_Sell_Stock
125-Valid_Palindrome
125-Valid_Palindrome
1295-Find_Numbers_with_Even_Number_of_Digits
1295-Find_Numbers_with_Even_Number_of_Digits
1299-Replace_Elements_with_Greatest_Element_on_Right_Side
1299-Replace_Elements_with_Greatest_Element_on_Right_Side
13-Roman_to_Integer
13-Roman_to_Integer
1342-Number_of_Steps_to_Reduce_a_Number_to_Zero
1342-Number_of_Steps_to_Reduce_a_Number_to_Zero
1346-Check_If_N_and_Its_Double_Exist
1346-Check_If_N_and_Its_Double_Exist
14-Longest_Common_Prefix
14-Longest_Common_Prefix
1480-Running_Sum_of_1d_Array
1480-Running_Sum_of_1d_Array
1672-Richest_Customer_Wealth
1672-Richest_Customer_Wealth
169-Majority_Element
169-Majority_Element
205-Isomorphic_Strings
205-Isomorphic_Strings
21-Merge_Two_Sorted_Lists
21-Merge_Two_Sorted_Lists
222-Count_Complete_Tree_Nodes
222-Count_Complete_Tree_Nodes
226-Invert_Binary_Tree
226-Invert_Binary_Tree
242-Valid_Anagram
242-Valid_Anagram
26-Remove_Duplicates_from_Sorted_Array
26-Remove_Duplicates_from_Sorted_Array
27-Remove_Element
27-Remove_Element
28-Find_the_Index_of_the_First_Occurrence_in_a_String
28-Find_the_Index_of_the_First_Occurrence_in_a_String
283-Move_Zeroes
283-Move_Zeroes
290-Word_Pattern
290-Word_Pattern
383-Ransom_Note
383-Ransom_Note
392-Is_Subsequence
392-Is_Subsequence
412-Fizz_Buzz
412-Fizz_Buzz
414-Third_Maximum_Number
414-Third_Maximum_Number
448-Find_All_Numbers_Disappeared_in_an_Array
448-Find_All_Numbers_Disappeared_in_an_Array
485-Max_Consecutive_Ones
485-Max_Consecutive_Ones
58-Length_of_Last_Word
58-Length_of_Last_Word
876-Middle_of_the_Linked_List
876-Middle_of_the_Linked_List
88-Merge_Sorted_Array
88-Merge_Sorted_Array
905-Sort_Array_By_Parity
905-Sort_Array_By_Parity
941-Valid_Mountain_Array
941-Valid_Mountain_Array
977-Squares_of_a_Sorted_Array
977-Squares_of_a_Sorted_Array
View all files
You can’t perform that action at this time.