Skip to content
Navigation Menu
Toggle navigation
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Spark
Build and deploy intelligent apps
GitHub Models
Manage and compare prompts
MCP Registry
New
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
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 or jump to...
Search code, repositories, users, issues, pull requests...
Search syntax tips
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Sign in
Sign up
Appearance settings
Resetting focus
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 }}
coder2hacker
/
Explore-open-source
Public
Notifications
You must be signed in to change notification settings
Fork
357
Star
57
Code
Issues
0
Pull requests
0
Discussions
Actions
Projects
Wiki
Security
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Wiki
Security
Insights
Files
Expand file tree
main
Breadcrumbs
Explore-open-source
/
LeetCode
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
main
Breadcrumbs
Explore-open-source
/
LeetCode
/
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
102. Binary Tree Level Order Traversal
102. Binary Tree Level Order Traversal
103. Binary Tree Zigzag Level Order Traversal
103. Binary Tree Zigzag Level Order Traversal
104. Maximum Depth of Binary Tree
104. Maximum Depth of Binary Tree
105. Construct Binary Tree from Preorder and Inorder Traversal
105. Construct Binary Tree from Preorder and Inorder Traversal
106. Construct Binary Tree from Inorder and Postorder Traversal
106. Construct Binary Tree from Inorder and Postorder Traversal
107. Binary Tree Level Order Traversal II
107. Binary Tree Level Order Traversal II
108. Convert Sorted Array to Binary Search Tree
108. Convert Sorted Array to Binary Search Tree
109. Convert Sorted List to Binary Search Tree
109. Convert Sorted List to Binary Search Tree
110. Balanced Binary Tree
110. Balanced Binary Tree
111. Minimum Depth of Binary Tree
111. Minimum Depth of Binary Tree
112. Path Sum
112. Path Sum
113. Path Sum II
113. Path Sum II
114. Flatten Binary Tree to Linked List
114. Flatten Binary Tree to Linked List
115. Distinct Subsequences
115. Distinct Subsequences
116. Populating Next Right Pointers in Each Node
116. Populating Next Right Pointers in Each Node
117. Populating Next Right Pointers in Each Node II
117. Populating Next Right Pointers in Each Node II
118. Pascal's Triangle
118. Pascal's Triangle
119. Pascal's Triangle II
119. Pascal's Triangle II
120. Triangle
120. Triangle
121. Best Time to Buy and Sell Stock
121. Best Time to Buy and Sell Stock
122. Best Time to Buy and Sell Stock II
122. Best Time to Buy and Sell Stock II
123. Best Time to Buy and Sell Stock III
123. Best Time to Buy and Sell Stock III
124. Binary Tree Maximum Path Sum
124. Binary Tree Maximum Path Sum
125. Valid Palindrome
125. Valid Palindrome
126. Word Ladder II
126. Word Ladder II
127. Word Ladder
127. Word Ladder
128. Longest Consecutive Sequence
128. Longest Consecutive Sequence
129. Sum Root to Leaf Numbers
129. Sum Root to Leaf Numbers
130. Surrounded Regions
130. Surrounded Regions
131. Palindrome Partitioning
131. Palindrome Partitioning
132. Palindrome Partitioning II
132. Palindrome Partitioning II
133. Clone Graph
133. Clone Graph
134. Gas Station
134. Gas Station
135. Candy
135. Candy
136. Single Number
136. Single Number
137. Single Number II
137. Single Number II
138. Copy List with Random Pointer
138. Copy List with Random Pointer
139. Word Break
139. Word Break
140. Word Break II
140. Word Break II
141. Linked List Cycle
141. Linked List Cycle
142. Linked List Cycle II
142. Linked List Cycle II
143. Reorder List
143. Reorder List
144. Binary Tree Preorder Traversal
144. Binary Tree Preorder Traversal
145. Binary Tree Postorder Traversal
145. Binary Tree Postorder Traversal
146. LRU Cache
146. LRU Cache
147. Insertion Sort List
147. Insertion Sort List
148. Sort List
148. Sort List
149. Max Points on a Line
149. Max Points on a Line
150. Evaluate Reverse Polish Notation
150. Evaluate Reverse Polish Notation
154. Find Minimum in Rotated Sorted Array II
154. Find Minimum in Rotated Sorted Array II
155. Min Stack
155. Min Stack
160. Intersection of Two Linked Lists
160. Intersection of Two Linked Lists
162. Find Peak Element
162. Find Peak Element
164. Maximum Gap
164. Maximum Gap
165. Compare Version Numbers
165. Compare Version Numbers
37. Sudoku Sover
37. Sudoku Sover
51. N Queens
51. N Queens
79. Word Search
79. Word Search
80. Remove Duplicates from Sorted Array II
80. Remove Duplicates from Sorted Array II
81. Search in Rotated Sorted Array II
81. Search in Rotated Sorted Array II
82. Remove Duplicates from Sorted List II
82. Remove Duplicates from Sorted List II
83. Remove Duplicates from Sorted List
83. Remove Duplicates from Sorted List
84. Largest Rectangle in Histogram
84. Largest Rectangle in Histogram
85. Maximal Rectangle
85. Maximal Rectangle
86. Partition List
86. Partition List
87. Scramble String
87. Scramble String
88. Merge Sorted Array
88. Merge Sorted Array
89. Gray Code
89. Gray Code
90. Subsets II
90. Subsets II
91. Decode Ways
91. Decode Ways
93. Restore IP Addresses
93. Restore IP Addresses
94. Binary Tree Inorder Traversal
94. Binary Tree Inorder Traversal
95. Unique Binary Search Trees II
95. Unique Binary Search Trees II
96. Unique Binary Search Trees
96. Unique Binary Search Trees
97. Interleaving String
97. Interleaving String
98. Validate Binary Search Tree
98. Validate Binary Search Tree
99. Recover Binary Search Tree
99. Recover Binary Search Tree
Largest subarray with 0 sum
Largest subarray with 0 sum
1_Two_Sum.cpp
1_Two_Sum.cpp
2_Remove_Duplicates_from_Sorted_Array.cpp
2_Remove_Duplicates_from_Sorted_Array.cpp
3_Remove_Element.cpp
3_Remove_Element.cpp
4_Search_Insert_Position.cpp
4_Search_Insert_Position.cpp
5_Plus_One.cpp
5_Plus_One.cpp
6_Container_With_Most_Water.cpp
6_Container_With_Most_Water.cpp
7_3Sum.cpp
7_3Sum.cpp
Insertion_Sort_List.cpp
Insertion_Sort_List.cpp
View all files
You can’t perform that action at this time.