├── .gitignore ├── Arrays-In-Js ├── Dutch-National-Flag.js ├── Max-Min-In-Array.js └── Reverse-An-Array.js ├── Arrays ├── 10_MinimumNumberOfJumpsToReachEndOfAnArray.cpp ├── 11_FindDuplicateInAnArrayOfN+1Integers.cpp ├── 12_MergeTwoSortedArraysWithoutExtraSpace.cpp ├── 13_Kadane'sAlgo.cpp ├── 14_MergeIntervals.cpp ├── 15_NextPermutation.cpp ├── 16_Count-Inversions.cpp ├── 16_CountInversion.cpp ├── 17_BestTimeToBuyAndSellStock.cpp ├── 18_FindAllPairsOnIntegerArrayWhoseSumIsEqualToAGivenNumber.cpp ├── 19_FindCommonElementsIn3SortedArrays.cpp ├── 1_ReverseAnArray.cpp ├── 20_RearrangeTheArrayInAlternatingPositiveAndNegativeItemsWithO1ExtraSpace.cpp ├── 21_FindIfThereIsAnySubarrayWithSumEqualTo0.cpp ├── 22_FactorialOfALargeNumber.cpp ├── 23_FindMaximumProductSubarray.cpp ├── 24_LongestConsecutiveSubsequence.cpp ├── 25_ArrayElementsAppearingMoreThanNKTimes.cpp ├── 26_MaximumProfitByBuyingAndSellingAShareAtmostTwice.cpp ├── 27_FindWhetherAnArrayIsSubsetOfAnotherArray.cpp ├── 28_FindTheTripletThatSumToAGivenValue.cpp ├── 29_TrappingRainWater.cpp ├── 2_FindTheMinimumAndMaximumElementInAnArray.cpp ├── 30_ChocolateDistributionProblem.cpp ├── 31_SmallestSubarrayWithSumGreaterThanAGivenValue.cpp ├── 32_ThreeWayPartitioningOfAnArrayAroundAGivenValue.cpp ├── 33_MinimumSwapsRequiredToBringElementsLessThanKTogether.cpp ├── 34_MinimumNumberOfOperationsRequiredToMakeAnArrayPalindrome.cpp ├── 35_MedianOfTwoSortedArrayOfSameSize.cpp ├── 36_MedianOf2SortedArraysOfDifferentSizes.cpp ├── 37_Maximum Product Subarray.cpp ├── 3_KthSmallestElement.cpp ├── 4_SortAnArrayOf0s1s2s.cpp ├── 5_MoveAllNegativeNumbersToBeginning.cpp ├── 6_FindUnionAndIntersectionOfTwoarrays.cpp ├── 7_CyclicallyRotateAnArrayByOne.cpp ├── 8_LargestSumContiguousSubarray.cpp └── 9_MinimizeTheMaximumDifferenceBetweenHeights.cpp ├── Backtracking ├── 1_RatInAMazeBacktracking.cpp ├── 2_NQueenProblem.cpp ├── 3_ColoringProblem.cpp └── 5_SudokuSolver ├── Binary Tree ├── 10_RightViewofbinaryTree ├── 12_BottomViewOfBinaryTree.cpp ├── 14_CheckForBalancedTree.cpp ├── 3_HeightOfBinaryTree.cpp ├── 4_DiameterOfBinaryTree.cpp └── Leetcode_145_PostOrderTraversalRecursiveAndIterative.cpp ├── Graphs ├── 13_ImplementTopologicalSort.cpp ├── 22_ImplementFloydWarshallAlgorithm.cpp ├── 25_SnakeandLadderProblem.cpp ├── 27_StronglyConnectedComponents(Kosaraju'sAlgo).cpp ├── 32_CheapestFlightsWithinKStops.cpp ├── 358_DFS_SearchElement.cpp ├── 6_Floodfillalgorithm.cpp ├── 7_MinimumStepByKnight.cpp ├── 9_CloneAGraph.cpp └── DFS_SearchElement.cpp ├── Linked List ├── 2_IsPalindrome.cpp ├── 6_RemoveDuplicatesfromSortedList.cpp └── Floyds_Cycle_Detection_Algorithm.cpp ├── Matrix ├── 1_SpiralTraversalOfAMatrix.cpp ├── 2_SearchAnElementInAMatrix.cpp ├── 3_FindMedianInRowWiseSortedMatrix.cpp ├── 4_FindRowWithMaximumNumberOf1s.cpp └── 5_PrintElementsInSortedOrderUsingRowColumnWiseSortedMatrix.cpp ├── README.md └── Stacks&Queues ├── 10_TheCelebrityProblem.cpp ├── 11_ArithmeticExpressionEvaluation.txt ├── 12_EvaluatePostfixExpression.cpp ├── 13_ImplementAMethodToInsertAnElementAtItsBottomWithoutUsingAnyOtherDataStructure.cpp ├── 14_ReverseAStackUsingRecursion.cpp ├── 15_SortAStackUsingRecursion.cpp ├── 16_MergeOverlappingIntervals.cpp ├── 17_LargestRectangularAreaInHistogram.cpp ├── 18_LengthOfTheLongestValidSubstring.cpp ├── 19_ExpressionContainsRedundantBracketOrNot.cpp ├── 1_ImplementStackFromScratch.cpp ├── 20_ImplementStackUsingQueue.cpp ├── 2_ImplementQueueFromScratch.cpp ├── 3_Implement2StacksInAnArrays.cpp ├── 4_FindTheMiddleElementOfStack.cpp ├── 5_ImplementNStacksInAnArray.cpp ├── 6_CheckTheExpressionHasValidOrBalancedParenthesisOrNot.cpp ├── 7_ReverseAStringUsingStack.cpp ├── 8_DesignAStackThatSupportsgetMinInO1TimeAndO1ExtraSpace.cpp └── 9_FindTheNextGreaterElement.cpp /.gitignore: -------------------------------------------------------------------------------- 1 | *.exe -------------------------------------------------------------------------------- /Arrays-In-Js/Dutch-National-Flag.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Arrays-In-Js/Dutch-National-Flag.js -------------------------------------------------------------------------------- /Arrays-In-Js/Max-Min-In-Array.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Arrays-In-Js/Max-Min-In-Array.js -------------------------------------------------------------------------------- /Arrays-In-Js/Reverse-An-Array.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Arrays-In-Js/Reverse-An-Array.js -------------------------------------------------------------------------------- /Arrays/10_MinimumNumberOfJumpsToReachEndOfAnArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Arrays/10_MinimumNumberOfJumpsToReachEndOfAnArray.cpp -------------------------------------------------------------------------------- /Arrays/11_FindDuplicateInAnArrayOfN+1Integers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Arrays/11_FindDuplicateInAnArrayOfN+1Integers.cpp -------------------------------------------------------------------------------- /Arrays/12_MergeTwoSortedArraysWithoutExtraSpace.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Arrays/12_MergeTwoSortedArraysWithoutExtraSpace.cpp -------------------------------------------------------------------------------- /Arrays/13_Kadane'sAlgo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Arrays/13_Kadane'sAlgo.cpp -------------------------------------------------------------------------------- /Arrays/14_MergeIntervals.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Arrays/14_MergeIntervals.cpp -------------------------------------------------------------------------------- /Arrays/15_NextPermutation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Arrays/15_NextPermutation.cpp -------------------------------------------------------------------------------- /Arrays/16_Count-Inversions.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Arrays/16_Count-Inversions.cpp -------------------------------------------------------------------------------- /Arrays/16_CountInversion.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Arrays/16_CountInversion.cpp -------------------------------------------------------------------------------- /Arrays/17_BestTimeToBuyAndSellStock.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Arrays/17_BestTimeToBuyAndSellStock.cpp -------------------------------------------------------------------------------- /Arrays/18_FindAllPairsOnIntegerArrayWhoseSumIsEqualToAGivenNumber.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Arrays/18_FindAllPairsOnIntegerArrayWhoseSumIsEqualToAGivenNumber.cpp -------------------------------------------------------------------------------- /Arrays/19_FindCommonElementsIn3SortedArrays.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Arrays/19_FindCommonElementsIn3SortedArrays.cpp -------------------------------------------------------------------------------- /Arrays/1_ReverseAnArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Arrays/1_ReverseAnArray.cpp -------------------------------------------------------------------------------- /Arrays/20_RearrangeTheArrayInAlternatingPositiveAndNegativeItemsWithO1ExtraSpace.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Arrays/20_RearrangeTheArrayInAlternatingPositiveAndNegativeItemsWithO1ExtraSpace.cpp -------------------------------------------------------------------------------- /Arrays/21_FindIfThereIsAnySubarrayWithSumEqualTo0.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Arrays/21_FindIfThereIsAnySubarrayWithSumEqualTo0.cpp -------------------------------------------------------------------------------- /Arrays/22_FactorialOfALargeNumber.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Arrays/22_FactorialOfALargeNumber.cpp -------------------------------------------------------------------------------- /Arrays/23_FindMaximumProductSubarray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Arrays/23_FindMaximumProductSubarray.cpp -------------------------------------------------------------------------------- /Arrays/24_LongestConsecutiveSubsequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Arrays/24_LongestConsecutiveSubsequence.cpp -------------------------------------------------------------------------------- /Arrays/25_ArrayElementsAppearingMoreThanNKTimes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Arrays/25_ArrayElementsAppearingMoreThanNKTimes.cpp -------------------------------------------------------------------------------- /Arrays/26_MaximumProfitByBuyingAndSellingAShareAtmostTwice.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Arrays/26_MaximumProfitByBuyingAndSellingAShareAtmostTwice.cpp -------------------------------------------------------------------------------- /Arrays/27_FindWhetherAnArrayIsSubsetOfAnotherArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Arrays/27_FindWhetherAnArrayIsSubsetOfAnotherArray.cpp -------------------------------------------------------------------------------- /Arrays/28_FindTheTripletThatSumToAGivenValue.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Arrays/28_FindTheTripletThatSumToAGivenValue.cpp -------------------------------------------------------------------------------- /Arrays/29_TrappingRainWater.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Arrays/29_TrappingRainWater.cpp -------------------------------------------------------------------------------- /Arrays/2_FindTheMinimumAndMaximumElementInAnArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Arrays/2_FindTheMinimumAndMaximumElementInAnArray.cpp -------------------------------------------------------------------------------- /Arrays/30_ChocolateDistributionProblem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Arrays/30_ChocolateDistributionProblem.cpp -------------------------------------------------------------------------------- /Arrays/31_SmallestSubarrayWithSumGreaterThanAGivenValue.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Arrays/31_SmallestSubarrayWithSumGreaterThanAGivenValue.cpp -------------------------------------------------------------------------------- /Arrays/32_ThreeWayPartitioningOfAnArrayAroundAGivenValue.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Arrays/32_ThreeWayPartitioningOfAnArrayAroundAGivenValue.cpp -------------------------------------------------------------------------------- /Arrays/33_MinimumSwapsRequiredToBringElementsLessThanKTogether.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Arrays/33_MinimumSwapsRequiredToBringElementsLessThanKTogether.cpp -------------------------------------------------------------------------------- /Arrays/34_MinimumNumberOfOperationsRequiredToMakeAnArrayPalindrome.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Arrays/34_MinimumNumberOfOperationsRequiredToMakeAnArrayPalindrome.cpp -------------------------------------------------------------------------------- /Arrays/35_MedianOfTwoSortedArrayOfSameSize.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Arrays/35_MedianOfTwoSortedArrayOfSameSize.cpp -------------------------------------------------------------------------------- /Arrays/36_MedianOf2SortedArraysOfDifferentSizes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Arrays/36_MedianOf2SortedArraysOfDifferentSizes.cpp -------------------------------------------------------------------------------- /Arrays/37_Maximum Product Subarray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Arrays/37_Maximum Product Subarray.cpp -------------------------------------------------------------------------------- /Arrays/3_KthSmallestElement.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Arrays/3_KthSmallestElement.cpp -------------------------------------------------------------------------------- /Arrays/4_SortAnArrayOf0s1s2s.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Arrays/4_SortAnArrayOf0s1s2s.cpp -------------------------------------------------------------------------------- /Arrays/5_MoveAllNegativeNumbersToBeginning.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Arrays/5_MoveAllNegativeNumbersToBeginning.cpp -------------------------------------------------------------------------------- /Arrays/6_FindUnionAndIntersectionOfTwoarrays.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Arrays/6_FindUnionAndIntersectionOfTwoarrays.cpp -------------------------------------------------------------------------------- /Arrays/7_CyclicallyRotateAnArrayByOne.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Arrays/7_CyclicallyRotateAnArrayByOne.cpp -------------------------------------------------------------------------------- /Arrays/8_LargestSumContiguousSubarray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Arrays/8_LargestSumContiguousSubarray.cpp -------------------------------------------------------------------------------- /Arrays/9_MinimizeTheMaximumDifferenceBetweenHeights.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Arrays/9_MinimizeTheMaximumDifferenceBetweenHeights.cpp -------------------------------------------------------------------------------- /Backtracking/1_RatInAMazeBacktracking.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Backtracking/1_RatInAMazeBacktracking.cpp -------------------------------------------------------------------------------- /Backtracking/2_NQueenProblem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Backtracking/2_NQueenProblem.cpp -------------------------------------------------------------------------------- /Backtracking/3_ColoringProblem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Backtracking/3_ColoringProblem.cpp -------------------------------------------------------------------------------- /Backtracking/5_SudokuSolver: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Backtracking/5_SudokuSolver -------------------------------------------------------------------------------- /Binary Tree/10_RightViewofbinaryTree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Binary Tree/10_RightViewofbinaryTree -------------------------------------------------------------------------------- /Binary Tree/12_BottomViewOfBinaryTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Binary Tree/12_BottomViewOfBinaryTree.cpp -------------------------------------------------------------------------------- /Binary Tree/14_CheckForBalancedTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Binary Tree/14_CheckForBalancedTree.cpp -------------------------------------------------------------------------------- /Binary Tree/3_HeightOfBinaryTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Binary Tree/3_HeightOfBinaryTree.cpp -------------------------------------------------------------------------------- /Binary Tree/4_DiameterOfBinaryTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Binary Tree/4_DiameterOfBinaryTree.cpp -------------------------------------------------------------------------------- /Binary Tree/Leetcode_145_PostOrderTraversalRecursiveAndIterative.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Binary Tree/Leetcode_145_PostOrderTraversalRecursiveAndIterative.cpp -------------------------------------------------------------------------------- /Graphs/13_ImplementTopologicalSort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Graphs/13_ImplementTopologicalSort.cpp -------------------------------------------------------------------------------- /Graphs/22_ImplementFloydWarshallAlgorithm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Graphs/22_ImplementFloydWarshallAlgorithm.cpp -------------------------------------------------------------------------------- /Graphs/25_SnakeandLadderProblem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Graphs/25_SnakeandLadderProblem.cpp -------------------------------------------------------------------------------- /Graphs/27_StronglyConnectedComponents(Kosaraju'sAlgo).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Graphs/27_StronglyConnectedComponents(Kosaraju'sAlgo).cpp -------------------------------------------------------------------------------- /Graphs/32_CheapestFlightsWithinKStops.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Graphs/32_CheapestFlightsWithinKStops.cpp -------------------------------------------------------------------------------- /Graphs/358_DFS_SearchElement.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Graphs/358_DFS_SearchElement.cpp -------------------------------------------------------------------------------- /Graphs/6_Floodfillalgorithm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Graphs/6_Floodfillalgorithm.cpp -------------------------------------------------------------------------------- /Graphs/7_MinimumStepByKnight.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Graphs/7_MinimumStepByKnight.cpp -------------------------------------------------------------------------------- /Graphs/9_CloneAGraph.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Graphs/9_CloneAGraph.cpp -------------------------------------------------------------------------------- /Graphs/DFS_SearchElement.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Graphs/DFS_SearchElement.cpp -------------------------------------------------------------------------------- /Linked List/2_IsPalindrome.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Linked List/2_IsPalindrome.cpp -------------------------------------------------------------------------------- /Linked List/6_RemoveDuplicatesfromSortedList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Linked List/6_RemoveDuplicatesfromSortedList.cpp -------------------------------------------------------------------------------- /Linked List/Floyds_Cycle_Detection_Algorithm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Linked List/Floyds_Cycle_Detection_Algorithm.cpp -------------------------------------------------------------------------------- /Matrix/1_SpiralTraversalOfAMatrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Matrix/1_SpiralTraversalOfAMatrix.cpp -------------------------------------------------------------------------------- /Matrix/2_SearchAnElementInAMatrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Matrix/2_SearchAnElementInAMatrix.cpp -------------------------------------------------------------------------------- /Matrix/3_FindMedianInRowWiseSortedMatrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Matrix/3_FindMedianInRowWiseSortedMatrix.cpp -------------------------------------------------------------------------------- /Matrix/4_FindRowWithMaximumNumberOf1s.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Matrix/4_FindRowWithMaximumNumberOf1s.cpp -------------------------------------------------------------------------------- /Matrix/5_PrintElementsInSortedOrderUsingRowColumnWiseSortedMatrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Matrix/5_PrintElementsInSortedOrderUsingRowColumnWiseSortedMatrix.cpp -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/README.md -------------------------------------------------------------------------------- /Stacks&Queues/10_TheCelebrityProblem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Stacks&Queues/10_TheCelebrityProblem.cpp -------------------------------------------------------------------------------- /Stacks&Queues/11_ArithmeticExpressionEvaluation.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Stacks&Queues/11_ArithmeticExpressionEvaluation.txt -------------------------------------------------------------------------------- /Stacks&Queues/12_EvaluatePostfixExpression.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Stacks&Queues/12_EvaluatePostfixExpression.cpp -------------------------------------------------------------------------------- /Stacks&Queues/13_ImplementAMethodToInsertAnElementAtItsBottomWithoutUsingAnyOtherDataStructure.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Stacks&Queues/13_ImplementAMethodToInsertAnElementAtItsBottomWithoutUsingAnyOtherDataStructure.cpp -------------------------------------------------------------------------------- /Stacks&Queues/14_ReverseAStackUsingRecursion.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Stacks&Queues/14_ReverseAStackUsingRecursion.cpp -------------------------------------------------------------------------------- /Stacks&Queues/15_SortAStackUsingRecursion.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Stacks&Queues/15_SortAStackUsingRecursion.cpp -------------------------------------------------------------------------------- /Stacks&Queues/16_MergeOverlappingIntervals.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Stacks&Queues/16_MergeOverlappingIntervals.cpp -------------------------------------------------------------------------------- /Stacks&Queues/17_LargestRectangularAreaInHistogram.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Stacks&Queues/17_LargestRectangularAreaInHistogram.cpp -------------------------------------------------------------------------------- /Stacks&Queues/18_LengthOfTheLongestValidSubstring.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Stacks&Queues/18_LengthOfTheLongestValidSubstring.cpp -------------------------------------------------------------------------------- /Stacks&Queues/19_ExpressionContainsRedundantBracketOrNot.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Stacks&Queues/19_ExpressionContainsRedundantBracketOrNot.cpp -------------------------------------------------------------------------------- /Stacks&Queues/1_ImplementStackFromScratch.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Stacks&Queues/1_ImplementStackFromScratch.cpp -------------------------------------------------------------------------------- /Stacks&Queues/20_ImplementStackUsingQueue.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Stacks&Queues/20_ImplementStackUsingQueue.cpp -------------------------------------------------------------------------------- /Stacks&Queues/2_ImplementQueueFromScratch.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Stacks&Queues/2_ImplementQueueFromScratch.cpp -------------------------------------------------------------------------------- /Stacks&Queues/3_Implement2StacksInAnArrays.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Stacks&Queues/3_Implement2StacksInAnArrays.cpp -------------------------------------------------------------------------------- /Stacks&Queues/4_FindTheMiddleElementOfStack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Stacks&Queues/4_FindTheMiddleElementOfStack.cpp -------------------------------------------------------------------------------- /Stacks&Queues/5_ImplementNStacksInAnArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Stacks&Queues/5_ImplementNStacksInAnArray.cpp -------------------------------------------------------------------------------- /Stacks&Queues/6_CheckTheExpressionHasValidOrBalancedParenthesisOrNot.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Stacks&Queues/6_CheckTheExpressionHasValidOrBalancedParenthesisOrNot.cpp -------------------------------------------------------------------------------- /Stacks&Queues/7_ReverseAStringUsingStack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Stacks&Queues/7_ReverseAStringUsingStack.cpp -------------------------------------------------------------------------------- /Stacks&Queues/8_DesignAStackThatSupportsgetMinInO1TimeAndO1ExtraSpace.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Stacks&Queues/8_DesignAStackThatSupportsgetMinInO1TimeAndO1ExtraSpace.cpp -------------------------------------------------------------------------------- /Stacks&Queues/9_FindTheNextGreaterElement.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarunsinghdev/DSA-CRACKER/HEAD/Stacks&Queues/9_FindTheNextGreaterElement.cpp --------------------------------------------------------------------------------