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 }}
pradhan1234
/
leetcode
Public
Notifications
You must be signed in to change notification settings
Fork
3
Star
4
Code
Issues
1
Pull requests
2
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
200 Commits
200 Commits
Folders and files
Name
Name
Last commit message
Last commit date
0001. Two Sum
0001. Two Sum
0004. Median of Two Sorted Arrays
0004. Median of Two Sorted Arrays
0005. Longest Palindromic Substring
0005. Longest Palindromic Substring
0013. Roman to Integer
0013. Roman to Integer
0015. 3Sum
0015. 3Sum
0017. Letter Combinations of a Phone Number
0017. Letter Combinations of a Phone Number
0026. Remove Duplicates from Sorted Array
0026. Remove Duplicates from Sorted Array
0028. Implement strStr()
0028. Implement strStr()
0033. Search in Rotated Sorted Array
0033. Search in Rotated Sorted Array
0035. Search Insert Position
0035. Search Insert Position
0043. Multiply String
0043. Multiply String
0050. Pow(x, n)
0050. Pow(x, n)
0053. Maximum Subarray
0053. Maximum Subarray
0054. Spiral Matrix
0054. Spiral Matrix
0055. Jump Game
0055. Jump Game
0056. Merge Intervals
0056. Merge Intervals
0058. Length of Last Word
0058. Length of Last Word
0059. Spiral Matrix II
0059. Spiral Matrix II
0061. Rotate List
0061. Rotate List
0062. Unique Paths
0062. Unique Paths
0063. Unique Paths II
0063. Unique Paths II
0069. Sqrt(x)
0069. Sqrt(x)
0070. Climbing Stairs
0070. Climbing Stairs
0072. Edit Distance
0072. Edit Distance
0080. Remove Duplicates from Sorted Array II
0080. Remove Duplicates from Sorted Array II
0087. Scramble String
0087. Scramble String
0088. Merge Sorted Array
0088. Merge Sorted Array
0098. Validate Binary Search Tree
0098. Validate Binary Search Tree
0101. Symmetric Tree
0101. Symmetric Tree
0102. Binary Tree Level Order Traversal
0102. Binary Tree Level Order Traversal
0112. Path Sum
0112. Path Sum
0124. Binary Tree Maximum Path Sum
0124. Binary Tree Maximum Path Sum
0128. Longest Consecutive Sequence
0128. Longest Consecutive Sequence
0130. Surrounded Regions
0130. Surrounded Regions
0138. Copy List with Random Pointer
0138. Copy List with Random Pointer
0139. Word Break
0139. Word Break
0140. Word Break II
0140. Word Break II
0141. Linked List Cycle
0141. Linked List Cycle
0146. LRU Cache
0146. LRU Cache
0198. House Robber
0198. House Robber
0199. Binary Tree Right Side View
0199. Binary Tree Right Side View
0200. Number of Islands
0200. Number of Islands
0206. Reverse Linked List
0206. Reverse Linked List
0207. Course Schedule
0207. Course Schedule
0208. Implement Trie (Prefix Tree)
0208. Implement Trie (Prefix Tree)
0214. Shortest Palindrome
0214. Shortest Palindrome
0215. Kth Largest Element in an Array
0215. Kth Largest Element in an Array
0225. Implement Stack using Queues
0225. Implement Stack using Queues
0232. Implementing Queue using Stack
0232. Implementing Queue using Stack
0234. Palindrome Linked List
0234. Palindrome Linked List
0237. Delete Node in a Linked List
0237. Delete Node in a Linked List
0239. Sliding Window Maximum
0239. Sliding Window Maximum
0252. Meeting Rooms
0252. Meeting Rooms
0256. Paint House
0256. Paint House
0276. Paint Fence
0276. Paint Fence
0278. First Bad Version
0278. First Bad Version
0295. Find Median from Data Stream
0295. Find Median from Data Stream
0307. Range Sum Query - Mutable
0307. Range Sum Query - Mutable
0322. Coin Change
0322. Coin Change
0323. Number of Connected Components in an Undirected Graph
0323. Number of Connected Components in an Undirected Graph
0380. Insert Delete GetRandom O(1)
0380. Insert Delete GetRandom O(1)
0381. Insert Delete GetRandom O(1) - Duplicates Allowed
0381. Insert Delete GetRandom O(1) - Duplicates Allowed
0394. Decode String
0394. Decode String
0409. Longest Palindrome
0409. Longest Palindrome
0498. Diagonal Traverse
0498. Diagonal Traverse
0516. Longest Palindromic Subsequence
0516. Longest Palindromic Subsequence
0518. Coin Change 2
0518. Coin Change 2
0684. Redundant Connection
0684. Redundant Connection
0685. Redundant Connection II
0685. Redundant Connection II
0704. Binary Search
0704. Binary Search
0743. Network Delay Time
0743. Network Delay Time
0787. Cheapest Flights Within K Stops
0787. Cheapest Flights Within K Stops
0859. Buddy String
0859. Buddy String
0863. All Nodes Distance K in Binary Tree
0863. All Nodes Distance K in Binary Tree
0917. Reverse Only Letters
0917. Reverse Only Letters
0938. Range Sum of BST
0938. Range Sum of BST
0977. Squares of a Sorted Array
0977. Squares of a Sorted Array
0997. Find the Town Judge
0997. Find the Town Judge
1003. Check If Word Is Valid After Substitutions
1003. Check If Word Is Valid After Substitutions
1013. Partition Array Into Three Parts With Equal Sum
1013. Partition Array Into Three Parts With Equal Sum
1014. Best Sightseeing Pair
1014. Best Sightseeing Pair
1015. Smallest Integer Divisible by K
1015. Smallest Integer Divisible by K
1016. Binary String With Substrings Representing 1 To N
1016. Binary String With Substrings Representing 1 To N
1046. Last Stone Weight
1046. Last Stone Weight
resources
resources
View all files
About
Solutions to Leetcode problems
Topics
interview-practice
leetcode
leetcode-java
leetcode-solutions
Activity
Stars
4
stars
Watchers
7
watching
Forks
3
forks
Report repository
Releases
Packages
Used by
Contributors
Languages
You can’t perform that action at this time.