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
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 }}
rajnish952
/
InterviewBit
Public
Notifications
You must be signed in to change notification settings
Fork
9
Star
7
Code
Issues
0
Pull requests
1
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
master
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
111 Commits
111 Commits
Folders and files
Name
Name
Last commit message
Last commit date
AlternativeNegaivePositive.cpp
AlternativeNegaivePositive.cpp
Anagrams.cpp
Anagrams.cpp
AssignMiceToHole.cpp
AssignMiceToHole.cpp
BSTNodeinRange.cpp
BSTNodeinRange.cpp
BeggarOutsideTemple.cpp
BeggarOutsideTemple.cpp
ChocolateDistribution.cpp
ChocolateDistribution.cpp
ClosestPairInTwoSortedArray.cpp
ClosestPairInTwoSortedArray.cpp
CombinationSum.cpp
CombinationSum.cpp
CombinationSum2.cpp
CombinationSum2.cpp
CommonNodesBST.cpp
CommonNodesBST.cpp
CountPairofGivenSum.cpp
CountPairofGivenSum.cpp
CountRopesWithMinSum.cpp
CountRopesWithMinSum.cpp
CountingRectangles.cpp
CountingRectangles.cpp
CountingTriangle.cpp
CountingTriangle.cpp
DifferentBitsSumPairwise.cpp
DifferentBitsSumPairwise.cpp
Diffk2.cpp
Diffk2.cpp
DivideWithoutMathOperator.cpp
DivideWithoutMathOperator.cpp
DivisorGame.cpp
DivisorGame.cpp
EnumeratingGcd.cpp
EnumeratingGcd.cpp
EvaluateExpression.cpp
EvaluateExpression.cpp
ExcelColumnTitle.cpp
ExcelColumnTitle.cpp
ExcelColumnToNumber.cpp
ExcelColumnToNumber.cpp
FindSubArrayWithSumZero.cpp
FindSubArrayWithSumZero.cpp
FindingPosition.cpp
FindingPosition.cpp
InorderTraversal.cpp
InorderTraversal.cpp
IntToRoman.cpp
IntToRoman.cpp
IntegersContaingSpecificDigits.cpp
IntegersContaingSpecificDigits.cpp
InterestingArray.cpp
InterestingArray.cpp
IntersectionLinkList.cpp
IntersectionLinkList.cpp
KingdomWar.cpp
KingdomWar.cpp
KthSmallestElementBST.cpp
KthSmallestElementBST.cpp
LargestCoprimeDivisor.cpp
LargestCoprimeDivisor.cpp
LargestNumber.cpp
LargestNumber.cpp
LargestSubArraySumToZero.cpp
LargestSubArraySumToZero.cpp
LeftViewBT.cpp
LeftViewBT.cpp
ListCycle.cpp
ListCycle.cpp
LongestCommonPrefix.cpp
LongestCommonPrefix.cpp
LongestCommonSubsequence.cpp
LongestCommonSubsequence.cpp
LongestConsecutiveSubseq.cpp
LongestConsecutiveSubseq.cpp
LongestSubarrayWithSumB.cpp
LongestSubarrayWithSumB.cpp
LongestSubstringWORepeat.cpp
LongestSubstringWORepeat.cpp
MagicianAndChoclates.cpp
MagicianAndChoclates.cpp
MaxContiguosSum.cpp
MaxContiguosSum.cpp
MaxGap.cpp
MaxGap.cpp
MaxProductSubArray.cpp
MaxProductSubArray.cpp
MaximumAbsoluteDiff.cpp
MaximumAbsoluteDiff.cpp
MaximumDifference.cpp
MaximumDifference.cpp
MaximumNonNegativeSum.cpp
MaximumNonNegativeSum.cpp
Median.cpp
Median.cpp
MergeIntervals.cpp
MergeIntervals.cpp
MergeTwoSortedLinkedLists.cpp
MergeTwoSortedLinkedLists.cpp
MiddleElementofLinkList.cpp
MiddleElementofLinkList.cpp
MinCounttoMakeStrPalindrome.cpp
MinCounttoMakeStrPalindrome.cpp
MinDepthTree.cpp
MinDepthTree.cpp
MinPathSum.cpp
MinPathSum.cpp
MinStack.cpp
MinStack.cpp
MinSwapRequired.cpp
MinSwapRequired.cpp
MinXOR.cpp
MinXOR.cpp
MinimizeAbsDiff.cpp
MinimizeAbsDiff.cpp
NearestSmallestElement.cpp
NearestSmallestElement.cpp
NextPermutation.cpp
NextPermutation.cpp
OpenDoors.cpp
OpenDoors.cpp
OverlappingRect.cpp
OverlappingRect.cpp
PalindromeLinkList.cpp
PalindromeLinkList.cpp
PalindromeList.cpp
PalindromeList.cpp
PathSum.cpp
PathSum.cpp
PeakElement.cpp
PeakElement.cpp
PostorderTraversal.cpp
PostorderTraversal.cpp
PowerFunction.cpp
PowerFunction.cpp
README.md
README.md
RainWater.cpp
RainWater.cpp
ReadingNewspaper.cpp
ReadingNewspaper.cpp
RearrangeArray.cpp
RearrangeArray.cpp
RemoveDuplicates.cpp
RemoveDuplicates.cpp
RemoveNthNodeFromEnd.cpp
RemoveNthNodeFromEnd.cpp
RepeatedSubtraction.cpp
RepeatedSubtraction.cpp
ReverseBit.cpp
ReverseBit.cpp
ReverseLinkListII.cpp
ReverseLinkListII.cpp
ReverseNumberWithOverflow.cpp
ReverseNumberWithOverflow.cpp
ReverseStackUsingRecursion.cpp
ReverseStackUsingRecursion.cpp
ReversetheString.cpp
ReversetheString.cpp
RomanToInt.cpp
RomanToInt.cpp
RotatedSortedArraySearch.cpp
RotatedSortedArraySearch.cpp
SearchInMatrix.cpp
SearchInMatrix.cpp
SearchRange.cpp
SearchRange.cpp
SearchSingleElement.cpp
SearchSingleElement.cpp
SetMatrixZero.cpp
SetMatrixZero.cpp
ShortestUniquePrefix.cpp
ShortestUniquePrefix.cpp
SingleNumber.cpp
SingleNumber.cpp
SingleNumber2.cpp
SingleNumber2.cpp
SmallestSeqWithGivenPrimes.cpp
SmallestSeqWithGivenPrimes.cpp
SolveSubseqReturnOr.cpp
SolveSubseqReturnOr.cpp
SortStack.cpp
SortStack.cpp
SqrtofInt.cpp
SqrtofInt.cpp
StackingCubes.cpp
StackingCubes.cpp
Subset2.cpp
Subset2.cpp
SubsetLexicographicallySorted.cpp
SubsetLexicographicallySorted.cpp
SumRootToLeafNumbers.cpp
SumRootToLeafNumbers.cpp
SumTheDifference.cpp
SumTheDifference.cpp
SumofAllSubmatrix.cpp
SumofAllSubmatrix.cpp
View all files
Repository files navigation
README
More
items
IBAcademy
Solution for IBAcademy problems
About
Solution for IBAcademy problems
Topics
algorithms-and-data-structures
cpp
interviewbit-cpp
Resources
Readme
Activity
Stars
7
stars
Watchers
4
watching
Forks
9
forks
Report repository
Releases
Packages
Used by
Contributors
Languages
You can’t perform that action at this time.