├── .gitignore ├── Arrays ├── Add1ToNo.cpp ├── antiDiagonals.cpp ├── arrayManipulation.cpp ├── duplicateInArray.cpp ├── dynamicArray.cpp ├── firstMissingInteger.cpp ├── hotelBookingPossible.cpp ├── hourGlassSum.cpp ├── insertionSort.cpp ├── largestNumber.cpp ├── leftRotation.cpp ├── maxAbsDifference.cpp ├── maxContigSubarray.cpp ├── maxDistance.cpp ├── maxUnsortedSubArray.cpp ├── mergeOverlappingInterval.cpp ├── mergeSort.cpp ├── nextPermutation.cpp ├── pascalTriangle.cpp ├── quickSort.cpp ├── rotateMatrix.cpp ├── setMatrixZeros.cpp ├── sparseArrays.cpp ├── spiralMatrix2.cpp └── waveArray.cpp ├── C++ ├── comparatorSort.cpp ├── eraseVector.cpp ├── iterateMap.cpp ├── iterateVectWithoutItr.cpp ├── lowerBound.cpp ├── manipulators.cpp ├── maps.cpp ├── pointerTo2dArray.cpp ├── queue.cpp ├── reverseVector.cpp ├── sets.cpp ├── sortVector.cpp ├── stack.cpp ├── stringAppend.cpp ├── stringErase.cpp ├── stringFind.cpp ├── stringStream.cpp ├── strings.cpp └── variableSizedArrays.cpp ├── Dynamic Programming ├── 01knapsack.cpp ├── booleanParenthization.cpp ├── coinChange1.cpp ├── coinChange2.cpp ├── countOfSubsetSum.cpp ├── countSubsetsOfGivenDiff.cpp ├── equalSumPartition.cpp ├── longestCommonSubsequence.cpp ├── longestCommonSubstring.cpp ├── longestPalndSubsequence.cpp ├── longestRepeatingSubsequence.cpp ├── matrixchainmultiplication.cpp ├── minDelForPalindromicString.cpp ├── minInsDelforAToB.cpp ├── minSubsetSumDiff.cpp ├── palindromePartitioning.cpp ├── rodCutting.cpp ├── scrambledString.cpp ├── seqPatternMatching.cpp ├── shortestCommonSupersequence.cpp ├── subsetSum.cpp └── unboundedKnapsack.cpp ├── Linked Lists ├── compare.cpp ├── cycleDetection.cpp ├── delDuplFrmSortedList.cpp ├── deleteNode.cpp ├── getNode.cpp ├── insertInSortedDoublyList.cpp ├── insertNodeAtHead.cpp ├── insertNodeAtPosition.cpp ├── insertNodeAtTail.cpp ├── mergePointOf2Lists.cpp ├── mergeSortedLists.cpp ├── reverseDoubly.cpp ├── reversePrint.cpp ├── reverseSingly.cpp └── traverseList.cpp ├── Math ├── allFactors.cpp ├── excelColNo.cpp ├── excelColTitle.cpp ├── gcd.cpp ├── gridUniquePath.cpp ├── oddOccuringNo.cpp ├── powOf2Integers.cpp ├── rearrangeArray.cpp ├── sieveOfEratosthenes.cpp ├── sortedPermutationRank.cpp ├── sumOfPairwiseHammingDist.cpp ├── trailingZeroInFactorial.cpp └── verifyPrime.cpp ├── README.md ├── Recursion ├── allSubsetsofString.cpp ├── delMidofStack.cpp ├── generateParantheses.cpp ├── josephus.cpp ├── kthGrammar.cpp ├── letterCasePermutation.cpp ├── nBitBinaryNo.cpp ├── permutationWithCaseChange.cpp ├── permutationWithSpaces.cpp ├── reverseStack.cpp ├── sortArray.cpp └── towerOfHanoi.cpp ├── Strings ├── Atoi.cpp ├── KmpPatternSearch.cpp ├── LastWordLength.cpp ├── addBinaryStrings.cpp ├── countAndSay.cpp ├── integerToRoman.cpp ├── justifiedText.cpp ├── longestCommonPrefix.cpp ├── minCharForPalindromeStr.cpp ├── multiplyStrings.cpp ├── powerOf2.cpp ├── prettyJson.cpp ├── reverseTheString.cpp ├── romanToInteger.cpp ├── subString.cpp └── validIpAddresses.cpp └── Trees ├── binaryTreeHeight.cpp ├── bstInsertion.cpp ├── inOrder.cpp ├── lcabst.cpp ├── levelOrder.cpp ├── postOrder.cpp ├── preOrder.cpp ├── search.cpp ├── topView.cpp └── verticalOrder.cpp /.gitignore: -------------------------------------------------------------------------------- 1 | .vscode -------------------------------------------------------------------------------- /Arrays/Add1ToNo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Arrays/Add1ToNo.cpp -------------------------------------------------------------------------------- /Arrays/antiDiagonals.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Arrays/antiDiagonals.cpp -------------------------------------------------------------------------------- /Arrays/arrayManipulation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Arrays/arrayManipulation.cpp -------------------------------------------------------------------------------- /Arrays/duplicateInArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Arrays/duplicateInArray.cpp -------------------------------------------------------------------------------- /Arrays/dynamicArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Arrays/dynamicArray.cpp -------------------------------------------------------------------------------- /Arrays/firstMissingInteger.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Arrays/firstMissingInteger.cpp -------------------------------------------------------------------------------- /Arrays/hotelBookingPossible.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Arrays/hotelBookingPossible.cpp -------------------------------------------------------------------------------- /Arrays/hourGlassSum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Arrays/hourGlassSum.cpp -------------------------------------------------------------------------------- /Arrays/insertionSort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Arrays/insertionSort.cpp -------------------------------------------------------------------------------- /Arrays/largestNumber.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Arrays/largestNumber.cpp -------------------------------------------------------------------------------- /Arrays/leftRotation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Arrays/leftRotation.cpp -------------------------------------------------------------------------------- /Arrays/maxAbsDifference.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Arrays/maxAbsDifference.cpp -------------------------------------------------------------------------------- /Arrays/maxContigSubarray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Arrays/maxContigSubarray.cpp -------------------------------------------------------------------------------- /Arrays/maxDistance.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Arrays/maxDistance.cpp -------------------------------------------------------------------------------- /Arrays/maxUnsortedSubArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Arrays/maxUnsortedSubArray.cpp -------------------------------------------------------------------------------- /Arrays/mergeOverlappingInterval.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Arrays/mergeOverlappingInterval.cpp -------------------------------------------------------------------------------- /Arrays/mergeSort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Arrays/mergeSort.cpp -------------------------------------------------------------------------------- /Arrays/nextPermutation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Arrays/nextPermutation.cpp -------------------------------------------------------------------------------- /Arrays/pascalTriangle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Arrays/pascalTriangle.cpp -------------------------------------------------------------------------------- /Arrays/quickSort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Arrays/quickSort.cpp -------------------------------------------------------------------------------- /Arrays/rotateMatrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Arrays/rotateMatrix.cpp -------------------------------------------------------------------------------- /Arrays/setMatrixZeros.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Arrays/setMatrixZeros.cpp -------------------------------------------------------------------------------- /Arrays/sparseArrays.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Arrays/sparseArrays.cpp -------------------------------------------------------------------------------- /Arrays/spiralMatrix2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Arrays/spiralMatrix2.cpp -------------------------------------------------------------------------------- /Arrays/waveArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Arrays/waveArray.cpp -------------------------------------------------------------------------------- /C++/comparatorSort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/C++/comparatorSort.cpp -------------------------------------------------------------------------------- /C++/eraseVector.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/C++/eraseVector.cpp -------------------------------------------------------------------------------- /C++/iterateMap.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/C++/iterateMap.cpp -------------------------------------------------------------------------------- /C++/iterateVectWithoutItr.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/C++/iterateVectWithoutItr.cpp -------------------------------------------------------------------------------- /C++/lowerBound.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/C++/lowerBound.cpp -------------------------------------------------------------------------------- /C++/manipulators.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/C++/manipulators.cpp -------------------------------------------------------------------------------- /C++/maps.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/C++/maps.cpp -------------------------------------------------------------------------------- /C++/pointerTo2dArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/C++/pointerTo2dArray.cpp -------------------------------------------------------------------------------- /C++/queue.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/C++/queue.cpp -------------------------------------------------------------------------------- /C++/reverseVector.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/C++/reverseVector.cpp -------------------------------------------------------------------------------- /C++/sets.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/C++/sets.cpp -------------------------------------------------------------------------------- /C++/sortVector.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/C++/sortVector.cpp -------------------------------------------------------------------------------- /C++/stack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/C++/stack.cpp -------------------------------------------------------------------------------- /C++/stringAppend.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/C++/stringAppend.cpp -------------------------------------------------------------------------------- /C++/stringErase.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/C++/stringErase.cpp -------------------------------------------------------------------------------- /C++/stringFind.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/C++/stringFind.cpp -------------------------------------------------------------------------------- /C++/stringStream.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/C++/stringStream.cpp -------------------------------------------------------------------------------- /C++/strings.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/C++/strings.cpp -------------------------------------------------------------------------------- /C++/variableSizedArrays.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/C++/variableSizedArrays.cpp -------------------------------------------------------------------------------- /Dynamic Programming/01knapsack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Dynamic Programming/01knapsack.cpp -------------------------------------------------------------------------------- /Dynamic Programming/booleanParenthization.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Dynamic Programming/booleanParenthization.cpp -------------------------------------------------------------------------------- /Dynamic Programming/coinChange1.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Dynamic Programming/coinChange1.cpp -------------------------------------------------------------------------------- /Dynamic Programming/coinChange2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Dynamic Programming/coinChange2.cpp -------------------------------------------------------------------------------- /Dynamic Programming/countOfSubsetSum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Dynamic Programming/countOfSubsetSum.cpp -------------------------------------------------------------------------------- /Dynamic Programming/countSubsetsOfGivenDiff.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Dynamic Programming/countSubsetsOfGivenDiff.cpp -------------------------------------------------------------------------------- /Dynamic Programming/equalSumPartition.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Dynamic Programming/equalSumPartition.cpp -------------------------------------------------------------------------------- /Dynamic Programming/longestCommonSubsequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Dynamic Programming/longestCommonSubsequence.cpp -------------------------------------------------------------------------------- /Dynamic Programming/longestCommonSubstring.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Dynamic Programming/longestCommonSubstring.cpp -------------------------------------------------------------------------------- /Dynamic Programming/longestPalndSubsequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Dynamic Programming/longestPalndSubsequence.cpp -------------------------------------------------------------------------------- /Dynamic Programming/longestRepeatingSubsequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Dynamic Programming/longestRepeatingSubsequence.cpp -------------------------------------------------------------------------------- /Dynamic Programming/matrixchainmultiplication.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Dynamic Programming/matrixchainmultiplication.cpp -------------------------------------------------------------------------------- /Dynamic Programming/minDelForPalindromicString.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Dynamic Programming/minDelForPalindromicString.cpp -------------------------------------------------------------------------------- /Dynamic Programming/minInsDelforAToB.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Dynamic Programming/minInsDelforAToB.cpp -------------------------------------------------------------------------------- /Dynamic Programming/minSubsetSumDiff.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Dynamic Programming/minSubsetSumDiff.cpp -------------------------------------------------------------------------------- /Dynamic Programming/palindromePartitioning.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Dynamic Programming/palindromePartitioning.cpp -------------------------------------------------------------------------------- /Dynamic Programming/rodCutting.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Dynamic Programming/rodCutting.cpp -------------------------------------------------------------------------------- /Dynamic Programming/scrambledString.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Dynamic Programming/scrambledString.cpp -------------------------------------------------------------------------------- /Dynamic Programming/seqPatternMatching.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Dynamic Programming/seqPatternMatching.cpp -------------------------------------------------------------------------------- /Dynamic Programming/shortestCommonSupersequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Dynamic Programming/shortestCommonSupersequence.cpp -------------------------------------------------------------------------------- /Dynamic Programming/subsetSum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Dynamic Programming/subsetSum.cpp -------------------------------------------------------------------------------- /Dynamic Programming/unboundedKnapsack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Dynamic Programming/unboundedKnapsack.cpp -------------------------------------------------------------------------------- /Linked Lists/compare.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Linked Lists/compare.cpp -------------------------------------------------------------------------------- /Linked Lists/cycleDetection.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Linked Lists/cycleDetection.cpp -------------------------------------------------------------------------------- /Linked Lists/delDuplFrmSortedList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Linked Lists/delDuplFrmSortedList.cpp -------------------------------------------------------------------------------- /Linked Lists/deleteNode.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Linked Lists/deleteNode.cpp -------------------------------------------------------------------------------- /Linked Lists/getNode.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Linked Lists/getNode.cpp -------------------------------------------------------------------------------- /Linked Lists/insertInSortedDoublyList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Linked Lists/insertInSortedDoublyList.cpp -------------------------------------------------------------------------------- /Linked Lists/insertNodeAtHead.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Linked Lists/insertNodeAtHead.cpp -------------------------------------------------------------------------------- /Linked Lists/insertNodeAtPosition.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Linked Lists/insertNodeAtPosition.cpp -------------------------------------------------------------------------------- /Linked Lists/insertNodeAtTail.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Linked Lists/insertNodeAtTail.cpp -------------------------------------------------------------------------------- /Linked Lists/mergePointOf2Lists.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Linked Lists/mergePointOf2Lists.cpp -------------------------------------------------------------------------------- /Linked Lists/mergeSortedLists.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Linked Lists/mergeSortedLists.cpp -------------------------------------------------------------------------------- /Linked Lists/reverseDoubly.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Linked Lists/reverseDoubly.cpp -------------------------------------------------------------------------------- /Linked Lists/reversePrint.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Linked Lists/reversePrint.cpp -------------------------------------------------------------------------------- /Linked Lists/reverseSingly.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Linked Lists/reverseSingly.cpp -------------------------------------------------------------------------------- /Linked Lists/traverseList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Linked Lists/traverseList.cpp -------------------------------------------------------------------------------- /Math/allFactors.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Math/allFactors.cpp -------------------------------------------------------------------------------- /Math/excelColNo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Math/excelColNo.cpp -------------------------------------------------------------------------------- /Math/excelColTitle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Math/excelColTitle.cpp -------------------------------------------------------------------------------- /Math/gcd.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Math/gcd.cpp -------------------------------------------------------------------------------- /Math/gridUniquePath.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Math/gridUniquePath.cpp -------------------------------------------------------------------------------- /Math/oddOccuringNo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Math/oddOccuringNo.cpp -------------------------------------------------------------------------------- /Math/powOf2Integers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Math/powOf2Integers.cpp -------------------------------------------------------------------------------- /Math/rearrangeArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Math/rearrangeArray.cpp -------------------------------------------------------------------------------- /Math/sieveOfEratosthenes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Math/sieveOfEratosthenes.cpp -------------------------------------------------------------------------------- /Math/sortedPermutationRank.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Math/sortedPermutationRank.cpp -------------------------------------------------------------------------------- /Math/sumOfPairwiseHammingDist.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Math/sumOfPairwiseHammingDist.cpp -------------------------------------------------------------------------------- /Math/trailingZeroInFactorial.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Math/trailingZeroInFactorial.cpp -------------------------------------------------------------------------------- /Math/verifyPrime.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Math/verifyPrime.cpp -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/README.md -------------------------------------------------------------------------------- /Recursion/allSubsetsofString.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Recursion/allSubsetsofString.cpp -------------------------------------------------------------------------------- /Recursion/delMidofStack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Recursion/delMidofStack.cpp -------------------------------------------------------------------------------- /Recursion/generateParantheses.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Recursion/generateParantheses.cpp -------------------------------------------------------------------------------- /Recursion/josephus.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Recursion/josephus.cpp -------------------------------------------------------------------------------- /Recursion/kthGrammar.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Recursion/kthGrammar.cpp -------------------------------------------------------------------------------- /Recursion/letterCasePermutation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Recursion/letterCasePermutation.cpp -------------------------------------------------------------------------------- /Recursion/nBitBinaryNo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Recursion/nBitBinaryNo.cpp -------------------------------------------------------------------------------- /Recursion/permutationWithCaseChange.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Recursion/permutationWithCaseChange.cpp -------------------------------------------------------------------------------- /Recursion/permutationWithSpaces.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Recursion/permutationWithSpaces.cpp -------------------------------------------------------------------------------- /Recursion/reverseStack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Recursion/reverseStack.cpp -------------------------------------------------------------------------------- /Recursion/sortArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Recursion/sortArray.cpp -------------------------------------------------------------------------------- /Recursion/towerOfHanoi.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Recursion/towerOfHanoi.cpp -------------------------------------------------------------------------------- /Strings/Atoi.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Strings/Atoi.cpp -------------------------------------------------------------------------------- /Strings/KmpPatternSearch.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Strings/KmpPatternSearch.cpp -------------------------------------------------------------------------------- /Strings/LastWordLength.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Strings/LastWordLength.cpp -------------------------------------------------------------------------------- /Strings/addBinaryStrings.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Strings/addBinaryStrings.cpp -------------------------------------------------------------------------------- /Strings/countAndSay.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Strings/countAndSay.cpp -------------------------------------------------------------------------------- /Strings/integerToRoman.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Strings/integerToRoman.cpp -------------------------------------------------------------------------------- /Strings/justifiedText.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Strings/justifiedText.cpp -------------------------------------------------------------------------------- /Strings/longestCommonPrefix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Strings/longestCommonPrefix.cpp -------------------------------------------------------------------------------- /Strings/minCharForPalindromeStr.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Strings/minCharForPalindromeStr.cpp -------------------------------------------------------------------------------- /Strings/multiplyStrings.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Strings/multiplyStrings.cpp -------------------------------------------------------------------------------- /Strings/powerOf2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Strings/powerOf2.cpp -------------------------------------------------------------------------------- /Strings/prettyJson.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Strings/prettyJson.cpp -------------------------------------------------------------------------------- /Strings/reverseTheString.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Strings/reverseTheString.cpp -------------------------------------------------------------------------------- /Strings/romanToInteger.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Strings/romanToInteger.cpp -------------------------------------------------------------------------------- /Strings/subString.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Strings/subString.cpp -------------------------------------------------------------------------------- /Strings/validIpAddresses.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Strings/validIpAddresses.cpp -------------------------------------------------------------------------------- /Trees/binaryTreeHeight.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Trees/binaryTreeHeight.cpp -------------------------------------------------------------------------------- /Trees/bstInsertion.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Trees/bstInsertion.cpp -------------------------------------------------------------------------------- /Trees/inOrder.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Trees/inOrder.cpp -------------------------------------------------------------------------------- /Trees/lcabst.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Trees/lcabst.cpp -------------------------------------------------------------------------------- /Trees/levelOrder.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Trees/levelOrder.cpp -------------------------------------------------------------------------------- /Trees/postOrder.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Trees/postOrder.cpp -------------------------------------------------------------------------------- /Trees/preOrder.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Trees/preOrder.cpp -------------------------------------------------------------------------------- /Trees/search.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Trees/search.cpp -------------------------------------------------------------------------------- /Trees/topView.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Trees/topView.cpp -------------------------------------------------------------------------------- /Trees/verticalOrder.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharmaadityaHQ/CPP-and-Algorithms/HEAD/Trees/verticalOrder.cpp --------------------------------------------------------------------------------