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 }}
Zephry
LeetCode
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
More
items
Files
Expand file tree
master
Breadcrumbs
LeetCode
/
src
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
master
Breadcrumbs
LeetCode
/
src
/
Copy path
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
Add_Binary
Add_Binary
Anagrams
Anagrams
Balanced_Binary_Tree
Balanced_Binary_Tree
Best_Time_to_Buy_and_Sell_Stock
Best_Time_to_Buy_and_Sell_Stock
Best_Time_to_Buy_and_Sell_Stock2
Best_Time_to_Buy_and_Sell_Stock2
Best_Time_to_Buy_and_Sell_Stock3
Best_Time_to_Buy_and_Sell_Stock3
Binary_Search_In_Dulipated_Array
Binary_Search_In_Dulipated_Array
Binary_Search_Tree_Iterator
Binary_Search_Tree_Iterator
Binary_Tree_Inorder_Traversal
Binary_Tree_Inorder_Traversal
Binary_Tree_Level_Order_Traversal
Binary_Tree_Level_Order_Traversal
Binary_Tree_Level_Order_Traversal2
Binary_Tree_Level_Order_Traversal2
Binary_Tree_Postorder_Traversal
Binary_Tree_Postorder_Traversal
Binary_Tree_Preorder_Traversal
Binary_Tree_Preorder_Traversal
Binary_Tree_Zigzag_Level_Order_Traversal
Binary_Tree_Zigzag_Level_Order_Traversal
Candy
Candy
Change100Money
Change100Money
Climbing_Stairs
Climbing_Stairs
Clone_Graph
Clone_Graph
Combination_Sum
Combination_Sum
Combinations
Combinations
Construct_Binary_Tree_Preorder_Inorder
Construct_Binary_Tree_Preorder_Inorder
Construct_Binary_Tree_from_Inorder_and_Postorder_Traversal
Construct_Binary_Tree_from_Inorder_and_Postorder_Traversal
Container_With_Most_Water
Container_With_Most_Water
Convert_Sorted_Array_to_Binary_Search_Tree
Convert_Sorted_Array_to_Binary_Search_Tree
Convert_Sorted_List_to_Binary_Search_Tree
Convert_Sorted_List_to_Binary_Search_Tree
Copy_List_with_Random_Pointer
Copy_List_with_Random_Pointer
Count_and_Say
Count_and_Say
Decode_Ways
Decode_Ways
Divide_Two_Integers
Divide_Two_Integers
Edit_Distance
Edit_Distance
Excel_Sheet_Column_Number
Excel_Sheet_Column_Number
Excel_Sheet_Column_Title
Excel_Sheet_Column_Title
Factorial_Trailing_Zeroes
Factorial_Trailing_Zeroes
Find_Minimum_in_Rotated_Sorted_Array
Find_Minimum_in_Rotated_Sorted_Array
Find_Minimum_in_Rotated_Sorted_Array_II
Find_Minimum_in_Rotated_Sorted_Array_II
Find_Peak_Element
Find_Peak_Element
First_Missing_Positive
First_Missing_Positive
Flatten_Binary_Tree_to_Linked_List
Flatten_Binary_Tree_to_Linked_List
Gas_Station
Gas_Station
Generate_Parentheses
Generate_Parentheses
GrowTest
GrowTest
Implement_strStr
Implement_strStr
Insertion_Sort_List
Insertion_Sort_List
Integer_to_Roman
Integer_to_Roman
Interleaving_String
Interleaving_String
Intersection_of_Two_Linked_Lists
Intersection_of_Two_Linked_Lists
Jump_Game
Jump_Game
Jump_Game2
Jump_Game2
LRU_Cache
LRU_Cache
Largest_Rectangle_in_Histogram
Largest_Rectangle_in_Histogram
Length_of_Last_Word
Length_of_Last_Word
Linked_List_Cycle
Linked_List_Cycle
Linked_List_Cycle2
Linked_List_Cycle2
Longest_Common_Prefix
Longest_Common_Prefix
Longest_Consecutive_Sequence
Longest_Consecutive_Sequence
Longest_Palindromic_Substring
Longest_Palindromic_Substring
Longest_Substring_Without_Repeating_Characters
Longest_Substring_Without_Repeating_Characters
Longest_Valid_Parentheses
Longest_Valid_Parentheses
Majority_Element
Majority_Element
MaxHeap
MaxHeap
MaxLine_WithoutX
MaxLine_WithoutX
Maximal_Rectangle
Maximal_Rectangle
Maximum_Depth_of_Binary_Tree
Maximum_Depth_of_Binary_Tree
Maximum_Subarray
Maximum_Subarray
Merge_Sorted_Array
Merge_Sorted_Array
Merge_Two_Sorted_Lists
Merge_Two_Sorted_Lists
Merge_k_Sorted_Lists
Merge_k_Sorted_Lists
Minimum_Depth_of_Binary_Tree
Minimum_Depth_of_Binary_Tree
Minimum_Window_Substring
Minimum_Window_Substring
Palindrome_Number
Palindrome_Number
Palindrome_Partitioning
Palindrome_Partitioning
Pascal_Triangle
Pascal_Triangle
Path_Sum
Path_Sum
Path_Sum2
Path_Sum2
Permutation_Sequence
Permutation_Sequence
Permutations
Permutations
Permutations_II
Permutations_II
Plant_investment
Plant_investment
Plus_One
Plus_One
Populating_Next_Right_Pointers_in_Each_Node
Populating_Next_Right_Pointers_in_Each_Node
Populating_Next_Right_Pointers_in_Each_Node_II
Populating_Next_Right_Pointers_in_Each_Node_II
Quick_Sort
Quick_Sort
Recover_Binary_Search_Tree
Recover_Binary_Search_Tree
Remove_Duplicates_from_Sorted_Array
Remove_Duplicates_from_Sorted_Array
Remove_Duplicates_from_Sorted_Array_II
Remove_Duplicates_from_Sorted_Array_II
Remove_Duplicates_from_Sorted_List
Remove_Duplicates_from_Sorted_List
Remove_Duplicates_from_Sorted_List_II
Remove_Duplicates_from_Sorted_List_II
Remove_Nth_Node_From_End_of_List
Remove_Nth_Node_From_End_of_List
Reorder_List
Reorder_List
Restore_IP_Addresses
Restore_IP_Addresses
Reverse_Linked_List2
Reverse_Linked_List2
Reverse_Nodes_in_kGroup
Reverse_Nodes_in_kGroup
Roman_to_Integer
Roman_to_Integer
Rotate_Image
Rotate_Image
Rotate_List
Rotate_List
Search_Insert_Position
Search_Insert_Position
Search_a_2D_Matrix
Search_a_2D_Matrix
Search_for_a_Range
Search_for_a_Range
Search_in_Rotated_Sorted_Array
Search_in_Rotated_Sorted_Array
Set_Matrix_Zeroes
Set_Matrix_Zeroes
View all files
You can’t perform that action at this time.