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
Type
/
to 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 }}
DurveshKumarPal
/
Leetcode-Problems
Public
Notifications
You must be signed in to change notification settings
Fork
4
Star
2
Code
Issues
1
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
main
Branches
Tags
Go to file
Code
Open more actions menu
Folders and files
Name
Name
Last commit message
Last commit date
Latest commit
History
273 Commits
273 Commits
1-two-sum
1-two-sum
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
11-container-with-most-water
11-container-with-most-water
111-minimum-depth-of-binary-tree
111-minimum-depth-of-binary-tree
1146-greatest-common-divisor-of-strings
1146-greatest-common-divisor-of-strings
117-populating-next-right-pointers-in-each-node-ii
117-populating-next-right-pointers-in-each-node-ii
118-pascals-triangle
118-pascals-triangle
121-best-time-to-buy-and-sell-stock
121-best-time-to-buy-and-sell-stock
125-valid-palindrome
125-valid-palindrome
128-longest-consecutive-sequence
128-longest-consecutive-sequence
1351-count-negative-numbers-in-a-sorted-matrix
1351-count-negative-numbers-in-a-sorted-matrix
1448-maximum-69-number
1448-maximum-69-number
1491-average-salary-excluding-the-minimum-and-maximum-salary
1491-average-salary-excluding-the-minimum-and-maximum-salary
15-3sum
15-3sum
1523-count-odd-numbers-in-an-interval-range
1523-count-odd-numbers-in-an-interval-range
1538-maximum-points-you-can-obtain-from-cards
1538-maximum-points-you-can-obtain-from-cards
155-min-stack
155-min-stack
16. 3Sum Closest
16. 3Sum Closest
1641-count-sorted-vowel-strings
1641-count-sorted-vowel-strings
167-two-sum-ii-input-array-is-sorted
167-two-sum-ii-input-array-is-sorted
169-majority-element
169-majority-element
1894-merge-strings-alternately
1894-merge-strings-alternately
19-remove-nth-node-from-end-of-list
19-remove-nth-node-from-end-of-list
2-add-two-numbers
2-add-two-numbers
215-kth-largest-element-in-an-array
215-kth-largest-element-in-an-array
216-combination-sum-iii
216-combination-sum-iii
217-contains-duplicate
217-contains-duplicate
2229-maximum-fruits-harvested-after-at-most-k-steps
2229-maximum-fruits-harvested-after-at-most-k-steps
2233-maximum-product-after-k-increments
2233-maximum-product-after-k-increments
23-merge-k-sorted-lists
23-merge-k-sorted-lists
231-power-of-two
231-power-of-two
2346-largest-3-same-digit-number-in-string
2346-largest-3-same-digit-number-in-string
2351-first-letter-to-appear-twice
2351-first-letter-to-appear-twice
2360-longest-cycle-in-a-graph
2360-longest-cycle-in-a-graph
237-delete-node-in-a-linked-list
237-delete-node-in-a-linked-list
238-product-of-array-except-self
238-product-of-array-except-self
239-sliding-window-maximum
239-sliding-window-maximum
2404-most-frequent-even-element
2404-most-frequent-even-element
242-valid-anagram
242-valid-anagram
2481-strictly-palindromic-number
2481-strictly-palindromic-number
26-remove-duplicates-from-sorted-array
26-remove-duplicates-from-sorted-array
2689-rearranging-fruits
2689-rearranging-fruits
2802-find-the-punishment-number-of-an-integer
2802-find-the-punishment-number-of-an-integer
3-longest-substring-without-repeating-characters
3-longest-substring-without-repeating-characters
300-longest-increasing-subsequence
300-longest-increasing-subsequence
322-coin-change
322-coin-change
326-power-of-three
326-power-of-three
329-longest-increasing-path-in-a-matrix
329-longest-increasing-path-in-a-matrix
34-find-first-and-last-position-of-element-in-sorted-array
34-find-first-and-last-position-of-element-in-sorted-array
342-power-of-four
342-power-of-four
344-reverse-string
344-reverse-string
3790-fruits-into-baskets-ii
3790-fruits-into-baskets-ii
3791-fruits-into-baskets-iii
3791-fruits-into-baskets-iii
47-permutations-ii
47-permutations-ii
49-group-anagrams
49-group-anagrams
509-fibonacci-number
509-fibonacci-number
518-coin-change-ii
518-coin-change-ii
53-maximum-subarray
53-maximum-subarray
540-single-element-in-a-sorted-array
540-single-element-in-a-sorted-array
567-permutation-in-string
567-permutation-in-string
576-out-of-boundary-paths
576-out-of-boundary-paths
695-max-area-of-island
695-max-area-of-island
704-binary-search
704-binary-search
733-flood-fill
733-flood-fill
763-partition-labels
763-partition-labels
80-remove-duplicates-from-sorted-array-ii
80-remove-duplicates-from-sorted-array-ii
826-soup-servings
826-soup-servings
852-peak-index-in-a-mountain-array
852-peak-index-in-a-mountain-array
900-reordered-power-of-2
900-reordered-power-of-2
940-fruit-into-baskets
940-fruit-into-baskets
Armstrong Numbers - GFG
Armstrong Numbers - GFG
Check for subsequence - GFG
Check for subsequence - GFG
Check if array is sorted - GFG
Check if array is sorted - GFG
Container With Most Water
Container With Most Water
Count Digits - GFG
Count Digits - GFG
Count nodes of linked list - GFG
Count nodes of linked list - GFG
Cyclically rotate an array by one - GFG
Cyclically rotate an array by one - GFG
DFS of Graph - GFG
DFS of Graph - GFG
Detect cycle in an undirected graph - GFG
Detect cycle in an undirected graph - GFG
Immediate Smaller Element - GFG
Immediate Smaller Element - GFG
Implement two stacks in an array - GFG
Implement two stacks in an array - GFG
Merge K sorted linked lists - GFG
Merge K sorted linked lists - GFG
Merge two sorted linked lists - GFG
Merge two sorted linked lists - GFG
Min sum formed by digits - GFG
Min sum formed by digits - GFG
Missing number - GFG
Missing number - GFG
Palindrome String - GFG
Palindrome String - GFG
Parenthesis Checker - GFG
Parenthesis Checker - GFG
Queue Reversal - GFG
Queue Reversal - GFG
Remove duplicate elements from sorted Array - GFG
Remove duplicate elements from sorted Array - GFG
Reverse First K elements of Queue - GFG
Reverse First K elements of Queue - GFG
Reverse a Doubly Linked List - GFG
Reverse a Doubly Linked List - GFG
Search in Linked List - GFG
Search in Linked List - GFG
Searching an element in a sorted array - GFG
Searching an element in a sorted array - GFG
Sum of all divisors from 1 to n - GFG
Sum of all divisors from 1 to n - GFG
Union of Two Sorted Arrays - GFG
Union of Two Sorted Arrays - GFG
LCA_TREE.cpp
LCA_TREE.cpp
Lexiography.cpp
Lexiography.cpp
README.md
README.md
tree.cpp
tree.cpp
View all files
Repository files navigation
README
More
items
Leetcode-Problems
About
No description, website, or topics provided.
Resources
Readme
Activity
Stars
2
stars
Watchers
1
watching
Forks
4
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.