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
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 }}
satyajeetkrjha
LeetCode-Solutions
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
LeetCode-Solutions
Public
Notifications
You must be signed in to change notification settings
Fork
0
(
0
)
Star
1
(
1
)
You must be signed in to star a repository
About
Solutions to all Leetcode puzzles i have solved till now in C++
Activity
Stars
1
star
Watchers
1
watching
Forks
0
forks
Report repository
master
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
1 Commit
1 Commit
Folders and files
Name
Name
Last commit message
Last commit date
01-matrix
01-matrix
3sum-closest
3sum-closest
3sum-smaller/
Accepted
3sum-smaller/
Accepted
3sum
3sum
4sum-ii/
Accepted/
8-22-2021, 11:13:42 PM
4sum-ii/
Accepted/
8-22-2021, 11:13:42 PM
accounts-merge/
Accepted/
6-30-2021, 11:51:39 PM
accounts-merge/
Accepted/
6-30-2021, 11:51:39 PM
add-binary/
Accepted/
9-15-2021, 2:19:11 PM
add-binary/
Accepted/
9-15-2021, 2:19:11 PM
add-strings
add-strings
add-two-numbers-ii/
Accepted/
8-28-2021, 1:18:38 PM
add-two-numbers-ii/
Accepted/
8-28-2021, 1:18:38 PM
add-two-numbers/
Accepted
add-two-numbers/
Accepted
alien-dictionary
alien-dictionary
all-elements-in-two-binary-search-trees/
Accepted/
6-22-2021, 11:14:37 PM
all-elements-in-two-binary-search-trees/
Accepted/
6-22-2021, 11:14:37 PM
all-nodes-distance-k-in-binary-tree/
Accepted
all-nodes-distance-k-in-binary-tree/
Accepted
all-paths-from-source-to-target
all-paths-from-source-to-target
angle-between-hands-of-a-clock/
Accepted/
6-27-2021, 5:19:57 PM
angle-between-hands-of-a-clock/
Accepted/
6-27-2021, 5:19:57 PM
arranging-coins
arranging-coins
as-far-from-land-as-possible
as-far-from-land-as-possible
asteroid-collision/
Accepted/
6-6-2021, 9:51:01 AM
asteroid-collision/
Accepted/
6-6-2021, 9:51:01 AM
average-of-levels-in-binary-tree
average-of-levels-in-binary-tree
balance-a-binary-search-tree/
Accepted
balance-a-binary-search-tree/
Accepted
balanced-binary-tree
balanced-binary-tree
baseball-game
baseball-game
basic-calculator-ii/
Accepted/
9-14-2021, 3:25:49 PM
basic-calculator-ii/
Accepted/
9-14-2021, 3:25:49 PM
basic-calculator-iii/
Accepted/
3-5-2022, 11:28:46 PM
basic-calculator-iii/
Accepted/
3-5-2022, 11:28:46 PM
basic-calculator
basic-calculator
battleships-in-a-board/
Accepted/
6-8-2021, 11:48:57 AM
battleships-in-a-board/
Accepted/
6-8-2021, 11:48:57 AM
beautiful-arrangement/
Accepted/
1-14-2022, 9:05:45 PM
beautiful-arrangement/
Accepted/
1-14-2022, 9:05:45 PM
best-sightseeing-pair/
Accepted/
12-27-2021, 2:07:53 PM
best-sightseeing-pair/
Accepted/
12-27-2021, 2:07:53 PM
best-time-to-buy-and-sell-stock-ii/
Accepted
best-time-to-buy-and-sell-stock-ii/
Accepted
best-time-to-buy-and-sell-stock
best-time-to-buy-and-sell-stock
binary-search-tree-iterator/
Accepted
binary-search-tree-iterator/
Accepted
binary-search-tree-to-greater-sum-tree/
Accepted
binary-search-tree-to-greater-sum-tree/
Accepted
binary-search
binary-search
binary-subarrays-with-sum
binary-subarrays-with-sum
binary-tree-inorder-traversal/
Accepted/
6-17-2020, 5:46:10 PM
binary-tree-inorder-traversal/
Accepted/
6-17-2020, 5:46:10 PM
binary-tree-level-order-traversal-ii/
Accepted
binary-tree-level-order-traversal-ii/
Accepted
binary-tree-level-order-traversal/
Accepted/
6-14-2020, 12:35:07 PM
binary-tree-level-order-traversal/
Accepted/
6-14-2020, 12:35:07 PM
binary-tree-longest-consecutive-sequence-ii
binary-tree-longest-consecutive-sequence-ii
binary-tree-longest-consecutive-sequence
binary-tree-longest-consecutive-sequence
binary-tree-maximum-path-sum
binary-tree-maximum-path-sum
binary-tree-paths/
Accepted
binary-tree-paths/
Accepted
binary-tree-postorder-traversal/
Accepted/
7-5-2020, 3:33:00 PM
binary-tree-postorder-traversal/
Accepted/
7-5-2020, 3:33:00 PM
binary-tree-preorder-traversal/
Accepted/
7-4-2020, 5:02:15 PM
binary-tree-preorder-traversal/
Accepted/
7-4-2020, 5:02:15 PM
binary-tree-pruning/
Accepted
binary-tree-pruning/
Accepted
binary-tree-right-side-view
binary-tree-right-side-view
binary-tree-vertical-order-traversal
binary-tree-vertical-order-traversal
binary-tree-zigzag-level-order-traversal
binary-tree-zigzag-level-order-traversal
boats-to-save-people
boats-to-save-people
boundary-of-binary-tree
boundary-of-binary-tree
broken-calculator
broken-calculator
buildings-with-an-ocean-view/
Accepted
buildings-with-an-ocean-view/
Accepted
burst-balloons
burst-balloons
bus-routes
bus-routes
can-place-flowers
can-place-flowers
candy/
Accepted
candy/
Accepted
capacity-to-ship-packages-within-d-days
capacity-to-ship-packages-within-d-days
car-pooling/
Accepted
car-pooling/
Accepted
cheapest-flights-within-k-stops
cheapest-flights-within-k-stops
check-array-formation-through-concatenation
check-array-formation-through-concatenation
check-completeness-of-a-binary-tree
check-completeness-of-a-binary-tree
check-if-a-number-is-majority-element-in-a-sorted-array
check-if-a-number-is-majority-element-in-a-sorted-array
check-if-matrix-is-x-matrix
check-if-matrix-is-x-matrix
check-if-numbers-are-ascending-in-a-sentence/
Accepted/
5-16-2022, 7:30:02 PM
check-if-numbers-are-ascending-in-a-sentence/
Accepted/
5-16-2022, 7:30:02 PM
check-if-two-string-arrays-are-equivalent/
Accepted/
6-9-2021, 12:44:16 PM
check-if-two-string-arrays-are-equivalent/
Accepted/
6-9-2021, 12:44:16 PM
cinema-seat-allocation
cinema-seat-allocation
climbing-stairs
climbing-stairs
clone-graph/
Accepted/
7-12-2020, 2:18:27 PM
clone-graph/
Accepted/
7-12-2020, 2:18:27 PM
closest-binary-search-tree-value-ii/
Accepted/
1-1-2022, 10:53:11 AM
closest-binary-search-tree-value-ii/
Accepted/
1-1-2022, 10:53:11 AM
closest-binary-search-tree-value/
Accepted/
6-7-2021, 6:00:46 PM
closest-binary-search-tree-value/
Accepted/
6-7-2021, 6:00:46 PM
closest-leaf-in-a-binary-tree
closest-leaf-in-a-binary-tree
coin-change
coin-change
combination-sum-ii/
Accepted/
1-14-2022, 12:16:37 AM
combination-sum-ii/
Accepted/
1-14-2022, 12:16:37 AM
combination-sum/
Accepted
combination-sum/
Accepted
concatenated-words
concatenated-words
connecting-cities-with-minimum-cost
connecting-cities-with-minimum-cost
consecutive-characters
consecutive-characters
consecutive-numbers-sum/
Accepted/
2-7-2022, 12:37:26 AM
consecutive-numbers-sum/
Accepted/
2-7-2022, 12:37:26 AM
construct-binary-tree-from-preorder-and-inorder-traversal/
Accepted
construct-binary-tree-from-preorder-and-inorder-traversal/
Accepted
construct-binary-tree-from-string/
Accepted/
2-22-2022, 8:52:49 AM
construct-binary-tree-from-string/
Accepted/
2-22-2022, 8:52:49 AM
container-with-most-water/
Accepted
container-with-most-water/
Accepted
contains-duplicate-ii/
Accepted/
8-22-2022, 7:02:47 PM
contains-duplicate-ii/
Accepted/
8-22-2022, 7:02:47 PM
contains-duplicate/
Accepted/
12-19-2021, 6:34:09 AM
contains-duplicate/
Accepted/
12-19-2021, 6:34:09 AM
contiguous-array
contiguous-array
continuous-subarray-sum
continuous-subarray-sum
convert-binary-number-in-a-linked-list-to-integer/
Accepted
convert-binary-number-in-a-linked-list-to-integer/
Accepted
convert-binary-search-tree-to-sorted-doubly-linked-list/
Accepted
convert-binary-search-tree-to-sorted-doubly-linked-list/
Accepted
convert-bst-to-greater-tree/
Accepted
convert-bst-to-greater-tree/
Accepted
convert-sorted-array-to-binary-search-tree/
Accepted
convert-sorted-array-to-binary-search-tree/
Accepted
convert-sorted-list-to-binary-search-tree/
Accepted/
7-31-2020, 5:39:34 PM
convert-sorted-list-to-binary-search-tree/
Accepted/
7-31-2020, 5:39:34 PM
copy-list-with-random-pointer/
Accepted
copy-list-with-random-pointer/
Accepted
correct-a-binary-tree/
Accepted
correct-a-binary-tree/
Accepted
count-and-say
count-and-say
count-binary-substrings
count-binary-substrings
count-complete-tree-nodes/
Accepted
count-complete-tree-nodes/
Accepted
count-good-nodes-in-binary-tree/
Accepted
count-good-nodes-in-binary-tree/
Accepted
count-negative-numbers-in-a-sorted-matrix
count-negative-numbers-in-a-sorted-matrix
count-number-of-nice-subarrays
count-number-of-nice-subarrays
count-odd-numbers-in-an-interval-range/
Accepted/
8-22-2022, 7:35:03 PM
count-odd-numbers-in-an-interval-range/
Accepted/
8-22-2022, 7:35:03 PM
count-operations-to-obtain-zero
count-operations-to-obtain-zero
count-primes
count-primes
View all files
About
Solutions to all Leetcode puzzles i have solved till now in C++
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.