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 }}
JayakrishnaThota
/
LC
Public
Notifications
You must be signed in to change notification settings
Fork
4
Star
5
Code
Issues
0
Pull requests
1
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
master
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
1,996 Commits
1,996 Commits
Folders and files
Name
Name
Last commit message
Last commit date
1000+
1000+
extras
extras
1. Two Sum
1. Two Sum
10. Regular Expression Matching
10. Regular Expression Matching
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
11. Container With Most Water
11. Container With Most Water
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
12. Integer to Roman
12. Integer to Roman
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
13. Roman to Integer
13. Roman to Integer
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
14. Longest Common Prefix
14. Longest Common Prefix
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
1460. Make Two Arrays Equal by Reversing Sub-arrays
1460. Make Two Arrays Equal by Reversing Sub-arrays
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
15. 3Sum
15. 3Sum
150. Evaluate Reverse Polish Notation
150. Evaluate Reverse Polish Notation
151. Reverse Words in a String
151. Reverse Words in a String
152. Maximum Product Subarray
152. Maximum Product Subarray
153. Find Minimum in Rotated Sorted Array
153. Find Minimum in Rotated Sorted Array
154. Find Minimum in Rotated Sorted Array II
154. Find Minimum in Rotated Sorted Array II
1541. Minimum Insertions to Balance a Parentheses String
1541. Minimum Insertions to Balance a Parentheses String
155. Min Stack
155. Min Stack
156. Binary Tree Upside Down
156. Binary Tree Upside Down
157. Read N Characters Given Read4
157. Read N Characters Given Read4
158. Read N Characters Given Read4 II - Call multiple times
158. Read N Characters Given Read4 II - Call multiple times
159. Longest Substring with At Most Two Distinct Characters
159. Longest Substring with At Most Two Distinct Characters
16. 3Sum Closest
16. 3Sum Closest
160. Intersection of Two Linked Lists
160. Intersection of Two Linked Lists
161. One Edit Distance
161. One Edit Distance
162. Find Peak Element
162. Find Peak Element
163. Missing Ranges
163. Missing Ranges
164. Maximum Gap
164. Maximum Gap
1641. Count Sorted Vowel Strings
1641. Count Sorted Vowel Strings
165. Compare Version Numbers
165. Compare Version Numbers
166. Fraction to Recurring Decimal
166. Fraction to Recurring Decimal
167. Two Sum II - Input array is sorted
167. Two Sum II - Input array is sorted
168. Excel Sheet Column Title
168. Excel Sheet Column Title
169. Majority Element
169. Majority Element
1691. Maximum Height by Stacking Cuboids
1691. Maximum Height by Stacking Cuboids
17. Letter Combinations of a Phone Number
17. Letter Combinations of a Phone Number
170. Two Sum III - Data structure design
170. Two Sum III - Data structure design
171. Excel Sheet Column Number
171. Excel Sheet Column Number
172. Factorial Trailing Zeroes
172. Factorial Trailing Zeroes
173. Binary Search Tree Iterator
173. Binary Search Tree Iterator
174. Dungeon Game
174. Dungeon Game
1776. Car Fleet II
1776. Car Fleet II
179. Largest Number
179. Largest Number
18. 4Sum
18. 4Sum
186. Reverse Words in a String II
186. Reverse Words in a String II
1866. Number of Ways to Rearrange Sticks With K Sticks Visible
1866. Number of Ways to Rearrange Sticks With K Sticks Visible
187. Repeated DNA Sequences
187. Repeated DNA Sequences
188. Best Time to Buy and Sell Stock IV
188. Best Time to Buy and Sell Stock IV
189. Rotate Array
189. Rotate Array
19. Remove Nth Node From End of List
19. Remove Nth Node From End of List
190. Reverse Bits
190. Reverse Bits
View all files
Repository files navigation
README
More
items
LC
My solutions to LeetCode questions in Java
About
My solutions to LeetCode questions in Java
Topics
leetcode-solutions
Resources
Readme
Activity
Stars
5
stars
Watchers
3
watching
Forks
4
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.