Skip to content
Navigation Menu
Toggle navigation
Sign in
Product
GitHub Copilot
Write better code with AI
GitHub Advanced Security
Find and fix vulnerabilities
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Discussions
Collaborate outside of code
Code Search
Find more, search less
Explore
Why GitHub
All features
Documentation
GitHub Skills
Blog
Solutions
By company size
Enterprises
Small and medium teams
Startups
Nonprofits
By use case
DevSecOps
DevOps
CI/CD
View all use cases
By industry
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
Topics
AI
DevOps
Security
Software Development
View all
Explore
Learning Pathways
Events & Webinars
Ebooks & Whitepapers
Customer Stories
Partners
Executive Insights
Open Source
GitHub Sponsors
Fund open source developers
The ReadME Project
GitHub community articles
Repositories
Topics
Trending
Collections
Enterprise
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 or jump to...
Search code, repositories, users, issues, pull requests...
Search syntax tips
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Sign in
Sign up
Reseting focus
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 }}
codemistic
/
Data-Structures-and-Algorithms
Public
Notifications
You must be signed in to change notification settings
Fork
366
Star
459
Code
Issues
49
Pull requests
65
Actions
Projects
0
Security
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security
Insights
Files
main
Breadcrumbs
Data-Structures-and-Algorithms
/
CPP
/
Problems
/
Copy path
Directory actions
More options
Directory actions
More options
Latest commit
History
History
main
Breadcrumbs
Data-Structures-and-Algorithms
/
CPP
/
Problems
/
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
Decimal to Binary
Decimal to Binary
kadanes
kadanes
mergeLinedList
mergeLinedList
rotate-linkedList
rotate-linkedList
1_INDIAN_COIN_CHANGE_PROBLEM.CPP
1_INDIAN_COIN_CHANGE_PROBLEM.CPP
2_ACTIVITY_SELECTION_PROBLEM.CPP
2_ACTIVITY_SELECTION_PROBLEM.CPP
3_FRACTIONAL_KNAPSACK.CPP
3_FRACTIONAL_KNAPSACK.CPP
49a.cpp
49a.cpp
4_OPTIMAL_MERGE_PATTERN.CPP
4_OPTIMAL_MERGE_PATTERN.CPP
BinaryTreeLevelOrderTraversal.cpp
BinaryTreeLevelOrderTraversal.cpp
BitonicArray.cpp
BitonicArray.cpp
COINS - Bytelandian gold coins
COINS - Bytelandian gold coins
Container With Most Water.cpp
Container With Most Water.cpp
Delete_and_Earn.cpp
Delete_and_Earn.cpp
Find First and Last Position of Element in Sorted Array.cpp
Find First and Last Position of Element in Sorted Array.cpp
FindingSmallestAndLargestElementUsingDivideAndConquer
FindingSmallestAndLargestElementUsingDivideAndConquer
Integer to Roman.cpp
Integer to Roman.cpp
Leetcode 1155 - Number of Dice Rolls With Target Sum.cpp
Leetcode 1155 - Number of Dice Rolls With Target Sum.cpp
Leetcode 1338 solution.cpp
Leetcode 1338 solution.cpp
Leetcode 15-3SumProblem.cpp
Leetcode 15-3SumProblem.cpp
Leetcode 35- Search Insert Position.cpp
Leetcode 35- Search Insert Position.cpp
Leetcode 66 -Plus One.cpp
Leetcode 66 -Plus One.cpp
Leetcode 91 - Decode Ways.cpp
Leetcode 91 - Decode Ways.cpp
Leetcode 930 solution.cpp
Leetcode 930 solution.cpp
Leetcode- Longest Substring Without Repeating Characters.cpp
Leetcode- Longest Substring Without Repeating Characters.cpp
Leetcode-07-reverseInteger.cpp
Leetcode-07-reverseInteger.cpp
Leetcode-120-Traingle.cpp
Leetcode-120-Traingle.cpp
Leetcode-1254-NumberOfClosedIslands.cpp
Leetcode-1254-NumberOfClosedIslands.cpp
Leetcode-141-linked-list-cycle.cpp
Leetcode-141-linked-list-cycle.cpp
Leetcode-1470-Shuffle the Array.cpp
Leetcode-1470-Shuffle the Array.cpp
Leetcode-148-sort-list.cpp
Leetcode-148-sort-list.cpp
Leetcode-19-RemoveNthNodeFromEndOfList.cpp
Leetcode-19-RemoveNthNodeFromEndOfList.cpp
Leetcode-198-HouseRobber.cpp
Leetcode-198-HouseRobber.cpp
Leetcode-21-merge-two-sorted-lists
Leetcode-21-merge-two-sorted-lists
Leetcode-219.cpp
Leetcode-219.cpp
Leetcode-24-Swap Nodes In Pairs.cpp
Leetcode-24-Swap Nodes In Pairs.cpp
Leetcode-34-find-first-and-last-position-of-element-in-sorted-array.cpp
Leetcode-34-find-first-and-last-position-of-element-in-sorted-array.cpp
Leetcode-376 Wiggle Sequence.cpp
Leetcode-376 Wiggle Sequence.cpp
Leetcode-38-countAndSay.cpp
Leetcode-38-countAndSay.cpp
Leetcode-39-CombinationSum.cpp
Leetcode-39-CombinationSum.cpp
Leetcode-40-CombinationSumII.cpp
Leetcode-40-CombinationSumII.cpp
Leetcode-42-Trapping-Rain-Water.cpp
Leetcode-42-Trapping-Rain-Water.cpp
Leetcode-733-FloodFill.cpp
Leetcode-733-FloodFill.cpp
Leetcode-77-Combinations.cpp
Leetcode-77-Combinations.cpp
Leetcode-784-LetterCasePermutation.cpp
Leetcode-784-LetterCasePermutation.cpp
Leetcode-First Missing Positive.cpp
Leetcode-First Missing Positive.cpp
Leetcode-The-Skyline-Problem.cpp
Leetcode-The-Skyline-Problem.cpp
Leetcode56-Merge_Intervals
Leetcode56-Merge_Intervals
Leetcode74-Search_a_2D_Matrix
Leetcode74-Search_a_2D_Matrix
Leetcode_candy.cpp
Leetcode_candy.cpp
Longest Common Prefix.cpp
Longest Common Prefix.cpp
Longest Palindromic Substring.cpp
Longest Palindromic Substring.cpp
Longest Substring Without Repeating Characters.cpp
Longest Substring Without Repeating Characters.cpp
Longest-Continuous-Increasing-Subsequence-Easy.cpp
Longest-Continuous-Increasing-Subsequence-Easy.cpp
MaximumProductSubarray.cpp
MaximumProductSubarray.cpp
Median of Two Sorted Arrays.cpp
Median of Two Sorted Arrays.cpp
MinimizeTheHeight.cpp
MinimizeTheHeight.cpp
Number of Dice Rolls With Target Sum.cpp
Number of Dice Rolls With Target Sum.cpp
Palindrome Number.cpp
Palindrome Number.cpp
Reverse Integer.cpp
Reverse Integer.cpp
Roman to Integer.cpp
Roman to Integer.cpp
Rotate Image
Rotate Image
String to Integer (atoi).cpp
String to Integer (atoi).cpp
Sudoku Solver
Sudoku Solver
add-two-numbers.cpp
add-two-numbers.cpp
biwise_xor_pairing.cpp
biwise_xor_pairing.cpp
check-if-it-is-a-straight-line.cpp
check-if-it-is-a-straight-line.cpp
findTheDuplicateNumber.cpp
findTheDuplicateNumber.cpp
kids-with-te-greatest-number-of-candies.cpp
kids-with-te-greatest-number-of-candies.cpp
kth-largest-element-in-an-array.cpp
kth-largest-element-in-an-array.cpp
leetcode-347-Top-K-Frequent-Elements.cpp
leetcode-347-Top-K-Frequent-Elements.cpp
longest_uploaded_prefix.cpp
longest_uploaded_prefix.cpp
maximum-subarray.cpp
maximum-subarray.cpp
maze_game.c
maze_game.c
merge-sorted-arrays.cpp
merge-sorted-arrays.cpp
minimumNumberOfJump.cpp
minimumNumberOfJump.cpp
move-zeroes.cpp
move-zeroes.cpp
pow(x,n).cpp
pow(x,n).cpp
queries-on-number-of-points-inside-circle.cpp
queries-on-number-of-points-inside-circle.cpp
remove-element.js
remove-element.js
two-sum.cpp
two-sum.cpp
valid-mountain-array.cpp
valid-mountain-array.cpp
View all files
You can’t perform that action at this time.