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 }}
dec0deit
/
LeetCode-Solutions
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
22 Commits
22 Commits
.vscode
.vscode
(snap_sack_DP)coin_change.cpp
(snap_sack_DP)coin_change.cpp
102.binary-tree-level-order-traversal.c
102.binary-tree-level-order-traversal.c
102.binary-tree-level-order-traversal.cpp
102.binary-tree-level-order-traversal.cpp
103.binary-tree-zigzag-level-order-traversal.cpp
103.binary-tree-zigzag-level-order-traversal.cpp
104.maximum-depth-of-binary-tree.cpp
104.maximum-depth-of-binary-tree.cpp
105.construct-binary-tree-from-preorder-and-inorder-traversal.cpp
105.construct-binary-tree-from-preorder-and-inorder-traversal.cpp
106.construct-binary-tree-from-inorder-and-postorder-traversal.cpp
106.construct-binary-tree-from-inorder-and-postorder-traversal.cpp
107.binary-tree-level-order-traversal-ii.cpp
107.binary-tree-level-order-traversal-ii.cpp
108.convert-sorted-array-to-binary-search-tree.cpp
108.convert-sorted-array-to-binary-search-tree.cpp
109.convert-sorted-list-to-binary-search-tree.cpp
109.convert-sorted-list-to-binary-search-tree.cpp
110.balanced-binary-tree.cpp
110.balanced-binary-tree.cpp
111.minimum-depth-of-binary-tree.cpp
111.minimum-depth-of-binary-tree.cpp
112.path-sum.cpp
112.path-sum.cpp
1122.relative-sort-array.cpp
1122.relative-sort-array.cpp
113.path-sum-ii.cpp
113.path-sum-ii.cpp
114.flatten-binary-tree-to-linked-list.cpp
114.flatten-binary-tree-to-linked-list.cpp
116.populating-next-right-pointers-in-each-node.cpp
116.populating-next-right-pointers-in-each-node.cpp
118.pascals-triangle.cpp
118.pascals-triangle.cpp
119.pascals-triangle-ii.cpp
119.pascals-triangle-ii.cpp
120.triangle.cpp
120.triangle.cpp
121.best-time-to-buy-and-sell-stock.cpp
121.best-time-to-buy-and-sell-stock.cpp
122.best-time-to-buy-and-sell-stock-ii.cpp
122.best-time-to-buy-and-sell-stock-ii.cpp
124.binary-tree-maximum-path-sum.cpp
124.binary-tree-maximum-path-sum.cpp
125.valid-palindrome.cpp
125.valid-palindrome.cpp
126.word-ladder-ii.cpp
126.word-ladder-ii.cpp
127.word-ladder.cpp
127.word-ladder.cpp
129.sum-root-to-leaf-numbers.cpp
129.sum-root-to-leaf-numbers.cpp
130.surrounded-regions.cpp
130.surrounded-regions.cpp
134.gas-station.cpp
134.gas-station.cpp
135.candy.cpp
135.candy.cpp
136.single-number.cpp
136.single-number.cpp
137.single-number-ii.cpp
137.single-number-ii.cpp
138.copy-list-with-random-pointer.cpp
138.copy-list-with-random-pointer.cpp
139.word-break.cpp
139.word-break.cpp
141.linked-list-cycle.cpp
141.linked-list-cycle.cpp
142.linked-list-cycle-ii.cpp
142.linked-list-cycle-ii.cpp
143.reorder-list.cpp
143.reorder-list.cpp
144.binary-tree-preorder-traversal.cpp
144.binary-tree-preorder-traversal.cpp
145.binary-tree-postorder-traversal.cpp
145.binary-tree-postorder-traversal.cpp
146.lru-cache.cpp
146.lru-cache.cpp
147.insertion-sort-list.cpp
147.insertion-sort-list.cpp
148.sort-list.cpp
148.sort-list.cpp
149.max-points-on-a-line.cpp
149.max-points-on-a-line.cpp
150.evaluate-reverse-polish-notation.cpp
150.evaluate-reverse-polish-notation.cpp
153.find-minimum-in-rotated-sorted-array.cpp
153.find-minimum-in-rotated-sorted-array.cpp
154.find-minimum-in-rotated-sorted-array-ii.cpp
154.find-minimum-in-rotated-sorted-array-ii.cpp
155.min-stack.cpp
155.min-stack.cpp
162.find-peak-element.cpp
162.find-peak-element.cpp
166.fraction-to-recurring-decimal.cpp
166.fraction-to-recurring-decimal.cpp
168.excel-sheet-column-title.cpp
168.excel-sheet-column-title.cpp
2032.largest-odd-number-in-string.cpp
2032.largest-odd-number-in-string.cpp
207.course-schedule.cpp
207.course-schedule.cpp
228.summary-ranges.cpp
228.summary-ranges.cpp
332.reconstruct-itinerary.cpp
332.reconstruct-itinerary.cpp
354.russian-doll-envelopes.cpp
354.russian-doll-envelopes.cpp
385.mini-parser.cpp
385.mini-parser.cpp
392.is-subsequence.cpp
392.is-subsequence.cpp
413.arithmetic-slices.cpp
413.arithmetic-slices.cpp
617.merge-two-binary-trees.cpp
617.merge-two-binary-trees.cpp
620.not-boring-movies.cpp
620.not-boring-movies.cpp
627.swap-salary.cpp
627.swap-salary.cpp
67.add-binary.cpp
67.add-binary.cpp
77.combinations.cpp
77.combinations.cpp
82.remove-duplicates-from-sorted-list-ii.cpp
82.remove-duplicates-from-sorted-list-ii.cpp
847.shortest-path-visiting-all-nodes.cpp
847.shortest-path-visiting-all-nodes.cpp
89.gray-code.cpp
89.gray-code.cpp
Combination-Sum-ii.cpp
Combination-Sum-ii.cpp
Find the duplicate number.cpp
Find the duplicate number.cpp
Hamming dist.cpp
Hamming dist.cpp
Intersection of two linked llist.cpp
Intersection of two linked llist.cpp
Is_Subsequence.cpp
Is_Subsequence.cpp
LIS.cpp
LIS.cpp
Queue_Reconstruction_by_Height.cpp
Queue_Reconstruction_by_Height.cpp
Ransom _note.cpp
Ransom _note.cpp
Untitled-1.txt
Untitled-1.txt
coin_change_2.cpp
coin_change_2.cpp
good-leafs.cpp
good-leafs.cpp
kbit.cpp
kbit.cpp
largest_divisible_subset.cpp
largest_divisible_subset.cpp
majority element.cpp
majority element.cpp
reverse words in a string.cpp
reverse words in a string.cpp
sub-arr.cpp
sub-arr.cpp
temp.cpp
temp.cpp
temp.py
temp.py
test.cpp
test.cpp
test.exe
test.exe
two_city_scheduling.cpp
two_city_scheduling.cpp
ugly_no_2.cpp
ugly_no_2.cpp
validatebst.cpp
validatebst.cpp
View all files
About
No description, website, or topics provided.
Activity
Stars
1
star
Watchers
1
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.