├── Arrays & Strings ├── Break Words.cpp ├── Check_Permuations.cpp ├── Compress_the_String.cpp ├── Count Platforms.cpp ├── Find_Duplicate.cpp ├── Find_an_element.cpp ├── Introduction_Char_Array.cpp ├── Largest Unique Substring.cpp ├── Leaders In Array.cpp ├── Maximize the sum.cpp ├── Merge_two_Sorted_Arrays.cpp ├── Pallindrome Substrings.cpp ├── Print Like a Wave.cpp ├── Print Spiral.cpp ├── PrintIntersection.cpp ├── Push_Zeroes To End.cpp ├── Recover_Array.cpp ├── Reverse Word Wise.cpp ├── Reverse_Each_Word.cpp ├── Rotate_Matrix.cpp ├── SizeOf.cpp ├── Sort_0_1_2.cpp ├── Strings.cpp └── Strings2.cpp ├── BST ├── BST Sorted To LL.cpp ├── BST_Class.cpp ├── CheckBST1 │ ├── BinaryTreeNode.h │ └── BinaryTreeUse.cpp ├── CheckBST2 │ ├── BinaryTreeNode.h │ └── BinaryTreeUse.cpp ├── CheckBST3 │ ├── BinaryTreeNode.h │ ├── BinaryTreeUse.cpp │ └── PrintDiagonal.cpp ├── LevelWithMaxNodes.cpp └── RootToNodePath │ ├── BinaryTreeNode.h │ └── BinaryTreeUse.cpp ├── Backtracking ├── CombationalSum.cpp ├── Lexicograhical Order.cpp ├── NQueens.cpp ├── NoOf Number with Duplicates.cpp ├── PrintSubsetsOfArray.cpp ├── PrintSubsetsSumOfArray.cpp ├── ReturnSubsetOfArray.cpp └── Sudoku.cpp ├── BalancedtreeArray.cpp ├── BinaryTrees ├── BinTrees │ ├── BinaryTreeNode.h │ └── BinaryTreeUse.cpp ├── Boundary Traversal.cpp ├── Construct1.cpp ├── Construct2.cpp ├── Depth of a Binary Tree.cpp ├── Diameter │ ├── BinaryTreeNode.h │ └── BinaryTreeUse.cpp ├── Kth SmallesNode.cpp ├── Level Wise Linked List.cpp ├── Longest Leaf to root path.cpp ├── Maximum Leave Path.cpp ├── MinMax.cpp ├── Mirror.cpp ├── Print Specific Tree Pattern.cpp ├── Rahul Counting Tree.cpp ├── TakeInputPrintRecursive │ ├── BinaryTreeNode.h │ └── BinaryTreeUse.cpp └── TakeInputQueue │ ├── BinaryTreeNode.h │ └── BinaryTreeUse.cpp ├── BitTricks ├── CheckPowerOf4.cpp ├── ClearAllBitsFromMSB.cpp ├── Find1stSetBit.cpp ├── Set_ith_Bit.cpp ├── TurnOff1stSetBit.cpp └── Unset_ith_bit.cpp ├── DP (1D) ├── (TODO)FairWorkLoad.cpp ├── Alpha Code.cpp ├── Boredom.cpp ├── ByteLand.cpp ├── CoinTower.cpp ├── Kadane_Max_sum_subarray.cpp ├── LIS.cpp ├── Loot Houses.cpp ├── Max_Rectangle.cpp ├── Min Number of chocolates.cpp ├── MinCount.cpp ├── NoOf Balance BTs.cpp ├── NoOf Balanced BSTs.cpp ├── Number_of_APs.cpp └── Tetrahedron.cpp ├── DP (2D) ├── Edit_Distance.cpp ├── Knapsack0-1.cpp ├── LCS.cpp ├── MCM.cpp ├── MagicGrid.cpp ├── MaxSubSquare with all zeros.cpp ├── MaxSumRectangle.cpp ├── MinCostPath.cpp ├── ShortestUncommenSubsequence.cpp ├── Smallest SuperSequence.cpp └── WaysToMakeCoinChange.cpp ├── DemosubsetBacktracking.cpp ├── Dynamic Allocation ├── Address_typecasting.cpp ├── Dynamic Allocation.cpp └── Reference Pass By Reference.cpp ├── FlattenBSTtoLL.cpp ├── Graphs ├── BFS.cpp ├── CodingNinja.cpp ├── ConnectedDots.cpp ├── GetPathBFS.cpp ├── GetPathDFS.cpp ├── HasPath.cpp ├── IsConnected.cpp ├── Island.cpp ├── LargestPiece.cpp ├── ReturnAllConnectedComponents.cpp └── ThreeCycle.cpp ├── Graphs2 ├── BOTTOM.cpp ├── Bellman–Ford Algorithm.cpp ├── CountWays.cpp ├── DelhiTraffic.cpp ├── DijikstraAlgo.cpp ├── Fishmonger.cpp ├── Kosaraju.cpp ├── Kruskall's Algorithm.cpp ├── Monk&theIslands.cpp ├── PrimsAlgo.cpp ├── Space_smugler.cpp └── TripToCities.cpp ├── Hashing ├── Hashmap Implementation(Insert).cpp ├── Inbuilt Hash Unordered_Maps.cpp ├── Iterators.cpp ├── Load factor and Rehashing notes.txt ├── Longest Consecutive Subsequence.cpp ├── Longest Subset.cpp ├── Make String Anagrams.cpp ├── Max Freq.cpp ├── Nearest Repititon.cpp ├── Pair Sum to Zero.cpp ├── Pair with a difference.cpp ├── Print Intersection.cpp ├── Remove Duplicates.cpp ├── Vertical Order.cpp └── Zero sum Sub array.cpp ├── KMP-stringMatching.cpp ├── LinkedList ├── Delete(Recursive).cpp ├── DeleteNode.cpp ├── DeleteNskipM.cpp ├── DivideLLInto2.cpp ├── EvenAfterOddLL.cpp ├── Insert(recursive).cpp ├── KReverse.cpp ├── LenghtofLL(recursive).cpp ├── LetFirstBeLast.cpp ├── PallindromList.cpp ├── Swap2nodes.cpp └── UnionLL.cpp ├── LinkedList2 ├── BubbleSortLL.cpp ├── DecimalEquivalent.cpp ├── InsertionSort.cpp ├── Merge2SortedList.cpp ├── MergeSortLL.cpp ├── MidPointofLL.cpp ├── MoveToLast.cpp ├── NextNumber.cpp ├── ReplaceDuplicateValues.cpp ├── ReverseLL(iterative).cpp ├── ReverseLL(recursive).cpp └── SwapEveryPair.cpp ├── MIDLE.cpp ├── MaxSumFromAnyNodetoAnyNode.cpp ├── OOPS └── Polynomial.cpp ├── Priority Queues ├── BuyTheTickets.cpp ├── CheckMaxHeap.cpp ├── InplaceHeapSort.cpp ├── Insert.h ├── KLargestElements.cpp ├── KSmallestElements.cpp ├── KthLargest.cpp ├── MergeKSortedArrays.cpp ├── RunningMedian.cpp ├── priority_queue.h └── priority_queueImplementation.cpp ├── README.md ├── Recursion -1 ├── All Indices of Number.cpp ├── Check Palindrom(recursive).cpp ├── Count Zeroes.cpp ├── Fibonacci.cpp ├── First_Index_of_Number.cpp ├── Last Index of Number.cpp ├── Recursion&Strings.cpp └── is_sorted.cpp ├── Recursion -2 ├── Flags.cpp ├── Generate All Parathenses.cpp ├── Increasing Numbers.cpp ├── Interleaving.cpp ├── Merge Sort.cpp ├── Print Keypad Combination Code.cpp ├── Quick Sort.cpp ├── Remove Duplictes Recursively.cpp ├── Replace Character Recursively.cpp ├── Replace Pi.cpp ├── Return Keypad Code.cpp ├── Return all codes-Strings.cpp ├── Staircase.cpp ├── String To Integer.cpp └── String of Lenght k.cpp ├── Stack&Queue ├── BalancedParanthesis.cpp ├── Deque.cpp ├── InfixToPostfix.cpp ├── MinBracketReversal.cpp ├── QueueUsingLL.cpp ├── ReverseFirstKelements.cpp ├── Sort_a_Stack.cpp ├── StackUsingLL.cpp ├── StackWith2Queues.cpp └── StockSpan.cpp ├── SubsequenceGeneration.cpp ├── Trees ├── Comarades and their Traditions.cpp ├── CountLeafNodes.cpp ├── FindHeight.cpp ├── MaxNodeInTree.cpp ├── NextLargestNode.cpp ├── NodeWithTotalSumMax.cpp ├── PrintLevelWise.cpp ├── ReplaceNodeWithDepth.cpp ├── Second_Largest.cpp ├── SumOfAllNodes.cpp └── Tree │ ├── TreeNode.h │ ├── TreeUse.cpp │ └── vectoruse.cpp ├── Tries ├── AutoComple.cpp ├── PallindromPair.cpp ├── PatternMatching.cpp ├── TrieImplementation │ ├── Trie.h │ ├── TrieNode.h │ └── TrieUse.cpp └── TrieSearch.cpp ├── a4.py ├── binarytree.cpp ├── deletionBST.cpp ├── heapsort.cpp ├── hello.cpp ├── mergesort.cpp ├── searchingInBST.cpp └── tiling.cpp /Arrays & Strings/Break Words.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Arrays & Strings/Break Words.cpp -------------------------------------------------------------------------------- /Arrays & Strings/Check_Permuations.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Arrays & Strings/Check_Permuations.cpp -------------------------------------------------------------------------------- /Arrays & Strings/Compress_the_String.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Arrays & Strings/Compress_the_String.cpp -------------------------------------------------------------------------------- /Arrays & Strings/Count Platforms.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Arrays & Strings/Count Platforms.cpp -------------------------------------------------------------------------------- /Arrays & Strings/Find_Duplicate.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Arrays & Strings/Find_Duplicate.cpp -------------------------------------------------------------------------------- /Arrays & Strings/Find_an_element.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Arrays & Strings/Find_an_element.cpp -------------------------------------------------------------------------------- /Arrays & Strings/Introduction_Char_Array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Arrays & Strings/Introduction_Char_Array.cpp -------------------------------------------------------------------------------- /Arrays & Strings/Largest Unique Substring.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Arrays & Strings/Largest Unique Substring.cpp -------------------------------------------------------------------------------- /Arrays & Strings/Leaders In Array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Arrays & Strings/Leaders In Array.cpp -------------------------------------------------------------------------------- /Arrays & Strings/Maximize the sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Arrays & Strings/Maximize the sum.cpp -------------------------------------------------------------------------------- /Arrays & Strings/Merge_two_Sorted_Arrays.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Arrays & Strings/Merge_two_Sorted_Arrays.cpp -------------------------------------------------------------------------------- /Arrays & Strings/Pallindrome Substrings.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Arrays & Strings/Pallindrome Substrings.cpp -------------------------------------------------------------------------------- /Arrays & Strings/Print Like a Wave.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Arrays & Strings/Print Like a Wave.cpp -------------------------------------------------------------------------------- /Arrays & Strings/Print Spiral.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Arrays & Strings/Print Spiral.cpp -------------------------------------------------------------------------------- /Arrays & Strings/PrintIntersection.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Arrays & Strings/PrintIntersection.cpp -------------------------------------------------------------------------------- /Arrays & Strings/Push_Zeroes To End.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Arrays & Strings/Push_Zeroes To End.cpp -------------------------------------------------------------------------------- /Arrays & Strings/Recover_Array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Arrays & Strings/Recover_Array.cpp -------------------------------------------------------------------------------- /Arrays & Strings/Reverse Word Wise.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Arrays & Strings/Reverse Word Wise.cpp -------------------------------------------------------------------------------- /Arrays & Strings/Reverse_Each_Word.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Arrays & Strings/Reverse_Each_Word.cpp -------------------------------------------------------------------------------- /Arrays & Strings/Rotate_Matrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Arrays & Strings/Rotate_Matrix.cpp -------------------------------------------------------------------------------- /Arrays & Strings/SizeOf.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Arrays & Strings/SizeOf.cpp -------------------------------------------------------------------------------- /Arrays & Strings/Sort_0_1_2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Arrays & Strings/Sort_0_1_2.cpp -------------------------------------------------------------------------------- /Arrays & Strings/Strings.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Arrays & Strings/Strings.cpp -------------------------------------------------------------------------------- /Arrays & Strings/Strings2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Arrays & Strings/Strings2.cpp -------------------------------------------------------------------------------- /BST/BST Sorted To LL.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/BST/BST Sorted To LL.cpp -------------------------------------------------------------------------------- /BST/BST_Class.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/BST/BST_Class.cpp -------------------------------------------------------------------------------- /BST/CheckBST1/BinaryTreeNode.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/BST/CheckBST1/BinaryTreeNode.h -------------------------------------------------------------------------------- /BST/CheckBST1/BinaryTreeUse.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/BST/CheckBST1/BinaryTreeUse.cpp -------------------------------------------------------------------------------- /BST/CheckBST2/BinaryTreeNode.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/BST/CheckBST2/BinaryTreeNode.h -------------------------------------------------------------------------------- /BST/CheckBST2/BinaryTreeUse.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/BST/CheckBST2/BinaryTreeUse.cpp -------------------------------------------------------------------------------- /BST/CheckBST3/BinaryTreeNode.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/BST/CheckBST3/BinaryTreeNode.h -------------------------------------------------------------------------------- /BST/CheckBST3/BinaryTreeUse.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/BST/CheckBST3/BinaryTreeUse.cpp -------------------------------------------------------------------------------- /BST/CheckBST3/PrintDiagonal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/BST/CheckBST3/PrintDiagonal.cpp -------------------------------------------------------------------------------- /BST/LevelWithMaxNodes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/BST/LevelWithMaxNodes.cpp -------------------------------------------------------------------------------- /BST/RootToNodePath/BinaryTreeNode.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/BST/RootToNodePath/BinaryTreeNode.h -------------------------------------------------------------------------------- /BST/RootToNodePath/BinaryTreeUse.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/BST/RootToNodePath/BinaryTreeUse.cpp -------------------------------------------------------------------------------- /Backtracking/CombationalSum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Backtracking/CombationalSum.cpp -------------------------------------------------------------------------------- /Backtracking/Lexicograhical Order.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Backtracking/Lexicograhical Order.cpp -------------------------------------------------------------------------------- /Backtracking/NQueens.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Backtracking/NQueens.cpp -------------------------------------------------------------------------------- /Backtracking/NoOf Number with Duplicates.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Backtracking/NoOf Number with Duplicates.cpp -------------------------------------------------------------------------------- /Backtracking/PrintSubsetsOfArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Backtracking/PrintSubsetsOfArray.cpp -------------------------------------------------------------------------------- /Backtracking/PrintSubsetsSumOfArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Backtracking/PrintSubsetsSumOfArray.cpp -------------------------------------------------------------------------------- /Backtracking/ReturnSubsetOfArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Backtracking/ReturnSubsetOfArray.cpp -------------------------------------------------------------------------------- /Backtracking/Sudoku.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Backtracking/Sudoku.cpp -------------------------------------------------------------------------------- /BalancedtreeArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/BalancedtreeArray.cpp -------------------------------------------------------------------------------- /BinaryTrees/BinTrees/BinaryTreeNode.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/BinaryTrees/BinTrees/BinaryTreeNode.h -------------------------------------------------------------------------------- /BinaryTrees/BinTrees/BinaryTreeUse.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/BinaryTrees/BinTrees/BinaryTreeUse.cpp -------------------------------------------------------------------------------- /BinaryTrees/Boundary Traversal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/BinaryTrees/Boundary Traversal.cpp -------------------------------------------------------------------------------- /BinaryTrees/Construct1.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/BinaryTrees/Construct1.cpp -------------------------------------------------------------------------------- /BinaryTrees/Construct2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/BinaryTrees/Construct2.cpp -------------------------------------------------------------------------------- /BinaryTrees/Depth of a Binary Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/BinaryTrees/Depth of a Binary Tree.cpp -------------------------------------------------------------------------------- /BinaryTrees/Diameter/BinaryTreeNode.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/BinaryTrees/Diameter/BinaryTreeNode.h -------------------------------------------------------------------------------- /BinaryTrees/Diameter/BinaryTreeUse.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/BinaryTrees/Diameter/BinaryTreeUse.cpp -------------------------------------------------------------------------------- /BinaryTrees/Kth SmallesNode.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/BinaryTrees/Kth SmallesNode.cpp -------------------------------------------------------------------------------- /BinaryTrees/Level Wise Linked List.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/BinaryTrees/Level Wise Linked List.cpp -------------------------------------------------------------------------------- /BinaryTrees/Longest Leaf to root path.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/BinaryTrees/Longest Leaf to root path.cpp -------------------------------------------------------------------------------- /BinaryTrees/Maximum Leave Path.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/BinaryTrees/Maximum Leave Path.cpp -------------------------------------------------------------------------------- /BinaryTrees/MinMax.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/BinaryTrees/MinMax.cpp -------------------------------------------------------------------------------- /BinaryTrees/Mirror.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/BinaryTrees/Mirror.cpp -------------------------------------------------------------------------------- /BinaryTrees/Print Specific Tree Pattern.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/BinaryTrees/Print Specific Tree Pattern.cpp -------------------------------------------------------------------------------- /BinaryTrees/Rahul Counting Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/BinaryTrees/Rahul Counting Tree.cpp -------------------------------------------------------------------------------- /BinaryTrees/TakeInputPrintRecursive/BinaryTreeNode.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/BinaryTrees/TakeInputPrintRecursive/BinaryTreeNode.h -------------------------------------------------------------------------------- /BinaryTrees/TakeInputPrintRecursive/BinaryTreeUse.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/BinaryTrees/TakeInputPrintRecursive/BinaryTreeUse.cpp -------------------------------------------------------------------------------- /BinaryTrees/TakeInputQueue/BinaryTreeNode.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/BinaryTrees/TakeInputQueue/BinaryTreeNode.h -------------------------------------------------------------------------------- /BinaryTrees/TakeInputQueue/BinaryTreeUse.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/BinaryTrees/TakeInputQueue/BinaryTreeUse.cpp -------------------------------------------------------------------------------- /BitTricks/CheckPowerOf4.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/BitTricks/CheckPowerOf4.cpp -------------------------------------------------------------------------------- /BitTricks/ClearAllBitsFromMSB.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/BitTricks/ClearAllBitsFromMSB.cpp -------------------------------------------------------------------------------- /BitTricks/Find1stSetBit.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/BitTricks/Find1stSetBit.cpp -------------------------------------------------------------------------------- /BitTricks/Set_ith_Bit.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/BitTricks/Set_ith_Bit.cpp -------------------------------------------------------------------------------- /BitTricks/TurnOff1stSetBit.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/BitTricks/TurnOff1stSetBit.cpp -------------------------------------------------------------------------------- /BitTricks/Unset_ith_bit.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/BitTricks/Unset_ith_bit.cpp -------------------------------------------------------------------------------- /DP (1D)/(TODO)FairWorkLoad.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/DP (1D)/(TODO)FairWorkLoad.cpp -------------------------------------------------------------------------------- /DP (1D)/Alpha Code.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/DP (1D)/Alpha Code.cpp -------------------------------------------------------------------------------- /DP (1D)/Boredom.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/DP (1D)/Boredom.cpp -------------------------------------------------------------------------------- /DP (1D)/ByteLand.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/DP (1D)/ByteLand.cpp -------------------------------------------------------------------------------- /DP (1D)/CoinTower.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/DP (1D)/CoinTower.cpp -------------------------------------------------------------------------------- /DP (1D)/Kadane_Max_sum_subarray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/DP (1D)/Kadane_Max_sum_subarray.cpp -------------------------------------------------------------------------------- /DP (1D)/LIS.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/DP (1D)/LIS.cpp -------------------------------------------------------------------------------- /DP (1D)/Loot Houses.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/DP (1D)/Loot Houses.cpp -------------------------------------------------------------------------------- /DP (1D)/Max_Rectangle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/DP (1D)/Max_Rectangle.cpp -------------------------------------------------------------------------------- /DP (1D)/Min Number of chocolates.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/DP (1D)/Min Number of chocolates.cpp -------------------------------------------------------------------------------- /DP (1D)/MinCount.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/DP (1D)/MinCount.cpp -------------------------------------------------------------------------------- /DP (1D)/NoOf Balance BTs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/DP (1D)/NoOf Balance BTs.cpp -------------------------------------------------------------------------------- /DP (1D)/NoOf Balanced BSTs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/DP (1D)/NoOf Balanced BSTs.cpp -------------------------------------------------------------------------------- /DP (1D)/Number_of_APs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/DP (1D)/Number_of_APs.cpp -------------------------------------------------------------------------------- /DP (1D)/Tetrahedron.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/DP (1D)/Tetrahedron.cpp -------------------------------------------------------------------------------- /DP (2D)/Edit_Distance.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/DP (2D)/Edit_Distance.cpp -------------------------------------------------------------------------------- /DP (2D)/Knapsack0-1.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/DP (2D)/Knapsack0-1.cpp -------------------------------------------------------------------------------- /DP (2D)/LCS.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/DP (2D)/LCS.cpp -------------------------------------------------------------------------------- /DP (2D)/MCM.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/DP (2D)/MCM.cpp -------------------------------------------------------------------------------- /DP (2D)/MagicGrid.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/DP (2D)/MagicGrid.cpp -------------------------------------------------------------------------------- /DP (2D)/MaxSubSquare with all zeros.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/DP (2D)/MaxSubSquare with all zeros.cpp -------------------------------------------------------------------------------- /DP (2D)/MaxSumRectangle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/DP (2D)/MaxSumRectangle.cpp -------------------------------------------------------------------------------- /DP (2D)/MinCostPath.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/DP (2D)/MinCostPath.cpp -------------------------------------------------------------------------------- /DP (2D)/ShortestUncommenSubsequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/DP (2D)/ShortestUncommenSubsequence.cpp -------------------------------------------------------------------------------- /DP (2D)/Smallest SuperSequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/DP (2D)/Smallest SuperSequence.cpp -------------------------------------------------------------------------------- /DP (2D)/WaysToMakeCoinChange.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/DP (2D)/WaysToMakeCoinChange.cpp -------------------------------------------------------------------------------- /DemosubsetBacktracking.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/DemosubsetBacktracking.cpp -------------------------------------------------------------------------------- /Dynamic Allocation/Address_typecasting.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Dynamic Allocation/Address_typecasting.cpp -------------------------------------------------------------------------------- /Dynamic Allocation/Dynamic Allocation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Dynamic Allocation/Dynamic Allocation.cpp -------------------------------------------------------------------------------- /Dynamic Allocation/Reference Pass By Reference.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Dynamic Allocation/Reference Pass By Reference.cpp -------------------------------------------------------------------------------- /FlattenBSTtoLL.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/FlattenBSTtoLL.cpp -------------------------------------------------------------------------------- /Graphs/BFS.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Graphs/BFS.cpp -------------------------------------------------------------------------------- /Graphs/CodingNinja.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Graphs/CodingNinja.cpp -------------------------------------------------------------------------------- /Graphs/ConnectedDots.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Graphs/ConnectedDots.cpp -------------------------------------------------------------------------------- /Graphs/GetPathBFS.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Graphs/GetPathBFS.cpp -------------------------------------------------------------------------------- /Graphs/GetPathDFS.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Graphs/GetPathDFS.cpp -------------------------------------------------------------------------------- /Graphs/HasPath.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Graphs/HasPath.cpp -------------------------------------------------------------------------------- /Graphs/IsConnected.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Graphs/IsConnected.cpp -------------------------------------------------------------------------------- /Graphs/Island.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Graphs/Island.cpp -------------------------------------------------------------------------------- /Graphs/LargestPiece.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Graphs/LargestPiece.cpp -------------------------------------------------------------------------------- /Graphs/ReturnAllConnectedComponents.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Graphs/ReturnAllConnectedComponents.cpp -------------------------------------------------------------------------------- /Graphs/ThreeCycle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Graphs/ThreeCycle.cpp -------------------------------------------------------------------------------- /Graphs2/BOTTOM.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Graphs2/BOTTOM.cpp -------------------------------------------------------------------------------- /Graphs2/Bellman–Ford Algorithm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Graphs2/Bellman–Ford Algorithm.cpp -------------------------------------------------------------------------------- /Graphs2/CountWays.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Graphs2/CountWays.cpp -------------------------------------------------------------------------------- /Graphs2/DelhiTraffic.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Graphs2/DelhiTraffic.cpp -------------------------------------------------------------------------------- /Graphs2/DijikstraAlgo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Graphs2/DijikstraAlgo.cpp -------------------------------------------------------------------------------- /Graphs2/Fishmonger.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Graphs2/Fishmonger.cpp -------------------------------------------------------------------------------- /Graphs2/Kosaraju.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Graphs2/Kosaraju.cpp -------------------------------------------------------------------------------- /Graphs2/Kruskall's Algorithm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Graphs2/Kruskall's Algorithm.cpp -------------------------------------------------------------------------------- /Graphs2/Monk&theIslands.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Graphs2/Monk&theIslands.cpp -------------------------------------------------------------------------------- /Graphs2/PrimsAlgo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Graphs2/PrimsAlgo.cpp -------------------------------------------------------------------------------- /Graphs2/Space_smugler.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Graphs2/Space_smugler.cpp -------------------------------------------------------------------------------- /Graphs2/TripToCities.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Graphs2/TripToCities.cpp -------------------------------------------------------------------------------- /Hashing/Hashmap Implementation(Insert).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Hashing/Hashmap Implementation(Insert).cpp -------------------------------------------------------------------------------- /Hashing/Inbuilt Hash Unordered_Maps.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Hashing/Inbuilt Hash Unordered_Maps.cpp -------------------------------------------------------------------------------- /Hashing/Iterators.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Hashing/Iterators.cpp -------------------------------------------------------------------------------- /Hashing/Load factor and Rehashing notes.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Hashing/Load factor and Rehashing notes.txt -------------------------------------------------------------------------------- /Hashing/Longest Consecutive Subsequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Hashing/Longest Consecutive Subsequence.cpp -------------------------------------------------------------------------------- /Hashing/Longest Subset.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Hashing/Longest Subset.cpp -------------------------------------------------------------------------------- /Hashing/Make String Anagrams.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Hashing/Make String Anagrams.cpp -------------------------------------------------------------------------------- /Hashing/Max Freq.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Hashing/Max Freq.cpp -------------------------------------------------------------------------------- /Hashing/Nearest Repititon.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Hashing/Nearest Repititon.cpp -------------------------------------------------------------------------------- /Hashing/Pair Sum to Zero.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Hashing/Pair Sum to Zero.cpp -------------------------------------------------------------------------------- /Hashing/Pair with a difference.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Hashing/Pair with a difference.cpp -------------------------------------------------------------------------------- /Hashing/Print Intersection.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Hashing/Print Intersection.cpp -------------------------------------------------------------------------------- /Hashing/Remove Duplicates.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Hashing/Remove Duplicates.cpp -------------------------------------------------------------------------------- /Hashing/Vertical Order.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Hashing/Vertical Order.cpp -------------------------------------------------------------------------------- /Hashing/Zero sum Sub array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Hashing/Zero sum Sub array.cpp -------------------------------------------------------------------------------- /KMP-stringMatching.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/KMP-stringMatching.cpp -------------------------------------------------------------------------------- /LinkedList/Delete(Recursive).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/LinkedList/Delete(Recursive).cpp -------------------------------------------------------------------------------- /LinkedList/DeleteNode.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/LinkedList/DeleteNode.cpp -------------------------------------------------------------------------------- /LinkedList/DeleteNskipM.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/LinkedList/DeleteNskipM.cpp -------------------------------------------------------------------------------- /LinkedList/DivideLLInto2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/LinkedList/DivideLLInto2.cpp -------------------------------------------------------------------------------- /LinkedList/EvenAfterOddLL.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/LinkedList/EvenAfterOddLL.cpp -------------------------------------------------------------------------------- /LinkedList/Insert(recursive).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/LinkedList/Insert(recursive).cpp -------------------------------------------------------------------------------- /LinkedList/KReverse.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/LinkedList/KReverse.cpp -------------------------------------------------------------------------------- /LinkedList/LenghtofLL(recursive).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/LinkedList/LenghtofLL(recursive).cpp -------------------------------------------------------------------------------- /LinkedList/LetFirstBeLast.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/LinkedList/LetFirstBeLast.cpp -------------------------------------------------------------------------------- /LinkedList/PallindromList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/LinkedList/PallindromList.cpp -------------------------------------------------------------------------------- /LinkedList/Swap2nodes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/LinkedList/Swap2nodes.cpp -------------------------------------------------------------------------------- /LinkedList/UnionLL.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/LinkedList/UnionLL.cpp -------------------------------------------------------------------------------- /LinkedList2/BubbleSortLL.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/LinkedList2/BubbleSortLL.cpp -------------------------------------------------------------------------------- /LinkedList2/DecimalEquivalent.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/LinkedList2/DecimalEquivalent.cpp -------------------------------------------------------------------------------- /LinkedList2/InsertionSort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/LinkedList2/InsertionSort.cpp -------------------------------------------------------------------------------- /LinkedList2/Merge2SortedList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/LinkedList2/Merge2SortedList.cpp -------------------------------------------------------------------------------- /LinkedList2/MergeSortLL.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/LinkedList2/MergeSortLL.cpp -------------------------------------------------------------------------------- /LinkedList2/MidPointofLL.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/LinkedList2/MidPointofLL.cpp -------------------------------------------------------------------------------- /LinkedList2/MoveToLast.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/LinkedList2/MoveToLast.cpp -------------------------------------------------------------------------------- /LinkedList2/NextNumber.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/LinkedList2/NextNumber.cpp -------------------------------------------------------------------------------- /LinkedList2/ReplaceDuplicateValues.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/LinkedList2/ReplaceDuplicateValues.cpp -------------------------------------------------------------------------------- /LinkedList2/ReverseLL(iterative).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/LinkedList2/ReverseLL(iterative).cpp -------------------------------------------------------------------------------- /LinkedList2/ReverseLL(recursive).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/LinkedList2/ReverseLL(recursive).cpp -------------------------------------------------------------------------------- /LinkedList2/SwapEveryPair.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/LinkedList2/SwapEveryPair.cpp -------------------------------------------------------------------------------- /MIDLE.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/MIDLE.cpp -------------------------------------------------------------------------------- /MaxSumFromAnyNodetoAnyNode.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/MaxSumFromAnyNodetoAnyNode.cpp -------------------------------------------------------------------------------- /OOPS/Polynomial.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/OOPS/Polynomial.cpp -------------------------------------------------------------------------------- /Priority Queues/BuyTheTickets.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Priority Queues/BuyTheTickets.cpp -------------------------------------------------------------------------------- /Priority Queues/CheckMaxHeap.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Priority Queues/CheckMaxHeap.cpp -------------------------------------------------------------------------------- /Priority Queues/InplaceHeapSort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Priority Queues/InplaceHeapSort.cpp -------------------------------------------------------------------------------- /Priority Queues/Insert.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Priority Queues/Insert.h -------------------------------------------------------------------------------- /Priority Queues/KLargestElements.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Priority Queues/KLargestElements.cpp -------------------------------------------------------------------------------- /Priority Queues/KSmallestElements.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Priority Queues/KSmallestElements.cpp -------------------------------------------------------------------------------- /Priority Queues/KthLargest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Priority Queues/KthLargest.cpp -------------------------------------------------------------------------------- /Priority Queues/MergeKSortedArrays.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Priority Queues/MergeKSortedArrays.cpp -------------------------------------------------------------------------------- /Priority Queues/RunningMedian.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Priority Queues/RunningMedian.cpp -------------------------------------------------------------------------------- /Priority Queues/priority_queue.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Priority Queues/priority_queue.h -------------------------------------------------------------------------------- /Priority Queues/priority_queueImplementation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Priority Queues/priority_queueImplementation.cpp -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/README.md -------------------------------------------------------------------------------- /Recursion -1/All Indices of Number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Recursion -1/All Indices of Number.cpp -------------------------------------------------------------------------------- /Recursion -1/Check Palindrom(recursive).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Recursion -1/Check Palindrom(recursive).cpp -------------------------------------------------------------------------------- /Recursion -1/Count Zeroes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Recursion -1/Count Zeroes.cpp -------------------------------------------------------------------------------- /Recursion -1/Fibonacci.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Recursion -1/Fibonacci.cpp -------------------------------------------------------------------------------- /Recursion -1/First_Index_of_Number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Recursion -1/First_Index_of_Number.cpp -------------------------------------------------------------------------------- /Recursion -1/Last Index of Number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Recursion -1/Last Index of Number.cpp -------------------------------------------------------------------------------- /Recursion -1/Recursion&Strings.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Recursion -1/Recursion&Strings.cpp -------------------------------------------------------------------------------- /Recursion -1/is_sorted.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Recursion -1/is_sorted.cpp -------------------------------------------------------------------------------- /Recursion -2/Flags.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Recursion -2/Flags.cpp -------------------------------------------------------------------------------- /Recursion -2/Generate All Parathenses.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Recursion -2/Generate All Parathenses.cpp -------------------------------------------------------------------------------- /Recursion -2/Increasing Numbers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Recursion -2/Increasing Numbers.cpp -------------------------------------------------------------------------------- /Recursion -2/Interleaving.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Recursion -2/Interleaving.cpp -------------------------------------------------------------------------------- /Recursion -2/Merge Sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Recursion -2/Merge Sort.cpp -------------------------------------------------------------------------------- /Recursion -2/Print Keypad Combination Code.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Recursion -2/Print Keypad Combination Code.cpp -------------------------------------------------------------------------------- /Recursion -2/Quick Sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Recursion -2/Quick Sort.cpp -------------------------------------------------------------------------------- /Recursion -2/Remove Duplictes Recursively.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Recursion -2/Remove Duplictes Recursively.cpp -------------------------------------------------------------------------------- /Recursion -2/Replace Character Recursively.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Recursion -2/Replace Character Recursively.cpp -------------------------------------------------------------------------------- /Recursion -2/Replace Pi.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Recursion -2/Replace Pi.cpp -------------------------------------------------------------------------------- /Recursion -2/Return Keypad Code.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Recursion -2/Return Keypad Code.cpp -------------------------------------------------------------------------------- /Recursion -2/Return all codes-Strings.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Recursion -2/Return all codes-Strings.cpp -------------------------------------------------------------------------------- /Recursion -2/Staircase.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Recursion -2/Staircase.cpp -------------------------------------------------------------------------------- /Recursion -2/String To Integer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Recursion -2/String To Integer.cpp -------------------------------------------------------------------------------- /Recursion -2/String of Lenght k.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Recursion -2/String of Lenght k.cpp -------------------------------------------------------------------------------- /Stack&Queue/BalancedParanthesis.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Stack&Queue/BalancedParanthesis.cpp -------------------------------------------------------------------------------- /Stack&Queue/Deque.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Stack&Queue/Deque.cpp -------------------------------------------------------------------------------- /Stack&Queue/InfixToPostfix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Stack&Queue/InfixToPostfix.cpp -------------------------------------------------------------------------------- /Stack&Queue/MinBracketReversal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Stack&Queue/MinBracketReversal.cpp -------------------------------------------------------------------------------- /Stack&Queue/QueueUsingLL.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Stack&Queue/QueueUsingLL.cpp -------------------------------------------------------------------------------- /Stack&Queue/ReverseFirstKelements.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Stack&Queue/ReverseFirstKelements.cpp -------------------------------------------------------------------------------- /Stack&Queue/Sort_a_Stack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Stack&Queue/Sort_a_Stack.cpp -------------------------------------------------------------------------------- /Stack&Queue/StackUsingLL.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Stack&Queue/StackUsingLL.cpp -------------------------------------------------------------------------------- /Stack&Queue/StackWith2Queues.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Stack&Queue/StackWith2Queues.cpp -------------------------------------------------------------------------------- /Stack&Queue/StockSpan.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Stack&Queue/StockSpan.cpp -------------------------------------------------------------------------------- /SubsequenceGeneration.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/SubsequenceGeneration.cpp -------------------------------------------------------------------------------- /Trees/Comarades and their Traditions.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Trees/Comarades and their Traditions.cpp -------------------------------------------------------------------------------- /Trees/CountLeafNodes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Trees/CountLeafNodes.cpp -------------------------------------------------------------------------------- /Trees/FindHeight.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Trees/FindHeight.cpp -------------------------------------------------------------------------------- /Trees/MaxNodeInTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Trees/MaxNodeInTree.cpp -------------------------------------------------------------------------------- /Trees/NextLargestNode.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Trees/NextLargestNode.cpp -------------------------------------------------------------------------------- /Trees/NodeWithTotalSumMax.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Trees/NodeWithTotalSumMax.cpp -------------------------------------------------------------------------------- /Trees/PrintLevelWise.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Trees/PrintLevelWise.cpp -------------------------------------------------------------------------------- /Trees/ReplaceNodeWithDepth.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Trees/ReplaceNodeWithDepth.cpp -------------------------------------------------------------------------------- /Trees/Second_Largest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Trees/Second_Largest.cpp -------------------------------------------------------------------------------- /Trees/SumOfAllNodes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Trees/SumOfAllNodes.cpp -------------------------------------------------------------------------------- /Trees/Tree/TreeNode.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Trees/Tree/TreeNode.h -------------------------------------------------------------------------------- /Trees/Tree/TreeUse.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Trees/Tree/TreeUse.cpp -------------------------------------------------------------------------------- /Trees/Tree/vectoruse.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Trees/Tree/vectoruse.cpp -------------------------------------------------------------------------------- /Tries/AutoComple.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Tries/AutoComple.cpp -------------------------------------------------------------------------------- /Tries/PallindromPair.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Tries/PallindromPair.cpp -------------------------------------------------------------------------------- /Tries/PatternMatching.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Tries/PatternMatching.cpp -------------------------------------------------------------------------------- /Tries/TrieImplementation/Trie.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Tries/TrieImplementation/Trie.h -------------------------------------------------------------------------------- /Tries/TrieImplementation/TrieNode.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Tries/TrieImplementation/TrieNode.h -------------------------------------------------------------------------------- /Tries/TrieImplementation/TrieUse.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Tries/TrieImplementation/TrieUse.cpp -------------------------------------------------------------------------------- /Tries/TrieSearch.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/Tries/TrieSearch.cpp -------------------------------------------------------------------------------- /a4.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/a4.py -------------------------------------------------------------------------------- /binarytree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/binarytree.cpp -------------------------------------------------------------------------------- /deletionBST.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/deletionBST.cpp -------------------------------------------------------------------------------- /heapsort.cpp: -------------------------------------------------------------------------------- 1 | #include -------------------------------------------------------------------------------- /hello.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/hello.cpp -------------------------------------------------------------------------------- /mergesort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/mergesort.cpp -------------------------------------------------------------------------------- /searchingInBST.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/searchingInBST.cpp -------------------------------------------------------------------------------- /tiling.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reachanihere/Data-Structures-and-Algorithms/HEAD/tiling.cpp --------------------------------------------------------------------------------