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 }}
ritvikroy
100DaysOfCode
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
100DaysOfCode
Public
Notifications
You must be signed in to change notification settings
Fork
0
(
0
)
Star
5
(
5
)
You must be signed in to star a repository
About
Data Structures and Algorithms Practice Problems for 100 Days in a row
Topics
100daysofcode
algorithms
cpp
data-structures
Activity
Stars
5
stars
Watchers
1
watching
Forks
0
forks
Report repository
master
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
105 Commits
105 Commits
Folders and files
Name
Name
Last commit message
Last commit date
1.Non-DivisibleSubset.cpp
1.Non-DivisibleSubset.cpp
1.TwoSum.cpp
1.TwoSum.cpp
1.WeirdAlgorithm.cpp
1.WeirdAlgorithm.cpp
1029.TwoCityScheduling.cpp
1029.TwoCityScheduling.cpp
1051.HeightChecker.cpp
1051.HeightChecker.cpp
1089.DuplicateZeros.cpp
1089.DuplicateZeros.cpp
118.PascalsTriangle.cpp
118.PascalsTriangle.cpp
1217.PlayWithChips.cpp
1217.PlayWithChips.cpp
1252.CellsWithOddValueInMatrix.cpp
1252.CellsWithOddValueInMatrix.cpp
1266.MinimumTimeVisitingAllPoints.cpp
1266.MinimumTimeVisitingAllPoints.cpp
1295.FindNumbersWithEvenNoOfDigits.cpp
1295.FindNumbersWithEvenNoOfDigits.cpp
1299.ReplaceElemWithGreatest.cpp
1299.ReplaceElemWithGreatest.cpp
13.RomanToInteger.cpp
13.RomanToInteger.cpp
1304.FindNUniqueIntegerSumUpToZero.cpp
1304.FindNUniqueIntegerSumUpToZero.cpp
1313.DecompressRunLengthEncodedList.cpp
1313.DecompressRunLengthEncodedList.cpp
1346.CheckIfNandItsDoubleExist.cpp
1346.CheckIfNandItsDoubleExist.cpp
1365.HowManyNosAreSmallerThanTheCurrentNo.cpp
1365.HowManyNosAreSmallerThanTheCurrentNo.cpp
1380.LuckyNumbersInAMatrix.cpp
1380.LuckyNumbersInAMatrix.cpp
1385.FindTheDistanceValueBetweenTwoValues.cpp
1385.FindTheDistanceValueBetweenTwoValues.cpp
1389.CreateTargetArrayInTheGivenOrder.cpp
1389.CreateTargetArrayInTheGivenOrder.cpp
1399.CountLargestGroup.cpp
1399.CountLargestGroup.cpp
14.LowestCommonPrefix.cpp
14.LowestCommonPrefix.cpp
1431.KidsWithTheGreatestNumberOfCandies.cpp
1431.KidsWithTheGreatestNumberOfCandies.cpp
1450.NoOfStudentsDoingHWatAGivenTime.cpp
1450.NoOfStudentsDoingHWatAGivenTime.cpp
1464.MaximumProductOfTwoElementsInAnArray.cpp
1464.MaximumProductOfTwoElementsInAnArray.cpp
1470.ShuffleTheArray.cpp
1470.ShuffleTheArray.cpp
1475.FinalPricesithASpecialDiscountInAShop.cpp
1475.FinalPricesithASpecialDiscountInAShop.cpp
1480.RunningSumOf1DArray.cpp
1480.RunningSumOf1DArray.cpp
1486.XOROperationInAnArray.cpp
1486.XOROperationInAnArray.cpp
1491.AverageSalaryExcludingMinAndMaxalary.cpp
1491.AverageSalaryExcludingMinAndMaxalary.cpp
15.3Sum.cpp
15.3Sum.cpp
1502.CanMakeAPFromSequence.cpp
1502.CanMakeAPFromSequence.cpp
1512.NumberOfGoodPairs.cpp
1512.NumberOfGoodPairs.cpp
1534.CountGoodTriplets.cpp
1534.CountGoodTriplets.cpp
169.MajorityElement.cpp
169.MajorityElement.cpp
190.ReversBits.cpp
190.ReversBits.cpp
2.ClimbingTheLeaderboard.cpp
2.ClimbingTheLeaderboard.cpp
2.MissingNumber.cpp
2.MissingNumber.cpp
20.ValidParentheses.cpp
20.ValidParentheses.cpp
21.MergeTwoSortedList.cpp
21.MergeTwoSortedList.cpp
226.InvertBinaryTree.cpp
226.InvertBinaryTree.cpp
231.PowerOfTwo.cpp
231.PowerOfTwo.cpp
237.DeleteNodeInALinkedList.cpp
237.DeleteNodeInALinkedList.cpp
26.RemoveDuplicatesFromSortedArray.cpp
26.RemoveDuplicatesFromSortedArray.cpp
264.UglyNumberII.cpp
264.UglyNumberII.cpp
268.MissingNumber.cpp
268.MissingNumber.cpp
27.RemoveElement.cpp
27.RemoveElement.cpp
278.FirstBadVersion.cpp
278.FirstBadVersion.cpp
28.ImplementstrStr.cpp
28.ImplementstrStr.cpp
283.MoveZeroes.cpp
283.MoveZeroes.cpp
3.CutTheSticks.cpp
3.CutTheSticks.cpp
3.FormingAMagicSquare.cpp
3.FormingAMagicSquare.cpp
3.Repetitions.cpp
3.Repetitions.cpp
344.ReverseString.cpp
344.ReverseString.cpp
35.SearchInsertPosition.cpp
35.SearchInsertPosition.cpp
368.LargestDivisibleSubset.cpp
368.LargestDivisibleSubset.cpp
38.CountAndSay.cpp
38.CountAndSay.cpp
380.InsertDeleteGetRandomO1.cpp
380.InsertDeleteGetRandomO1.cpp
383.RansomNote.cpp
383.RansomNote.cpp
387.FirstUniqueCharacterInAString.cpp
387.FirstUniqueCharacterInAString.cpp
392.IsSubsequence.cpp
392.IsSubsequence.cpp
4.BirthdayChocolate.cpp
4.BirthdayChocolate.cpp
4.IncreasingArray.cpp
4.IncreasingArray.cpp
406.QueueReconstructionByHeight.cpp
406.QueueReconstructionByHeight.cpp
414.ThirdMaximumNumber.cpp
414.ThirdMaximumNumber.cpp
430.FlattenAMultilevelDoublyLinkedList.cpp
430.FlattenAMultilevelDoublyLinkedList.cpp
441.ArrangingCoins.cpp
441.ArrangingCoins.cpp
448.FindAllNosDisappearedInArray.cpp
448.FindAllNosDisappearedInArray.cpp
463.HammingDistance.cpp
463.HammingDistance.cpp
463.IslandPerimeter.cpp
463.IslandPerimeter.cpp
468.ValidateIPAddress.cpp
468.ValidateIPAddress.cpp
476.NumberComplement.cpp
476.NumberComplement.cpp
485.MaxConsecutiveOnes.cpp
485.MaxConsecutiveOnes.cpp
5.Permutations.cpp
5.Permutations.cpp
5.TheHurdleRace.cpp
5.TheHurdleRace.cpp
518.CoinChange2.cpp
518.CoinChange2.cpp
528.RandomPickWithWeight.cpp
528.RandomPickWithWeight.cpp
53.MaximumSubarray.cpp
53.MaximumSubarray.cpp
561.ArrayPartition1.cpp
561.ArrayPartition1.cpp
58.LengthOfLastWord.cpp
58.LengthOfLastWord.cpp
6.NumberSpiral.cpp
6.NumberSpiral.cpp
6.TimeConversion.cpp
6.TimeConversion.cpp
656A.ThreePairwiseMaximum.cpp
656A.ThreePairwiseMaximum.cpp
656B.RestoreThePermutationByMerger.cpp
656B.RestoreThePermutationByMerger.cpp
66.PlusOne.cpp
66.PlusOne.cpp
661.ImageSmoother.cpp
661.ImageSmoother.cpp
662.MaximumWidthOfBinaryTree.cpp
662.MaximumWidthOfBinaryTree.cpp
67.AddBinary.cpp
67.AddBinary.cpp
69.SqrtX.cpp
69.SqrtX.cpp
7.ReverseInteger.cpp
7.ReverseInteger.cpp
70.ClimbingStairs.cpp
70.ClimbingStairs.cpp
700.SearchInABinarySearchTree.cpp
700.SearchInABinarySearchTree.cpp
72.EditDistance.cpp
72.EditDistance.cpp
75.SortColors.cpp
75.SortColors.cpp
771.JewelsAndStones.cpp
771.JewelsAndStones.cpp
78.Subsets.cpp
78.Subsets.cpp
787.CheapestFlightsWithinKSteps.cpp
787.CheapestFlightsWithinKSteps.cpp
83.RemoveDuplicatesFromSortedList.cpp
83.RemoveDuplicatesFromSortedList.cpp
88.MergeSortArray.cpp
88.MergeSortArray.cpp
9.PalindromeNumber.cpp
9.PalindromeNumber.cpp
View all files
About
Data Structures and Algorithms Practice Problems for 100 Days in a row
Topics
100daysofcode
algorithms
cpp
data-structures
Activity
Stars
5
stars
Watchers
1
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.