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
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 }}
dakshit-ranpariya
Leetcode
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Leetcode
Public
Notifications
You must be signed in to change notification settings
Fork
0
(
0
)
Star
0
(
0
)
You must be signed in to star a repository
About
Leetcode Questions' Solutions in Java
Topics
algorithms
data-structures
java
leetcode-java
leetcode-solutions
problem-solving
Resources
Readme
Activity
Stars
0
stars
Watchers
1
watching
Forks
0
forks
Report repository
main
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
61 Commits
61 Commits
Folders and files
Name
Name
Last commit message
Last commit date
1. Two Sum.java
1. Two Sum.java
100. Same Tree.java
100. Same Tree.java
104. Maximum Depth of Binary Tree.java
104. Maximum Depth of Binary Tree.java
125. Valid Palindrome.java
125. Valid Palindrome.java
1290. Convert Binary Number in a Linked List to Integer.java
1290. Convert Binary Number in a Linked List to Integer.java
136. Single Number.java
136. Single Number.java
1365. How Many Numbers Are Smaller Than the Current Number.java
1365. How Many Numbers Are Smaller Than the Current Number.java
137. Single Number II.java
137. Single Number II.java
138. Copy List with Random Pointer.java
138. Copy List with Random Pointer.java
141. Linked List Cycle.java
141. Linked List Cycle.java
142. Linked List Cycle II.java
142. Linked List Cycle II.java
143. Reorder List.java
143. Reorder List.java
144. Binary Tree Preorder Traversal.java
144. Binary Tree Preorder Traversal.java
145. Binary Tree Postorder Traversal.java
145. Binary Tree Postorder Traversal.java
146. LRU Cache.java
146. LRU Cache.java
1472. Design Browser History.java
1472. Design Browser History.java
160. Intersection of Two Linked Lists.java
160. Intersection of Two Linked Lists.java
1684. Count the Number of Consistent Strings.java
1684. Count the Number of Consistent Strings.java
1721. Swapping Nodes in a Linked List.java
1721. Swapping Nodes in a Linked List.java
1832. Check if the Sentence Is Pangram.java
1832. Check if the Sentence Is Pangram.java
19. Remove Nth Node From End of List.java
19. Remove Nth Node From End of List.java
2. Add Two Numbers.java
2. Add Two Numbers.java
20-Valid Parentheses.java
20-Valid Parentheses.java
2006. Count Number of Pairs With Absolute Difference K.java
2006. Count Number of Pairs With Absolute Difference K.java
203. Remove Linked List Elements.java
203. Remove Linked List Elements.java
205. Isomorphic Strings.java
205. Isomorphic Strings.java
206_Reverse Linked List.java
206_Reverse Linked List.java
2095. Delete the Middle Node of a Linked List.java
2095. Delete the Middle Node of a Linked List.java
21. Merge Two Sorted Lists.java
21. Merge Two Sorted Lists.java
2130. Maximum Twin Sum of a Linked List.java
2130. Maximum Twin Sum of a Linked List.java
2149. Rearrange Array Elements by Sign.java
2149. Rearrange Array Elements by Sign.java
226. Invert Binary Tree.java
226. Invert Binary Tree.java
234.Palindrome Linked List.java
234.Palindrome Linked List.java
2367. Number of Arithmetic Triplets.java
2367. Number of Arithmetic Triplets.java
24. Swap Nodes in Pairs.java
24. Swap Nodes in Pairs.java
2404. Most Frequent Even Element.java
2404. Most Frequent Even Element.java
25. Reverse Nodes in k-Group.java
25. Reverse Nodes in k-Group.java
2824. Count Pairs Whose Sum is Less than Target.java
2824. Count Pairs Whose Sum is Less than Target.java
338. Counting Bits.java
338. Counting Bits.java
383. Ransom Note.java
383. Ransom Note.java
405. Convert a Number to Hexadecimal.java
405. Convert a Number to Hexadecimal.java
445. Add Two Numbers II.java
445. Add Two Numbers II.java
459. Repeated Substring Pattern.java
459. Repeated Substring Pattern.java
50. Pow(x, n).java
50. Pow(x, n).java
504. Base 7.java
504. Base 7.java
509. Fibonacci Number.java
509. Fibonacci Number.java
61. Rotate List.java
61. Rotate List.java
682-Baseball Game.java
682-Baseball Game.java
707. Design Linked List.java
707. Design Linked List.java
746. Min Cost Climbing Stairs.java
746. Min Cost Climbing Stairs.java
771. Jewels and Stones.java
771. Jewels and Stones.java
804. Unique Morse Code Words.java
804. Unique Morse Code Words.java
83. Remove Duplicates from Sorted List.java
83. Remove Duplicates from Sorted List.java
86. Partition List.java
86. Partition List.java
876. Middle of the Linked List.java
876. Middle of the Linked List.java
905. Sort Array By Parity.java
905. Sort Array By Parity.java
922. Sort Array By Parity II.java
922. Sort Array By Parity II.java
94. Binary Tree Inorder Traversal.java
94. Binary Tree Inorder Traversal.java
README.md
README.md
View all files
Repository files navigation
README
More
items
Leetcode's DSA Questions Solution
About
Leetcode Questions' Solutions in Java
Topics
algorithms
data-structures
java
leetcode-java
leetcode-solutions
problem-solving
Resources
Readme
Activity
Stars
0
stars
Watchers
1
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.