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 }}
malikdotexe
/
LC-Questions
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Issues
0
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
653 Commits
653 Commits
.github/
workflows
.github/
workflows
1-two-sum
1-two-sum
100-same-tree
100-same-tree
1013-fibonacci-number
1013-fibonacci-number
1014-k-closest-points-to-origin
1014-k-closest-points-to-origin
102-binary-tree-level-order-traversal
102-binary-tree-level-order-traversal
1023-time-based-key-value-store
1023-time-based-key-value-store
104-maximum-depth-of-binary-tree
104-maximum-depth-of-binary-tree
1071-binary-prefix-divisible-by-5
1071-binary-prefix-divisible-by-5
11-container-with-most-water
11-container-with-most-water
1127-last-stone-weight
1127-last-stone-weight
118-pascals-triangle
118-pascals-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
131-palindrome-partitioning
131-palindrome-partitioning
133-clone-graph
133-clone-graph
1353-find-resultant-array-after-removing-anagrams
1353-find-resultant-array-after-removing-anagrams
138-copy-list-with-random-pointer
138-copy-list-with-random-pointer
141-linked-list-cycle
141-linked-list-cycle
1426-find-n-unique-integers-sum-up-to-zero
1426-find-n-unique-integers-sum-up-to-zero
143-reorder-list
143-reorder-list
145-binary-tree-postorder-traversal
145-binary-tree-postorder-traversal
15-3sum
15-3sum
150-evaluate-reverse-polish-notation
150-evaluate-reverse-polish-notation
153-find-minimum-in-rotated-sorted-array
153-find-minimum-in-rotated-sorted-array
1548-check-if-all-1s-are-at-least-length-k-places-away
1548-check-if-all-1s-are-at-least-length-k-places-away
155-min-stack
155-min-stack
16-3sum-closest
16-3sum-closest
1630-count-odd-numbers-in-an-interval-range
1630-count-odd-numbers-in-an-interval-range
1633-minimum-number-of-increments-on-subarrays-to-form-a-target-array
1633-minimum-number-of-increments-on-subarrays-to-form-a-target-array
169-majority-element
169-majority-element
17-letter-combinations-of-a-phone-number
17-letter-combinations-of-a-phone-number
1700-minimum-time-to-make-rope-colorful
1700-minimum-time-to-make-rope-colorful
18-4sum
18-4sum
1817-calculate-money-in-leetcode-bank
1817-calculate-money-in-leetcode-bank
189-rotate-array
189-rotate-array
1894-merge-strings-alternately
1894-merge-strings-alternately
19-remove-nth-node-from-end-of-list
19-remove-nth-node-from-end-of-list
190-reverse-bits
190-reverse-bits
191-number-of-1-bits
191-number-of-1-bits
2-add-two-numbers
2-add-two-numbers
20-valid-parentheses
20-valid-parentheses
200-number-of-islands
200-number-of-islands
2037-count-square-sum-triples
2037-count-square-sum-triples
2059-unique-length-3-palindromic-subsequences
2059-unique-length-3-palindromic-subsequences
206-reverse-linked-list
206-reverse-linked-list
208-implement-trie-prefix-tree
208-implement-trie-prefix-tree
21-merge-two-sorted-lists
21-merge-two-sorted-lists
211-design-add-and-search-words-data-structure
211-design-add-and-search-words-data-structure
2137-final-value-of-variable-after-performing-operations
2137-final-value-of-variable-after-performing-operations
2169-simple-bank-system
2169-simple-bank-system
2174-next-greater-numerically-balanced-number
2174-next-greater-numerically-balanced-number
22-generate-parentheses
22-generate-parentheses
2244-number-of-laser-beams-in-a-bank
2244-number-of-laser-beams-in-a-bank
226-invert-binary-tree
226-invert-binary-tree
2288-count-operations-to-obtain-zero
2288-count-operations-to-obtain-zero
23-merge-k-sorted-lists
23-merge-k-sorted-lists
231-power-of-two
231-power-of-two
2317-count-collisions-on-a-road
2317-count-collisions-on-a-road
2324-find-triangular-sum-of-an-array
2324-find-triangular-sum-of-an-array
234-palindrome-linked-list
234-palindrome-linked-list
2343-count-unguarded-cells-in-the-grid
2343-count-unguarded-cells-in-the-grid
235-lowest-common-ancestor-of-a-binary-search-tree
235-lowest-common-ancestor-of-a-binary-search-tree
238-product-of-array-except-self
238-product-of-array-except-self
24-swap-nodes-in-pairs
24-swap-nodes-in-pairs
240-search-a-2d-matrix-ii
240-search-a-2d-matrix-ii
242-valid-anagram
242-valid-anagram
2603-reward-top-k-students
2603-reward-top-k-students
2661-smallest-missing-non-negative-integer-after-operations
2661-smallest-missing-non-negative-integer-after-operations
2887-sort-vowels-in-a-string
2887-sort-vowels-in-a-string
3-longest-substring-without-repeating-characters
3-longest-substring-without-repeating-characters
31-next-permutation
31-next-permutation
3194-find-words-containing-character
3194-find-words-containing-character
3242-count-elements-with-maximum-frequency
3242-count-elements-with-maximum-frequency
33-search-in-rotated-sorted-array
33-search-in-rotated-sorted-array
3321-type-of-triangle
3321-type-of-triangle
3334-apple-redistribution-into-boxes
3334-apple-redistribution-into-boxes
3351-maximize-happiness-of-selected-children
3351-maximize-happiness-of-selected-children
338-counting-bits
338-counting-bits
3383-taking-maximum-energy-from-the-mystic-dungeon
3383-taking-maximum-energy-from-the-mystic-dungeon
347-top-k-frequent-elements
347-top-k-frequent-elements
3493-maximum-number-of-operations-to-move-ones-to-the-end
3493-maximum-number-of-operations-to-move-ones-to-the-end
35-search-insert-position
35-search-insert-position
3501-delete-nodes-from-linked-list-present-in-array
3501-delete-nodes-from-linked-list-present-in-array
3581-the-two-sneaky-numbers-of-digitville
3581-the-two-sneaky-numbers-of-digitville
3592-find-x-sum-of-all-k-long-subarrays-ii
3592-find-x-sum-of-all-k-long-subarrays-ii
36-valid-sudoku
36-valid-sudoku
3610-find-x-sum-of-all-k-long-subarrays-i
3610-find-x-sum-of-all-k-long-subarrays-i
3612-adjacent-increasing-subarrays-detection-i
3612-adjacent-increasing-subarrays-detection-i
3616-make-array-elements-equal-to-zero
3616-make-array-elements-equal-to-zero
3619-adjacent-increasing-subarrays-detection-ii
3619-adjacent-increasing-subarrays-detection-ii
3620-maximum-number-of-distinct-elements-after-operations
3620-maximum-number-of-distinct-elements-after-operations
3676-smallest-number-with-all-set-bits
3676-smallest-number-with-all-set-bits
3704-count-partitions-with-even-sum-difference
3704-count-partitions-with-even-sum-difference
3768-check-if-digits-are-equal-in-string-after-operations-i
3768-check-if-digits-are-equal-in-string-after-operations-i
3819-count-covered-buildings
3819-count-covered-buildings
3846-minimum-operations-to-make-array-sum-divisible-by-k
3846-minimum-operations-to-make-array-sum-divisible-by-k
39-combination-sum
39-combination-sum
3934-coupon-code-validator
3934-coupon-code-validator
40-combination-sum-ii
40-combination-sum-ii
View all files
About
Solutions to leetcode problems in python by me
x.com/piyushmalik34
Topics
algorithms
datastructures
leetcode
leetcode-python
Activity
Stars
1
star
Watchers
0
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.