Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Events
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
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 }}
Teghpreet3001
leetcode-150
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
leetcode-150
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
definitely more than 150 problems
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
401 Commits
401 Commits
Folders and files
Name
Name
Last commit message
Last commit date
1-two-sum
1-two-sum
100-same-tree
100-same-tree
101-symmetric-tree
101-symmetric-tree
1016-subarray-sums-divisible-by-k
1016-subarray-sums-divisible-by-k
1019-squares-of-a-sorted-array
1019-squares-of-a-sorted-array
1023-time-based-key-value-store
1023-time-based-key-value-store
1033-broken-calculator
1033-broken-calculator
1036-rotting-oranges
1036-rotting-oranges
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
1055-pairs-of-songs-with-total-durations-divisible-by-60
1055-pairs-of-songs-with-total-durations-divisible-by-60
11-container-with-most-water
11-container-with-most-water
1129-longest-string-chain
1129-longest-string-chain
12-integer-to-roman
12-integer-to-roman
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
1250-longest-common-subsequence
1250-longest-common-subsequence
128-longest-consecutive-sequence
128-longest-consecutive-sequence
13-roman-to-integer
13-roman-to-integer
131-palindrome-partitioning
131-palindrome-partitioning
133-clone-graph
133-clone-graph
136-single-number
136-single-number
139-word-break
139-word-break
1408-find-the-smallest-divisor-given-a-threshold
1408-find-the-smallest-divisor-given-a-threshold
141-linked-list-cycle
141-linked-list-cycle
146-lru-cache
146-lru-cache
15-3sum
15-3sum
150-evaluate-reverse-polish-notation
150-evaluate-reverse-polish-notation
152-maximum-product-subarray
152-maximum-product-subarray
153-find-minimum-in-rotated-sorted-array
153-find-minimum-in-rotated-sorted-array
1549-longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit
1549-longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit
1638-best-position-for-a-service-centre
1638-best-position-for-a-service-centre
167-two-sum-ii-input-array-is-sorted
167-two-sum-ii-input-array-is-sorted
188-best-time-to-buy-and-sell-stock-iv
188-best-time-to-buy-and-sell-stock-iv
190-reverse-bits
190-reverse-bits
191-number-of-1-bits
191-number-of-1-bits
1977-minimum-interval-to-include-each-query
1977-minimum-interval-to-include-each-query
198-house-robber
198-house-robber
2-add-two-numbers
2-add-two-numbers
20-valid-parentheses
20-valid-parentheses
200-number-of-islands
200-number-of-islands
202-happy-number
202-happy-number
206-reverse-linked-list
206-reverse-linked-list
207-course-schedule
207-course-schedule
208-implement-trie-prefix-tree
208-implement-trie-prefix-tree
21-merge-two-sorted-lists
21-merge-two-sorted-lists
210-course-schedule-ii
210-course-schedule-ii
212-word-search-ii
212-word-search-ii
213-house-robber-ii
213-house-robber-ii
217-contains-duplicate
217-contains-duplicate
221-maximal-square
221-maximal-square
2283-sort-even-and-odd-indices-independently
2283-sort-even-and-odd-indices-independently
23-merge-k-sorted-lists
23-merge-k-sorted-lists
230-kth-smallest-element-in-a-bst
230-kth-smallest-element-in-a-bst
232-implement-queue-using-stacks
232-implement-queue-using-stacks
241-different-ways-to-add-parentheses
241-different-ways-to-add-parentheses
242-valid-anagram
242-valid-anagram
2563-split-message-based-on-limit
2563-split-message-based-on-limit
268-missing-number
268-missing-number
2685-first-completely-painted-row-or-column
2685-first-completely-painted-row-or-column
295-find-median-from-data-stream
295-find-median-from-data-stream
3-longest-substring-without-repeating-characters
3-longest-substring-without-repeating-characters
300-longest-increasing-subsequence
300-longest-increasing-subsequence
3171-minimum-equal-sum-of-two-arrays-after-replacing-zeros
3171-minimum-equal-sum-of-two-arrays-after-replacing-zeros
3225-length-of-longest-subarray-with-at-most-k-frequency
3225-length-of-longest-subarray-with-at-most-k-frequency
3277-find-the-number-of-ways-to-place-people-ii
3277-find-the-number-of-ways-to-place-people-ii
33-search-in-rotated-sorted-array
33-search-in-rotated-sorted-array
338-counting-bits
338-counting-bits
3435-block-placement-queries
3435-block-placement-queries
347-top-k-frequent-elements
347-top-k-frequent-elements
36-valid-sudoku
36-valid-sudoku
367-valid-perfect-square
367-valid-perfect-square
37-sudoku-solver
37-sudoku-solver
371-sum-of-two-integers
371-sum-of-two-integers
380-insert-delete-getrandom-o1
380-insert-delete-getrandom-o1
39-combination-sum
39-combination-sum
399-evaluate-division
399-evaluate-division
4-median-of-two-sorted-arrays
4-median-of-two-sorted-arrays
40-combination-sum-ii
40-combination-sum-ii
416-partition-equal-subset-sum
416-partition-equal-subset-sum
42-trapping-rain-water
42-trapping-rain-water
424-longest-repeating-character-replacement
424-longest-repeating-character-replacement
432-all-oone-data-structure
432-all-oone-data-structure
435-non-overlapping-intervals
435-non-overlapping-intervals
46-permutations
46-permutations
460-lfu-cache
460-lfu-cache
47-permutations-ii
47-permutations-ii
48-rotate-image
48-rotate-image
49-group-anagrams
49-group-anagrams
5-longest-palindromic-substring
5-longest-palindromic-substring
50-powx-n
50-powx-n
516-longest-palindromic-subsequence
516-longest-palindromic-subsequence
53-maximum-subarray
53-maximum-subarray
54-spiral-matrix
54-spiral-matrix
55-jump-game
55-jump-game
56-merge-intervals
56-merge-intervals
564-find-the-closest-palindrome
564-find-the-closest-palindrome
View all files
Repository files navigation
README
More
items
leetcode-150
started out with 150, but definitely more than that
About
definitely more than 150 problems
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.