├── .gitignore ├── Arrays ├── ARRAY_BUG.cpp ├── AddOneToNumber.cpp ├── Adobe,Microsoft-AntiDiagonals.cpp ├── Alternate positive and negative elements.cpp ├── Amazon,VMWare,Riverbed-FindDuplicateInArray.cpp ├── Array With Consecutive Elements.cpp ├── Balance Array.cpp ├── Bob and Queries.cpp ├── Count of Range Sum.cpp ├── Count of Smaller Numbers After Self.cpp ├── Count pairs in array whose sum is divisible by the given number.cpp ├── Elements which have at-least two greater elements.cpp ├── Falling Squares.cpp ├── Find The Next.cpp ├── Find duplicate rows in a binary matrix.cpp ├── FindDuplicateInArray.cpp ├── FindPermutation.cpp ├── FirstMissingInteger.cpp ├── Flip.cpp ├── HotelBookingsPossible.cpp ├── Into Blocks.cpp ├── Inversion count in an array.cpp ├── KEEP SWAPPING 2.cpp ├── KthRowOfPascalTriangle.cpp ├── LargestNumber.cpp ├── Leaders in an array.cpp ├── Length of longest consecutive ones.cpp ├── MAXSPROD.cpp ├── Max Chunks To Make Sorted 2.cpp ├── Max Chunks To Make Sorted.cpp ├── Max Min.cpp ├── MaxDistance.cpp ├── MaxNonNegativeSubArray.cpp ├── MaxSumContiguousSubArray.cpp ├── Maximum Area of Triangle!.cpp ├── Maximum Difference.cpp ├── Maximum Sum Square SubMatrix.cpp ├── Maximum Sum Triplet.cpp ├── Maximum product of an increasing subsequence of size 3.cpp ├── MaximumAbsoluteDifference.cpp ├── MaximumConsecutiveGap.cpp ├── MaximumUnsortedSubarray.cpp ├── MergeIntervals.cpp ├── MergeOverlappingIntervals.cpp ├── MinStepsInInfiniteGrid.cpp ├── Minimise the maximum difference between the heights.cpp ├── Minimum Absolute Difference.cpp ├── Minimum Lights to Activate.cpp ├── Minimum Size Subarray Sum.cpp ├── Minimum Swaps 2.cpp ├── Minimum operations of given type to make all elements of a matrix equal.cpp ├── Minimum swaps required to bring all elements less than or equal to k together.cpp ├── Multiple left rotations of the array.cpp ├── Multiplication of previous and next.cpp ├── NBy3RepeatNumber.cpp ├── NextPermutation.cpp ├── Noble Integer.cpp ├── Number of sextuplets (or six values) that satisfy an equation.cpp ├── PascalTriangleRows.cpp ├── Perfect Peak of Array.cpp ├── Pick from both sides!.cpp ├── Rearrange the array.cpp ├── Repeat&MissngNumberArray.cpp ├── Reverse pairs.cpp ├── RotateMatrix.cpp ├── Rotated Arrays.cpp ├── Row with maximum number of ones.cpp ├── Search in a row wise and column wise sorted matrix.cpp ├── SetMatrixZeros.cpp ├── Size three subsequences divisible by B.cpp ├── Sort array with squares!.cpp ├── SpiralOrderMatrix-I.cpp ├── SpiralOrderMatrix-II.cpp ├── Sub-matrix Sum Queries.cpp ├── Sum of adjacent elements is always even.cpp ├── Toeplitz Matrix.cpp ├── TripletsWithSumBetweenGivenRange.cpp └── WaveArray.cpp ├── Backtracking ├── All Unique Permutations.cpp ├── CombinationSum.cpp ├── CombinationSumII.cpp ├── Combinations.cpp ├── GenerateAllParenthesesII.cpp ├── GrayCode.cpp ├── LetterPhone.cpp ├── Maximal String.cpp ├── Minimum number of swaps required for arranging pairs adjacent to each other.cpp ├── ModularExpression.cpp ├── NQueens.cpp ├── Number of Squareful Arrays.cpp ├── PalindromePartitioning.cpp ├── Permutations.cpp ├── Remove Invalid Parentheses.cpp ├── ReverseLinkedListRecursion.cpp ├── Subset.cpp ├── SubsetsII.cpp ├── Sudoku.cpp ├── Unique Paths III.cpp └── kthPermutationSequence.cpp ├── Binary Search ├── ADD OR NOT.cpp ├── Aggressive cows.cpp ├── AllocateBooks.cpp ├── Ath Magical Number.cpp ├── CountElementOccurence.cpp ├── Falling Dominoes.cpp ├── Find a peak element.cpp ├── ImplementPowerFunction.cpp ├── MatrixMedian.cpp ├── MatrixSearch.cpp ├── MedianOfArray.cpp ├── Painter'sPartitionProblem.cpp ├── Preimage Size of Factorial Zeroes Function.cpp ├── RotatedArray.cpp ├── RotatedSortedArraySearch.cpp ├── Search in Bitonic Array!.cpp ├── SearchForARange.cpp ├── Single Element in a Sorted Array.cpp ├── Smallest Good Base.cpp ├── SortedInsertPosition.cpp ├── Special Integer.cpp ├── SquareRootOfInteger.cpp └── WoodCutting Made Easy!.cpp ├── Bit Manipulation ├── DifferentBitsSumPairwise.cpp ├── DivideIntegers.cpp ├── MinXORValue.cpp ├── NumberOf1Bits.cpp ├── ReverseBits.cpp ├── SUBARRAY OR.cpp ├── SingleNumber-II.cpp ├── SingleNumber.cpp ├── Trailing Zeroes.cpp └── XOR-ing the Subarrays!.cpp ├── Codersbit ├── Another chocolate game.cpp ├── Array and Prime Divisors.cpp ├── Delete and Conquer.cpp ├── Distinct Primes.cpp ├── EZPZ.cpp ├── Going back to OS.cpp ├── Longest Subarray Difference.cpp ├── MinimiZe.cpp ├── Prime Subarrays.cpp ├── Scores.cpp ├── Shortest Path in Simple Graph.cpp ├── Simple Queries.cpp ├── Smallest Subarray.cpp ├── The Sequence game.cpp ├── The square game.cpp ├── Three Numbers.cpp ├── Try some SQL.cpp ├── Very Hard Queries.cpp └── Vowels.cpp ├── Dynamic Programming ├── 0-1 Knapsack.cpp ├── ALL GCD.cpp ├── Another Coin Problem.cpp ├── Arrange-II.cpp ├── Best Time to Buy and Sell Stock atmost B times.cpp ├── Best Time to Buy and Sell Stock with Cooldown.cpp ├── BestTimeToBuyAndSellStocks-I.cpp ├── BestTimeToBuyAndSellStocks-II.cpp ├── BestTimeToBuyAndSellStocks-III.cpp ├── Box Stacking Problem.cpp ├── Burst Balloons.cpp ├── Chain of Pairs.cpp ├── CoinSumInfinite.cpp ├── CoinsInALine.cpp ├── Count Palindromic Subsequences.cpp ├── CountPermutationsOfBST.cpp ├── Deepu and girlfriend.cpp ├── DistinctSubsequences.cpp ├── Divisor Sequences.cpp ├── DungeonPrincess.cpp ├── EditDistance.cpp ├── Egg Drop Problem!.cpp ├── EqualAveragePartitioning.cpp ├── EvaluateExpressionToTrue.cpp ├── FlipArray.cpp ├── Grid Unique Paths II.cpp ├── Height of every node in a tree.cpp ├── Increasing Path in Matrix.cpp ├── InterleavingStrings.cpp ├── IntersectingChordsInACircle.cpp ├── Jesse and two string.cpp ├── JumpGameArray.cpp ├── KthManhattanDistanceNeighbourhood.cpp ├── LONGEST COMMON SUBSTRING.cpp ├── LargestAreaOfRectanglesWithPremutations.cpp ├── Length of Longest Fibonacci Subsequence.cpp ├── LengthOfLongestSubsequence.cpp ├── Lexographically Greater Strings.cpp ├── Longest Common Pallindromic Subsequence.cpp ├── Longest Common Subsequence.cpp ├── Longest Palindromic Substring.cpp ├── LongestArithmeticProgression.cpp ├── LongestIncreasingSubsequence.cpp ├── LongestValidParenthesis.cpp ├── Matrix Chain Multiplication.cpp ├── Max edge queries!.cpp ├── MaxProductSubarray.cpp ├── MaxRectangleInBinaryMatrix.cpp ├── MaxSumPathInBinaryTree.cpp ├── MaxSumWithoutAdjacentElements.cpp ├── Maximise the coins by popping balloons.cpp ├── Maximum Path in Triangle.cpp ├── Maximum Size Square Sub-matrix.cpp ├── Maximum coin in a tree.cpp ├── Merge elements.cpp ├── MinJumpsArray.cpp ├── MinSumPathInMatrix.cpp ├── MinSumPathInTriangle.cpp ├── Minimum Difference Subsets!.cpp ├── NdigitNumberWithSumS.cpp ├── Obsessive String.cpp ├── Paint House!.cpp ├── PalindromePartitioning-II.cpp ├── Probablity of knight inside chess board.cpp ├── QueensAttack.cpp ├── RECTANGLE SUM.cpp ├── REDUCTION.cpp ├── RegularExpression-II.cpp ├── RegularExpressionMatch.cpp ├── RepeatingSubsequence.cpp ├── Required Substrings.cpp ├── RodCutting.cpp ├── Russian Doll Envelopes.cpp ├── ScrambleString.cpp ├── ShortestCommonSuperstring.cpp ├── Stairs.cpp ├── String count.cpp ├── SubmatricesWithSumZero.cpp ├── Subset Sum Problem!.cpp ├── Text Justification.cpp ├── Tiling Problem.cpp ├── Tiling With Dominoes.cpp ├── Travelling Saleman Problem.cpp ├── Tree coloring with three colors.cpp ├── TusharBirthdayBombs.cpp ├── TusharsBirthdayParty.cpp ├── Two Strings.cpp ├── UniqueBinarySearchTree-II.cpp ├── UniquePathsInAGrid.cpp ├── Unreliable Rover.cpp ├── WaysToColor3XNBoard.cpp ├── WaysToDecode.cpp ├── WordBreak-II.cpp ├── WordBreak.cpp └── maximum sum of array with no repeating digit.cpp ├── Graphs ├── BlackShapes.cpp ├── CaptureRegionsOnBoard.cpp ├── Check whether the graph is bipartide or not.cpp ├── CloneGraph.cpp ├── Commutable Island.cpp ├── ConvertSortedListToBinarySearchTree.cpp ├── Cows and snacks.cpp ├── Cycle in Directed Graph.cpp ├── Cycle in Undirected Graph.cpp ├── Delete Edge!.cpp ├── Dijsktra.cpp ├── KnightsOnChessBoard.cpp ├── LargestDistanceBetweenNodesOfATree.cpp ├── LevelOrder.cpp ├── Maximum Depth.cpp ├── Min Cost Path.cpp ├── Minimum cost to connect cities.cpp ├── Most Stones Removed.cpp ├── Number of islands II.cpp ├── Number of islands.cpp ├── Path in Directed Graph.cpp ├── Path with good nodes!.cpp ├── Permutation Swaps!.cpp ├── PossibilityOfFinishingAllCourses.cpp ├── Region in BinaryMatrix.cpp ├── Roads and Libraries.cpp ├── Rotten Oranges.cpp ├── Rust and his transfer.cpp ├── Shortest Distance from All Buildings.cpp ├── Shortest Distance in a Maze.cpp ├── SmallestMultipleWith0And1.cpp ├── SmallestSequenceWithGivenPrimes.cpp ├── Snake Ladder Problem!.cpp ├── SteppingNumbers.cpp ├── Strongly Connected Components.cpp ├── SumOfFibonacciNumbers.cpp ├── Two Teams.cpp ├── Useful Extra Edges.cpp ├── ValidPath.cpp ├── Water Flow.cpp ├── WiFi Routers.cpp ├── WordLadder-I.cpp ├── WordLadder-II.cpp └── WordSearchBoard.cpp ├── Greedy ├── Another Coin Problem.cpp ├── AssignMiceToHoles.cpp ├── Bulbs.cpp ├── Bus and Passenger.cpp ├── Byes.cpp ├── Chocolate Distribution.cpp ├── Disjoint Intervals.cpp ├── DistributeCandy.cpp ├── GasStation.cpp ├── Gcd Ordering.cpp ├── HighestProduct.cpp ├── Largest Permutation.cpp ├── MajorityElement.cpp ├── Minimum Cost to Hire K Workers.cpp └── Seats.cpp ├── Hashing ├── 2Sum.cpp ├── 4Sum.cpp ├── An Increment Problem.cpp ├── Anagrams.cpp ├── ColourfulNumber.cpp ├── Contiguous Array.cpp ├── CopyList.cpp ├── Count Right Triangles.cpp ├── Diffk-II.cpp ├── Equal.cpp ├── Find if there is a sub-array with 0 sum.cpp ├── Find pairs in array whose sum is already present.cpp ├── First Repeating element.cpp ├── Fraction.cpp ├── Grid Illumination.cpp ├── Invoiced Billing.cpp ├── LargestContinuousSequenceZeroSum.cpp ├── Lightsabers.cpp ├── Longest Subarray Length.cpp ├── LongestSubstringWithoutRepeat.cpp ├── Maximum Points on the same line.cpp ├── Pairs With Given Xor.cpp ├── Palindrome Pairs.cpp ├── Parity Queries.cpp ├── PointsOnTheStriaghtLine.cpp ├── Sort an array according to the order defined by another array.cpp ├── Subarray Sum Equals K.cpp ├── Subarray with B odd numbers.cpp ├── Subarray with equal occurences!.cpp ├── Subarray with equal occurences.cpp ├── Subarray with given XOR.cpp ├── SubstringConcatenation.cpp ├── Time Based Key-Value Store.cpp ├── Two out of Three.cpp ├── ValidSudoku.cpp └── WindowString.cpp ├── Heaps and Maps ├── Activity Selection.cpp ├── B Closest Points to Origin.py ├── B-th Smallest Prime Fraction.cpp ├── Connect ropes with minimum length.cpp ├── DistinctNumbersInWindow.cpp ├── Find Rectangle in binary matrix.cpp ├── Good Ranges.cpp ├── Job Sequencing.cpp ├── K Largest Elements.cpp ├── KEEP SWAPPING.cpp ├── Kth Smallest Element in a Sorted Matrix.cpp ├── LeastRecentlyUsedCache.cpp ├── Longest Subarray Sum B.cpp ├── MagicianAndChocolates.cpp ├── Maximum Sum Combinations.cpp ├── Maximum array sum after B negations.cpp ├── Median of stream of running integers.cpp ├── Meeting rooms.cpp ├── Merge K sorted arrays!.cpp ├── MergeKSortedLists.cpp ├── Minimum Number of Refueling Stops.cpp ├── NMaxPairCombinations.cpp ├── Profit Maximisation.cpp ├── Subarrays with B Different Integers.cpp ├── Task Scheduler.cpp └── WaysToFormMaxHeap.cpp ├── Jump ├── LongestConsecutiveSequence.cpp ├── NumRange.cpp ├── PrettyPrint.cpp └── Subtract.cpp ├── Linked Lists ├── AddTwoNumbersAsLists.cpp ├── Delete middle node of a Linked List.cpp ├── Design Linked list.cpp ├── Detect and Remove Loop from a linked list.cpp ├── Even Reverse.cpp ├── InsertionSortList.cpp ├── IntersectionOfLists.cpp ├── KReverseLinkedList.cpp ├── Kth Node From Middle.cpp ├── Length of longest palindromic list.cpp ├── ListCycle.cpp ├── MergeTwoSortedLists.cpp ├── Middle element of linked list.cpp ├── PalindromeList.cpp ├── PartitionList.cpp ├── RemoveDuplicatesFromSortedList-I.cpp ├── RemoveDuplicatesFromSortedLists-II.cpp ├── RemoveNthNodeFromListEnd.cpp ├── ReorderList.cpp ├── Reverse Alternate K Nodes.cpp ├── ReverseLinkList-II.cpp ├── ReverseLinkedList.cpp ├── RotateList.cpp ├── Sort Binary Linked List.cpp ├── SortList.cpp └── SwapListNodesInPairs.cpp ├── Math ├── 01 String.py ├── ALL GCD PAIR.cpp ├── Alice and Bob.cpp ├── AllFactors.cpp ├── BinaryRepresentation.cpp ├── City Tour.cpp ├── Compute nCr % m.cpp ├── Compute nCr % p.cpp ├── Consecutive Number Sum.cpp ├── Consecutive Numbers Sum.cpp ├── Count of divisors for multiple queries.cpp ├── Count of paths in a grid.cpp ├── Day of the week.cpp ├── Distribute in Circle!.cpp ├── Divisibility by 8.cpp ├── ExcelColumnNumber.cpp ├── ExcelColumnTitle.cpp ├── FAMOUS PRODUCT.cpp ├── Find Nth Fibonacci.cpp ├── Find if two rectangles overlap.cpp ├── Find nth Magic Number.cpp ├── Finding Position.cpp ├── FizzBuzz.cpp ├── GreatestCommonDivisor.cpp ├── GridUniquePath.cpp ├── GridUniquePaths.cpp ├── Is Rectangle.cpp ├── LAST SUBSET PROBLEM.cpp ├── LargestCoPrimeDivisor.cpp ├── MATH_BUG01.cpp ├── MATH_BUG02.cpp ├── Maximum height of the staircase.cpp ├── Next Similar Number.cpp ├── Next Smallest Palindrome!.cpp ├── Number Of Open Doors.cpp ├── Number of Digit One.cpp ├── Number of Hosts per Subnet.cpp ├── NumberOfLengthsNAndValueLessThanK.cpp ├── PalindromeInteger.cpp ├── PowerOfTwoIntegers.cpp ├── PrimeNumbers.cpp ├── PrimeSum.cpp ├── Product array puzzle.cpp ├── RearrangeArray.cpp ├── Rectangle Area.cpp ├── ReverseInteger.cpp ├── SUM OF SQUARES.cpp ├── Solve sub-sequences and return OR.cpp ├── SortedPermutationRank.cpp ├── SortedPermutationWithRankRepeats.cpp ├── Step by Step.cpp ├── Sum of all Submatrices.cpp ├── SumOfPairwiseHammingDistance.cpp ├── Total Moves For Bishop!.cpp ├── TrailingZeroesInFactorial.cpp └── VerifyPrime.cpp ├── README.md ├── Stacks and Queues ├── Balanced Parantheses!.cpp ├── Check two bracket expressions.cpp ├── Decode String.cpp ├── EvaluateExpression.cpp ├── First negative integer in window size B.cpp ├── First non-repeating character in a stream of characters.cpp ├── GenerateAllParentheses.cpp ├── Infix to Postfix.cpp ├── Is given level order a BST.cpp ├── LargestRectangle nHistogram.cpp ├── Maximum Frequency stack.cpp ├── Maximum Rectangle.cpp ├── MinStack.cpp ├── N integers containing only 1,2 and 3.cpp ├── NearestSmallestElement.cpp ├── Order them.cpp ├── RainWaterTrapped.cpp ├── Reduce the string.cpp ├── RedundantBraces.cpp ├── Remove Duplicate Letters.cpp ├── Reverse a stack using recursion.cpp ├── ReverseString.cpp ├── Reversing the first B elements of queue.cpp ├── SimplifyDirectoryPaths.cpp ├── SlidingWindowMax.cpp ├── Sort stack using another stack.cpp └── Sum of minimum and maximum elements of all subarrays of size k.cpp ├── Strings ├── AddBinaryStrings.cpp ├── Anagram Substring Search.cpp ├── Atoi.cpp ├── CompareVersionNumbers.cpp ├── Convert to Palindrome.cpp ├── Count&Say.cpp ├── Custom Sort String.cpp ├── EDIBLE STRINGS.cpp ├── INFINITE STRING.cpp ├── ImplementStrStr.cpp ├── Integer To Roman.cpp ├── JustifiedText.cpp ├── K-th character of decrypted string.cpp ├── LengthOfLastWord.cpp ├── LongestCommonPrefix.cpp ├── LongestPalindromeSubstring.cpp ├── Minimum Appends for Palindrome!.cpp ├── Minimum Characters required to make a String Palindromic.cpp ├── Minimum Parantheses!.cpp ├── MultiplyStrings.cpp ├── PalindromeInteger.cpp ├── PalindromeString.cpp ├── Palindromic Substrings Count.cpp ├── PowerOf2.cpp ├── PrettyJson.cpp ├── Remove Consecutive Characters.cpp ├── ReverseTheString.cpp ├── RomanToInteger.cpp ├── Starting indices of the substrings in string.cpp ├── String representation using its substring.cpp ├── Stringoholics.cpp ├── Ugly Pairs.cpp ├── ValidIPAddresses.cpp ├── ValidNumber.cpp ├── ZigZagString.cpp └── kth character in double decrypted string.cpp ├── Time Complexity ├── Arithmetic Subsequences.cpp ├── Best Time to Buy and Sell Stock with Transaction Fee.cpp ├── Bridges in a graph.cpp ├── Count Palindromic Subsequences.cpp ├── Cut the rod.cpp ├── Distance of nearest cell having 1 in a binary matrix.cpp ├── Find subsequence.cpp ├── Floyd Warshall Algorithm.cpp ├── Longest Palindromic Substring.cpp ├── Matrix Permutation.cpp ├── Minimum Weight Cycle in an Undirected weighted Graph.cpp ├── Move all zeroes to end of the array.cpp ├── Shortest Distance in a graph with two different weights.cpp ├── String count.cpp ├── Treasure Hunt.cpp ├── XOR TRIPLETS.cpp └── timeComplexity.md ├── Trees ├── 2-SumBinaryTree.cpp ├── BST nodes in a range.cpp ├── BSTIterator.cpp ├── Balanced Brackets Queries.cpp ├── BalancedBinaryTree.cpp ├── Binary Tree Paths.cpp ├── BinaryTreeFromInorderAndPostorder.cpp ├── Boundary Traversal Of Binary Tree.cpp ├── Burn a Tree.cpp ├── Check for BST with exactly one child of each internal nodes.cpp ├── Check if given Preorder, Inorder and Postorder traversals are of same tree.cpp ├── Common Nodes in Two Binary Search Trees.cpp ├── ConstructBinaryTreeFromInorderAndPreorder.cpp ├── Convert an arbitrary Binary Tree to a tree that holds Children Sum Property.cpp ├── Count Complete Tree Nodes.cpp ├── Difference between odd and even levels.cpp ├── Distance between Nodes of BST.cpp ├── Duplicates in binary tree.cpp ├── Equal Tree Partition.cpp ├── FlattenBinaryTreeToLinkedList.cpp ├── GREEDY PICK.cpp ├── HotelReviews.cpp ├── IdenticalBinaryTree.cpp ├── InOrderTraversalOfCartesianTree.cpp ├── InorderTraversal.cpp ├── InvertTheBinaryTree.cpp ├── K DISTANCE.cpp ├── KthSmallestElementInTree.cpp ├── LCA of array.cpp ├── Largest BST Subtree.cpp ├── Leaf nodes from Preorder of a Binary Search Tree.cpp ├── LeastCommonAncestor.cpp ├── Left view of binary tree.cpp ├── Longest Consecutive Sequence in Binary Tree.cpp ├── Longest path in a subtree.cpp ├── MaxDepthOfABinaryTree.cpp ├── Maximum Edge Removal.cpp ├── Maximum Weight Edge Sum.cpp ├── Maximum level sum.cpp ├── Merge Two BSTs.cpp ├── Merge two Binary Tree.cpp ├── MinimumDepthOfABinaryTree.cpp ├── NextGreaterNumberBST.cpp ├── Node distance C in binary tree.cpp ├── OrderOfPeopleHeights.cpp ├── PathSum.cpp ├── PopulateNextRightPointersTree.cpp ├── PostOrderTraversal.cpp ├── Power of 3.cpp ├── PreOrderTraversal.cpp ├── Print all root to leaf paths.cpp ├── RecoverBinarySearchTree.cpp ├── Remove nodes from Path sum less than B.cpp ├── Reverse Level Order.cpp ├── RootToLeafPathsWithSum.cpp ├── ShortestUniquePrefix.cpp ├── Smallest Subtree with all the Deepest Nodes.cpp ├── SortedArrayToBalancedBST.cpp ├── Steps to get out of complete binary tree.cpp ├── Subarrays Xor less Than B.cpp ├── Sum binary tree or not.cpp ├── SumRootToLeafNumbers.cpp ├── SymmetricBinaryTree.cpp ├── TOP VIEW.cpp ├── Trees and Sum of Distances.cpp ├── ValidBinarySearchTree.cpp ├── Vertex Cover Problem.cpp ├── VerticalOrderTraversalOfBinaryTree.cpp ├── Xor Between Two Arrays!.cpp └── ZigZagLevelOrderTraversalBT.cpp ├── Two Pointers ├── 3Sum.cpp ├── 3SumZero.cpp ├── Array3Pointers.cpp ├── ContainerWithMostWater.cpp ├── Count of pairs with the given sum II.cpp ├── Count of pairs with the given sum.py ├── Count of rectangles with area less than the given number.cpp ├── Counting Subarrays!.cpp ├── Counting Triangles.cpp ├── DEVICE CROSSOVER.cpp ├── Diffk.cpp ├── Find sub-array with the given sum.cpp ├── Find the closest pair from two sorted arrays.cpp ├── Good Subarrays.cpp ├── IntersectionOfSortedArrays.cpp ├── MaxContiguousSeriesOf1s.cpp ├── Maximum Ones After Modification.cpp ├── MergeTwoSortedLists.cpp ├── MergeTwoSortedListsII.cpp ├── MinimizeTheAbsoluteDifference.cpp ├── Pair With Given Difference.cpp ├── RemoveDuplicatesFromSortedArrayI.cpp ├── RemoveDuplicatesFromSortedArrayII.cpp ├── RemoveElementFromArray.cpp ├── SortByColor.cpp └── Subarrays with distinct integers!.cpp └── iblogo.png /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/.gitignore -------------------------------------------------------------------------------- /Arrays/ARRAY_BUG.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/ARRAY_BUG.cpp -------------------------------------------------------------------------------- /Arrays/AddOneToNumber.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/AddOneToNumber.cpp -------------------------------------------------------------------------------- /Arrays/Adobe,Microsoft-AntiDiagonals.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/Adobe,Microsoft-AntiDiagonals.cpp -------------------------------------------------------------------------------- /Arrays/Alternate positive and negative elements.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/Alternate positive and negative elements.cpp -------------------------------------------------------------------------------- /Arrays/Amazon,VMWare,Riverbed-FindDuplicateInArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/Amazon,VMWare,Riverbed-FindDuplicateInArray.cpp -------------------------------------------------------------------------------- /Arrays/Array With Consecutive Elements.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/Array With Consecutive Elements.cpp -------------------------------------------------------------------------------- /Arrays/Balance Array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/Balance Array.cpp -------------------------------------------------------------------------------- /Arrays/Bob and Queries.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/Bob and Queries.cpp -------------------------------------------------------------------------------- /Arrays/Count of Range Sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/Count of Range Sum.cpp -------------------------------------------------------------------------------- /Arrays/Count of Smaller Numbers After Self.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/Count of Smaller Numbers After Self.cpp -------------------------------------------------------------------------------- /Arrays/Count pairs in array whose sum is divisible by the given number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/Count pairs in array whose sum is divisible by the given number.cpp -------------------------------------------------------------------------------- /Arrays/Elements which have at-least two greater elements.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/Elements which have at-least two greater elements.cpp -------------------------------------------------------------------------------- /Arrays/Falling Squares.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/Falling Squares.cpp -------------------------------------------------------------------------------- /Arrays/Find The Next.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/Find The Next.cpp -------------------------------------------------------------------------------- /Arrays/Find duplicate rows in a binary matrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/Find duplicate rows in a binary matrix.cpp -------------------------------------------------------------------------------- /Arrays/FindDuplicateInArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/FindDuplicateInArray.cpp -------------------------------------------------------------------------------- /Arrays/FindPermutation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/FindPermutation.cpp -------------------------------------------------------------------------------- /Arrays/FirstMissingInteger.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/FirstMissingInteger.cpp -------------------------------------------------------------------------------- /Arrays/Flip.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/Flip.cpp -------------------------------------------------------------------------------- /Arrays/HotelBookingsPossible.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/HotelBookingsPossible.cpp -------------------------------------------------------------------------------- /Arrays/Into Blocks.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/Into Blocks.cpp -------------------------------------------------------------------------------- /Arrays/Inversion count in an array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/Inversion count in an array.cpp -------------------------------------------------------------------------------- /Arrays/KEEP SWAPPING 2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/KEEP SWAPPING 2.cpp -------------------------------------------------------------------------------- /Arrays/KthRowOfPascalTriangle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/KthRowOfPascalTriangle.cpp -------------------------------------------------------------------------------- /Arrays/LargestNumber.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/LargestNumber.cpp -------------------------------------------------------------------------------- /Arrays/Leaders in an array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/Leaders in an array.cpp -------------------------------------------------------------------------------- /Arrays/Length of longest consecutive ones.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/Length of longest consecutive ones.cpp -------------------------------------------------------------------------------- /Arrays/MAXSPROD.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/MAXSPROD.cpp -------------------------------------------------------------------------------- /Arrays/Max Chunks To Make Sorted 2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/Max Chunks To Make Sorted 2.cpp -------------------------------------------------------------------------------- /Arrays/Max Chunks To Make Sorted.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/Max Chunks To Make Sorted.cpp -------------------------------------------------------------------------------- /Arrays/Max Min.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/Max Min.cpp -------------------------------------------------------------------------------- /Arrays/MaxDistance.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/MaxDistance.cpp -------------------------------------------------------------------------------- /Arrays/MaxNonNegativeSubArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/MaxNonNegativeSubArray.cpp -------------------------------------------------------------------------------- /Arrays/MaxSumContiguousSubArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/MaxSumContiguousSubArray.cpp -------------------------------------------------------------------------------- /Arrays/Maximum Area of Triangle!.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/Maximum Area of Triangle!.cpp -------------------------------------------------------------------------------- /Arrays/Maximum Difference.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/Maximum Difference.cpp -------------------------------------------------------------------------------- /Arrays/Maximum Sum Square SubMatrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/Maximum Sum Square SubMatrix.cpp -------------------------------------------------------------------------------- /Arrays/Maximum Sum Triplet.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/Maximum Sum Triplet.cpp -------------------------------------------------------------------------------- /Arrays/Maximum product of an increasing subsequence of size 3.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/Maximum product of an increasing subsequence of size 3.cpp -------------------------------------------------------------------------------- /Arrays/MaximumAbsoluteDifference.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/MaximumAbsoluteDifference.cpp -------------------------------------------------------------------------------- /Arrays/MaximumConsecutiveGap.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/MaximumConsecutiveGap.cpp -------------------------------------------------------------------------------- /Arrays/MaximumUnsortedSubarray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/MaximumUnsortedSubarray.cpp -------------------------------------------------------------------------------- /Arrays/MergeIntervals.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/MergeIntervals.cpp -------------------------------------------------------------------------------- /Arrays/MergeOverlappingIntervals.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/MergeOverlappingIntervals.cpp -------------------------------------------------------------------------------- /Arrays/MinStepsInInfiniteGrid.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/MinStepsInInfiniteGrid.cpp -------------------------------------------------------------------------------- /Arrays/Minimise the maximum difference between the heights.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/Minimise the maximum difference between the heights.cpp -------------------------------------------------------------------------------- /Arrays/Minimum Absolute Difference.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/Minimum Absolute Difference.cpp -------------------------------------------------------------------------------- /Arrays/Minimum Lights to Activate.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/Minimum Lights to Activate.cpp -------------------------------------------------------------------------------- /Arrays/Minimum Size Subarray Sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/Minimum Size Subarray Sum.cpp -------------------------------------------------------------------------------- /Arrays/Minimum Swaps 2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/Minimum Swaps 2.cpp -------------------------------------------------------------------------------- /Arrays/Minimum operations of given type to make all elements of a matrix equal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/Minimum operations of given type to make all elements of a matrix equal.cpp -------------------------------------------------------------------------------- /Arrays/Minimum swaps required to bring all elements less than or equal to k together.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/Minimum swaps required to bring all elements less than or equal to k together.cpp -------------------------------------------------------------------------------- /Arrays/Multiple left rotations of the array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/Multiple left rotations of the array.cpp -------------------------------------------------------------------------------- /Arrays/Multiplication of previous and next.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/Multiplication of previous and next.cpp -------------------------------------------------------------------------------- /Arrays/NBy3RepeatNumber.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/NBy3RepeatNumber.cpp -------------------------------------------------------------------------------- /Arrays/NextPermutation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/NextPermutation.cpp -------------------------------------------------------------------------------- /Arrays/Noble Integer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/Noble Integer.cpp -------------------------------------------------------------------------------- /Arrays/Number of sextuplets (or six values) that satisfy an equation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/Number of sextuplets (or six values) that satisfy an equation.cpp -------------------------------------------------------------------------------- /Arrays/PascalTriangleRows.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/PascalTriangleRows.cpp -------------------------------------------------------------------------------- /Arrays/Perfect Peak of Array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/Perfect Peak of Array.cpp -------------------------------------------------------------------------------- /Arrays/Pick from both sides!.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/Pick from both sides!.cpp -------------------------------------------------------------------------------- /Arrays/Rearrange the array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/Rearrange the array.cpp -------------------------------------------------------------------------------- /Arrays/Repeat&MissngNumberArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/Repeat&MissngNumberArray.cpp -------------------------------------------------------------------------------- /Arrays/Reverse pairs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/Reverse pairs.cpp -------------------------------------------------------------------------------- /Arrays/RotateMatrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/RotateMatrix.cpp -------------------------------------------------------------------------------- /Arrays/Rotated Arrays.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/Rotated Arrays.cpp -------------------------------------------------------------------------------- /Arrays/Row with maximum number of ones.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/Row with maximum number of ones.cpp -------------------------------------------------------------------------------- /Arrays/Search in a row wise and column wise sorted matrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/Search in a row wise and column wise sorted matrix.cpp -------------------------------------------------------------------------------- /Arrays/SetMatrixZeros.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/SetMatrixZeros.cpp -------------------------------------------------------------------------------- /Arrays/Size three subsequences divisible by B.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/Size three subsequences divisible by B.cpp -------------------------------------------------------------------------------- /Arrays/Sort array with squares!.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/Sort array with squares!.cpp -------------------------------------------------------------------------------- /Arrays/SpiralOrderMatrix-I.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/SpiralOrderMatrix-I.cpp -------------------------------------------------------------------------------- /Arrays/SpiralOrderMatrix-II.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/SpiralOrderMatrix-II.cpp -------------------------------------------------------------------------------- /Arrays/Sub-matrix Sum Queries.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/Sub-matrix Sum Queries.cpp -------------------------------------------------------------------------------- /Arrays/Sum of adjacent elements is always even.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/Sum of adjacent elements is always even.cpp -------------------------------------------------------------------------------- /Arrays/Toeplitz Matrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/Toeplitz Matrix.cpp -------------------------------------------------------------------------------- /Arrays/TripletsWithSumBetweenGivenRange.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/TripletsWithSumBetweenGivenRange.cpp -------------------------------------------------------------------------------- /Arrays/WaveArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Arrays/WaveArray.cpp -------------------------------------------------------------------------------- /Backtracking/All Unique Permutations.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Backtracking/All Unique Permutations.cpp -------------------------------------------------------------------------------- /Backtracking/CombinationSum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Backtracking/CombinationSum.cpp -------------------------------------------------------------------------------- /Backtracking/CombinationSumII.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Backtracking/CombinationSumII.cpp -------------------------------------------------------------------------------- /Backtracking/Combinations.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Backtracking/Combinations.cpp -------------------------------------------------------------------------------- /Backtracking/GenerateAllParenthesesII.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Backtracking/GenerateAllParenthesesII.cpp -------------------------------------------------------------------------------- /Backtracking/GrayCode.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Backtracking/GrayCode.cpp -------------------------------------------------------------------------------- /Backtracking/LetterPhone.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Backtracking/LetterPhone.cpp -------------------------------------------------------------------------------- /Backtracking/Maximal String.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Backtracking/Maximal String.cpp -------------------------------------------------------------------------------- /Backtracking/Minimum number of swaps required for arranging pairs adjacent to each other.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Backtracking/Minimum number of swaps required for arranging pairs adjacent to each other.cpp -------------------------------------------------------------------------------- /Backtracking/ModularExpression.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Backtracking/ModularExpression.cpp -------------------------------------------------------------------------------- /Backtracking/NQueens.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Backtracking/NQueens.cpp -------------------------------------------------------------------------------- /Backtracking/Number of Squareful Arrays.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Backtracking/Number of Squareful Arrays.cpp -------------------------------------------------------------------------------- /Backtracking/PalindromePartitioning.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Backtracking/PalindromePartitioning.cpp -------------------------------------------------------------------------------- /Backtracking/Permutations.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Backtracking/Permutations.cpp -------------------------------------------------------------------------------- /Backtracking/Remove Invalid Parentheses.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Backtracking/Remove Invalid Parentheses.cpp -------------------------------------------------------------------------------- /Backtracking/ReverseLinkedListRecursion.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Backtracking/ReverseLinkedListRecursion.cpp -------------------------------------------------------------------------------- /Backtracking/Subset.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Backtracking/Subset.cpp -------------------------------------------------------------------------------- /Backtracking/SubsetsII.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Backtracking/SubsetsII.cpp -------------------------------------------------------------------------------- /Backtracking/Sudoku.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Backtracking/Sudoku.cpp -------------------------------------------------------------------------------- /Backtracking/Unique Paths III.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Backtracking/Unique Paths III.cpp -------------------------------------------------------------------------------- /Backtracking/kthPermutationSequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Backtracking/kthPermutationSequence.cpp -------------------------------------------------------------------------------- /Binary Search/ADD OR NOT.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Binary Search/ADD OR NOT.cpp -------------------------------------------------------------------------------- /Binary Search/Aggressive cows.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Binary Search/Aggressive cows.cpp -------------------------------------------------------------------------------- /Binary Search/AllocateBooks.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Binary Search/AllocateBooks.cpp -------------------------------------------------------------------------------- /Binary Search/Ath Magical Number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Binary Search/Ath Magical Number.cpp -------------------------------------------------------------------------------- /Binary Search/CountElementOccurence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Binary Search/CountElementOccurence.cpp -------------------------------------------------------------------------------- /Binary Search/Falling Dominoes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Binary Search/Falling Dominoes.cpp -------------------------------------------------------------------------------- /Binary Search/Find a peak element.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Binary Search/Find a peak element.cpp -------------------------------------------------------------------------------- /Binary Search/ImplementPowerFunction.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Binary Search/ImplementPowerFunction.cpp -------------------------------------------------------------------------------- /Binary Search/MatrixMedian.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Binary Search/MatrixMedian.cpp -------------------------------------------------------------------------------- /Binary Search/MatrixSearch.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Binary Search/MatrixSearch.cpp -------------------------------------------------------------------------------- /Binary Search/MedianOfArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Binary Search/MedianOfArray.cpp -------------------------------------------------------------------------------- /Binary Search/Painter'sPartitionProblem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Binary Search/Painter'sPartitionProblem.cpp -------------------------------------------------------------------------------- /Binary Search/Preimage Size of Factorial Zeroes Function.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Binary Search/Preimage Size of Factorial Zeroes Function.cpp -------------------------------------------------------------------------------- /Binary Search/RotatedArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Binary Search/RotatedArray.cpp -------------------------------------------------------------------------------- /Binary Search/RotatedSortedArraySearch.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Binary Search/RotatedSortedArraySearch.cpp -------------------------------------------------------------------------------- /Binary Search/Search in Bitonic Array!.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Binary Search/Search in Bitonic Array!.cpp -------------------------------------------------------------------------------- /Binary Search/SearchForARange.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Binary Search/SearchForARange.cpp -------------------------------------------------------------------------------- /Binary Search/Single Element in a Sorted Array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Binary Search/Single Element in a Sorted Array.cpp -------------------------------------------------------------------------------- /Binary Search/Smallest Good Base.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Binary Search/Smallest Good Base.cpp -------------------------------------------------------------------------------- /Binary Search/SortedInsertPosition.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Binary Search/SortedInsertPosition.cpp -------------------------------------------------------------------------------- /Binary Search/Special Integer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Binary Search/Special Integer.cpp -------------------------------------------------------------------------------- /Binary Search/SquareRootOfInteger.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Binary Search/SquareRootOfInteger.cpp -------------------------------------------------------------------------------- /Binary Search/WoodCutting Made Easy!.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Binary Search/WoodCutting Made Easy!.cpp -------------------------------------------------------------------------------- /Bit Manipulation/DifferentBitsSumPairwise.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Bit Manipulation/DifferentBitsSumPairwise.cpp -------------------------------------------------------------------------------- /Bit Manipulation/DivideIntegers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Bit Manipulation/DivideIntegers.cpp -------------------------------------------------------------------------------- /Bit Manipulation/MinXORValue.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Bit Manipulation/MinXORValue.cpp -------------------------------------------------------------------------------- /Bit Manipulation/NumberOf1Bits.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Bit Manipulation/NumberOf1Bits.cpp -------------------------------------------------------------------------------- /Bit Manipulation/ReverseBits.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Bit Manipulation/ReverseBits.cpp -------------------------------------------------------------------------------- /Bit Manipulation/SUBARRAY OR.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Bit Manipulation/SUBARRAY OR.cpp -------------------------------------------------------------------------------- /Bit Manipulation/SingleNumber-II.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Bit Manipulation/SingleNumber-II.cpp -------------------------------------------------------------------------------- /Bit Manipulation/SingleNumber.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Bit Manipulation/SingleNumber.cpp -------------------------------------------------------------------------------- /Bit Manipulation/Trailing Zeroes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Bit Manipulation/Trailing Zeroes.cpp -------------------------------------------------------------------------------- /Bit Manipulation/XOR-ing the Subarrays!.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Bit Manipulation/XOR-ing the Subarrays!.cpp -------------------------------------------------------------------------------- /Codersbit/Another chocolate game.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Codersbit/Another chocolate game.cpp -------------------------------------------------------------------------------- /Codersbit/Array and Prime Divisors.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Codersbit/Array and Prime Divisors.cpp -------------------------------------------------------------------------------- /Codersbit/Delete and Conquer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Codersbit/Delete and Conquer.cpp -------------------------------------------------------------------------------- /Codersbit/Distinct Primes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Codersbit/Distinct Primes.cpp -------------------------------------------------------------------------------- /Codersbit/EZPZ.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Codersbit/EZPZ.cpp -------------------------------------------------------------------------------- /Codersbit/Going back to OS.cpp: -------------------------------------------------------------------------------- 1 | 19.6 -------------------------------------------------------------------------------- /Codersbit/Longest Subarray Difference.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Codersbit/Longest Subarray Difference.cpp -------------------------------------------------------------------------------- /Codersbit/MinimiZe.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Codersbit/MinimiZe.cpp -------------------------------------------------------------------------------- /Codersbit/Prime Subarrays.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Codersbit/Prime Subarrays.cpp -------------------------------------------------------------------------------- /Codersbit/Scores.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Codersbit/Scores.cpp -------------------------------------------------------------------------------- /Codersbit/Shortest Path in Simple Graph.cpp: -------------------------------------------------------------------------------- 1 | 6 -------------------------------------------------------------------------------- /Codersbit/Simple Queries.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Codersbit/Simple Queries.cpp -------------------------------------------------------------------------------- /Codersbit/Smallest Subarray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Codersbit/Smallest Subarray.cpp -------------------------------------------------------------------------------- /Codersbit/The Sequence game.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Codersbit/The Sequence game.cpp -------------------------------------------------------------------------------- /Codersbit/The square game.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Codersbit/The square game.cpp -------------------------------------------------------------------------------- /Codersbit/Three Numbers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Codersbit/Three Numbers.cpp -------------------------------------------------------------------------------- /Codersbit/Try some SQL.cpp: -------------------------------------------------------------------------------- 1 | 14 -------------------------------------------------------------------------------- /Codersbit/Very Hard Queries.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Codersbit/Very Hard Queries.cpp -------------------------------------------------------------------------------- /Codersbit/Vowels.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Codersbit/Vowels.cpp -------------------------------------------------------------------------------- /Dynamic Programming/0-1 Knapsack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/0-1 Knapsack.cpp -------------------------------------------------------------------------------- /Dynamic Programming/ALL GCD.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/ALL GCD.cpp -------------------------------------------------------------------------------- /Dynamic Programming/Another Coin Problem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/Another Coin Problem.cpp -------------------------------------------------------------------------------- /Dynamic Programming/Arrange-II.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/Arrange-II.cpp -------------------------------------------------------------------------------- /Dynamic Programming/Best Time to Buy and Sell Stock atmost B times.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/Best Time to Buy and Sell Stock atmost B times.cpp -------------------------------------------------------------------------------- /Dynamic Programming/Best Time to Buy and Sell Stock with Cooldown.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/Best Time to Buy and Sell Stock with Cooldown.cpp -------------------------------------------------------------------------------- /Dynamic Programming/BestTimeToBuyAndSellStocks-I.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/BestTimeToBuyAndSellStocks-I.cpp -------------------------------------------------------------------------------- /Dynamic Programming/BestTimeToBuyAndSellStocks-II.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/BestTimeToBuyAndSellStocks-II.cpp -------------------------------------------------------------------------------- /Dynamic Programming/BestTimeToBuyAndSellStocks-III.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/BestTimeToBuyAndSellStocks-III.cpp -------------------------------------------------------------------------------- /Dynamic Programming/Box Stacking Problem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/Box Stacking Problem.cpp -------------------------------------------------------------------------------- /Dynamic Programming/Burst Balloons.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/Burst Balloons.cpp -------------------------------------------------------------------------------- /Dynamic Programming/Chain of Pairs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/Chain of Pairs.cpp -------------------------------------------------------------------------------- /Dynamic Programming/CoinSumInfinite.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/CoinSumInfinite.cpp -------------------------------------------------------------------------------- /Dynamic Programming/CoinsInALine.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/CoinsInALine.cpp -------------------------------------------------------------------------------- /Dynamic Programming/Count Palindromic Subsequences.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/Count Palindromic Subsequences.cpp -------------------------------------------------------------------------------- /Dynamic Programming/CountPermutationsOfBST.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/CountPermutationsOfBST.cpp -------------------------------------------------------------------------------- /Dynamic Programming/Deepu and girlfriend.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/Deepu and girlfriend.cpp -------------------------------------------------------------------------------- /Dynamic Programming/DistinctSubsequences.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/DistinctSubsequences.cpp -------------------------------------------------------------------------------- /Dynamic Programming/Divisor Sequences.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/Divisor Sequences.cpp -------------------------------------------------------------------------------- /Dynamic Programming/DungeonPrincess.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/DungeonPrincess.cpp -------------------------------------------------------------------------------- /Dynamic Programming/EditDistance.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/EditDistance.cpp -------------------------------------------------------------------------------- /Dynamic Programming/Egg Drop Problem!.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/Egg Drop Problem!.cpp -------------------------------------------------------------------------------- /Dynamic Programming/EqualAveragePartitioning.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/EqualAveragePartitioning.cpp -------------------------------------------------------------------------------- /Dynamic Programming/EvaluateExpressionToTrue.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/EvaluateExpressionToTrue.cpp -------------------------------------------------------------------------------- /Dynamic Programming/FlipArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/FlipArray.cpp -------------------------------------------------------------------------------- /Dynamic Programming/Grid Unique Paths II.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/Grid Unique Paths II.cpp -------------------------------------------------------------------------------- /Dynamic Programming/Height of every node in a tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/Height of every node in a tree.cpp -------------------------------------------------------------------------------- /Dynamic Programming/Increasing Path in Matrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/Increasing Path in Matrix.cpp -------------------------------------------------------------------------------- /Dynamic Programming/InterleavingStrings.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/InterleavingStrings.cpp -------------------------------------------------------------------------------- /Dynamic Programming/IntersectingChordsInACircle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/IntersectingChordsInACircle.cpp -------------------------------------------------------------------------------- /Dynamic Programming/Jesse and two string.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/Jesse and two string.cpp -------------------------------------------------------------------------------- /Dynamic Programming/JumpGameArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/JumpGameArray.cpp -------------------------------------------------------------------------------- /Dynamic Programming/KthManhattanDistanceNeighbourhood.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/KthManhattanDistanceNeighbourhood.cpp -------------------------------------------------------------------------------- /Dynamic Programming/LONGEST COMMON SUBSTRING.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/LONGEST COMMON SUBSTRING.cpp -------------------------------------------------------------------------------- /Dynamic Programming/LargestAreaOfRectanglesWithPremutations.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/LargestAreaOfRectanglesWithPremutations.cpp -------------------------------------------------------------------------------- /Dynamic Programming/Length of Longest Fibonacci Subsequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/Length of Longest Fibonacci Subsequence.cpp -------------------------------------------------------------------------------- /Dynamic Programming/LengthOfLongestSubsequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/LengthOfLongestSubsequence.cpp -------------------------------------------------------------------------------- /Dynamic Programming/Lexographically Greater Strings.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/Lexographically Greater Strings.cpp -------------------------------------------------------------------------------- /Dynamic Programming/Longest Common Pallindromic Subsequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/Longest Common Pallindromic Subsequence.cpp -------------------------------------------------------------------------------- /Dynamic Programming/Longest Common Subsequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/Longest Common Subsequence.cpp -------------------------------------------------------------------------------- /Dynamic Programming/Longest Palindromic Substring.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/Longest Palindromic Substring.cpp -------------------------------------------------------------------------------- /Dynamic Programming/LongestArithmeticProgression.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/LongestArithmeticProgression.cpp -------------------------------------------------------------------------------- /Dynamic Programming/LongestIncreasingSubsequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/LongestIncreasingSubsequence.cpp -------------------------------------------------------------------------------- /Dynamic Programming/LongestValidParenthesis.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/LongestValidParenthesis.cpp -------------------------------------------------------------------------------- /Dynamic Programming/Matrix Chain Multiplication.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/Matrix Chain Multiplication.cpp -------------------------------------------------------------------------------- /Dynamic Programming/Max edge queries!.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/Max edge queries!.cpp -------------------------------------------------------------------------------- /Dynamic Programming/MaxProductSubarray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/MaxProductSubarray.cpp -------------------------------------------------------------------------------- /Dynamic Programming/MaxRectangleInBinaryMatrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/MaxRectangleInBinaryMatrix.cpp -------------------------------------------------------------------------------- /Dynamic Programming/MaxSumPathInBinaryTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/MaxSumPathInBinaryTree.cpp -------------------------------------------------------------------------------- /Dynamic Programming/MaxSumWithoutAdjacentElements.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/MaxSumWithoutAdjacentElements.cpp -------------------------------------------------------------------------------- /Dynamic Programming/Maximise the coins by popping balloons.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/Maximise the coins by popping balloons.cpp -------------------------------------------------------------------------------- /Dynamic Programming/Maximum Path in Triangle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/Maximum Path in Triangle.cpp -------------------------------------------------------------------------------- /Dynamic Programming/Maximum Size Square Sub-matrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/Maximum Size Square Sub-matrix.cpp -------------------------------------------------------------------------------- /Dynamic Programming/Maximum coin in a tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/Maximum coin in a tree.cpp -------------------------------------------------------------------------------- /Dynamic Programming/Merge elements.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/Merge elements.cpp -------------------------------------------------------------------------------- /Dynamic Programming/MinJumpsArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/MinJumpsArray.cpp -------------------------------------------------------------------------------- /Dynamic Programming/MinSumPathInMatrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/MinSumPathInMatrix.cpp -------------------------------------------------------------------------------- /Dynamic Programming/MinSumPathInTriangle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/MinSumPathInTriangle.cpp -------------------------------------------------------------------------------- /Dynamic Programming/Minimum Difference Subsets!.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/Minimum Difference Subsets!.cpp -------------------------------------------------------------------------------- /Dynamic Programming/NdigitNumberWithSumS.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/NdigitNumberWithSumS.cpp -------------------------------------------------------------------------------- /Dynamic Programming/Obsessive String.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/Obsessive String.cpp -------------------------------------------------------------------------------- /Dynamic Programming/Paint House!.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/Paint House!.cpp -------------------------------------------------------------------------------- /Dynamic Programming/PalindromePartitioning-II.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/PalindromePartitioning-II.cpp -------------------------------------------------------------------------------- /Dynamic Programming/Probablity of knight inside chess board.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/Probablity of knight inside chess board.cpp -------------------------------------------------------------------------------- /Dynamic Programming/QueensAttack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/QueensAttack.cpp -------------------------------------------------------------------------------- /Dynamic Programming/RECTANGLE SUM.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/RECTANGLE SUM.cpp -------------------------------------------------------------------------------- /Dynamic Programming/REDUCTION.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/REDUCTION.cpp -------------------------------------------------------------------------------- /Dynamic Programming/RegularExpression-II.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/RegularExpression-II.cpp -------------------------------------------------------------------------------- /Dynamic Programming/RegularExpressionMatch.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/RegularExpressionMatch.cpp -------------------------------------------------------------------------------- /Dynamic Programming/RepeatingSubsequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/RepeatingSubsequence.cpp -------------------------------------------------------------------------------- /Dynamic Programming/Required Substrings.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/Required Substrings.cpp -------------------------------------------------------------------------------- /Dynamic Programming/RodCutting.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/RodCutting.cpp -------------------------------------------------------------------------------- /Dynamic Programming/Russian Doll Envelopes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/Russian Doll Envelopes.cpp -------------------------------------------------------------------------------- /Dynamic Programming/ScrambleString.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/ScrambleString.cpp -------------------------------------------------------------------------------- /Dynamic Programming/ShortestCommonSuperstring.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/ShortestCommonSuperstring.cpp -------------------------------------------------------------------------------- /Dynamic Programming/Stairs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/Stairs.cpp -------------------------------------------------------------------------------- /Dynamic Programming/String count.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/String count.cpp -------------------------------------------------------------------------------- /Dynamic Programming/SubmatricesWithSumZero.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/SubmatricesWithSumZero.cpp -------------------------------------------------------------------------------- /Dynamic Programming/Subset Sum Problem!.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/Subset Sum Problem!.cpp -------------------------------------------------------------------------------- /Dynamic Programming/Text Justification.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/Text Justification.cpp -------------------------------------------------------------------------------- /Dynamic Programming/Tiling Problem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/Tiling Problem.cpp -------------------------------------------------------------------------------- /Dynamic Programming/Tiling With Dominoes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/Tiling With Dominoes.cpp -------------------------------------------------------------------------------- /Dynamic Programming/Travelling Saleman Problem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/Travelling Saleman Problem.cpp -------------------------------------------------------------------------------- /Dynamic Programming/Tree coloring with three colors.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/Tree coloring with three colors.cpp -------------------------------------------------------------------------------- /Dynamic Programming/TusharBirthdayBombs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/TusharBirthdayBombs.cpp -------------------------------------------------------------------------------- /Dynamic Programming/TusharsBirthdayParty.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/TusharsBirthdayParty.cpp -------------------------------------------------------------------------------- /Dynamic Programming/Two Strings.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/Two Strings.cpp -------------------------------------------------------------------------------- /Dynamic Programming/UniqueBinarySearchTree-II.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/UniqueBinarySearchTree-II.cpp -------------------------------------------------------------------------------- /Dynamic Programming/UniquePathsInAGrid.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/UniquePathsInAGrid.cpp -------------------------------------------------------------------------------- /Dynamic Programming/Unreliable Rover.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/Unreliable Rover.cpp -------------------------------------------------------------------------------- /Dynamic Programming/WaysToColor3XNBoard.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/WaysToColor3XNBoard.cpp -------------------------------------------------------------------------------- /Dynamic Programming/WaysToDecode.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/WaysToDecode.cpp -------------------------------------------------------------------------------- /Dynamic Programming/WordBreak-II.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/WordBreak-II.cpp -------------------------------------------------------------------------------- /Dynamic Programming/WordBreak.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/WordBreak.cpp -------------------------------------------------------------------------------- /Dynamic Programming/maximum sum of array with no repeating digit.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Dynamic Programming/maximum sum of array with no repeating digit.cpp -------------------------------------------------------------------------------- /Graphs/BlackShapes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Graphs/BlackShapes.cpp -------------------------------------------------------------------------------- /Graphs/CaptureRegionsOnBoard.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Graphs/CaptureRegionsOnBoard.cpp -------------------------------------------------------------------------------- /Graphs/Check whether the graph is bipartide or not.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Graphs/Check whether the graph is bipartide or not.cpp -------------------------------------------------------------------------------- /Graphs/CloneGraph.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Graphs/CloneGraph.cpp -------------------------------------------------------------------------------- /Graphs/Commutable Island.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Graphs/Commutable Island.cpp -------------------------------------------------------------------------------- /Graphs/ConvertSortedListToBinarySearchTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Graphs/ConvertSortedListToBinarySearchTree.cpp -------------------------------------------------------------------------------- /Graphs/Cows and snacks.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Graphs/Cows and snacks.cpp -------------------------------------------------------------------------------- /Graphs/Cycle in Directed Graph.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Graphs/Cycle in Directed Graph.cpp -------------------------------------------------------------------------------- /Graphs/Cycle in Undirected Graph.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Graphs/Cycle in Undirected Graph.cpp -------------------------------------------------------------------------------- /Graphs/Delete Edge!.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Graphs/Delete Edge!.cpp -------------------------------------------------------------------------------- /Graphs/Dijsktra.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Graphs/Dijsktra.cpp -------------------------------------------------------------------------------- /Graphs/KnightsOnChessBoard.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Graphs/KnightsOnChessBoard.cpp -------------------------------------------------------------------------------- /Graphs/LargestDistanceBetweenNodesOfATree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Graphs/LargestDistanceBetweenNodesOfATree.cpp -------------------------------------------------------------------------------- /Graphs/LevelOrder.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Graphs/LevelOrder.cpp -------------------------------------------------------------------------------- /Graphs/Maximum Depth.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Graphs/Maximum Depth.cpp -------------------------------------------------------------------------------- /Graphs/Min Cost Path.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Graphs/Min Cost Path.cpp -------------------------------------------------------------------------------- /Graphs/Minimum cost to connect cities.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Graphs/Minimum cost to connect cities.cpp -------------------------------------------------------------------------------- /Graphs/Most Stones Removed.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Graphs/Most Stones Removed.cpp -------------------------------------------------------------------------------- /Graphs/Number of islands II.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Graphs/Number of islands II.cpp -------------------------------------------------------------------------------- /Graphs/Number of islands.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Graphs/Number of islands.cpp -------------------------------------------------------------------------------- /Graphs/Path in Directed Graph.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Graphs/Path in Directed Graph.cpp -------------------------------------------------------------------------------- /Graphs/Path with good nodes!.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Graphs/Path with good nodes!.cpp -------------------------------------------------------------------------------- /Graphs/Permutation Swaps!.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Graphs/Permutation Swaps!.cpp -------------------------------------------------------------------------------- /Graphs/PossibilityOfFinishingAllCourses.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Graphs/PossibilityOfFinishingAllCourses.cpp -------------------------------------------------------------------------------- /Graphs/Region in BinaryMatrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Graphs/Region in BinaryMatrix.cpp -------------------------------------------------------------------------------- /Graphs/Roads and Libraries.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Graphs/Roads and Libraries.cpp -------------------------------------------------------------------------------- /Graphs/Rotten Oranges.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Graphs/Rotten Oranges.cpp -------------------------------------------------------------------------------- /Graphs/Rust and his transfer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Graphs/Rust and his transfer.cpp -------------------------------------------------------------------------------- /Graphs/Shortest Distance from All Buildings.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Graphs/Shortest Distance from All Buildings.cpp -------------------------------------------------------------------------------- /Graphs/Shortest Distance in a Maze.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Graphs/Shortest Distance in a Maze.cpp -------------------------------------------------------------------------------- /Graphs/SmallestMultipleWith0And1.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Graphs/SmallestMultipleWith0And1.cpp -------------------------------------------------------------------------------- /Graphs/SmallestSequenceWithGivenPrimes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Graphs/SmallestSequenceWithGivenPrimes.cpp -------------------------------------------------------------------------------- /Graphs/Snake Ladder Problem!.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Graphs/Snake Ladder Problem!.cpp -------------------------------------------------------------------------------- /Graphs/SteppingNumbers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Graphs/SteppingNumbers.cpp -------------------------------------------------------------------------------- /Graphs/Strongly Connected Components.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Graphs/Strongly Connected Components.cpp -------------------------------------------------------------------------------- /Graphs/SumOfFibonacciNumbers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Graphs/SumOfFibonacciNumbers.cpp -------------------------------------------------------------------------------- /Graphs/Two Teams.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Graphs/Two Teams.cpp -------------------------------------------------------------------------------- /Graphs/Useful Extra Edges.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Graphs/Useful Extra Edges.cpp -------------------------------------------------------------------------------- /Graphs/ValidPath.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Graphs/ValidPath.cpp -------------------------------------------------------------------------------- /Graphs/Water Flow.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Graphs/Water Flow.cpp -------------------------------------------------------------------------------- /Graphs/WiFi Routers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Graphs/WiFi Routers.cpp -------------------------------------------------------------------------------- /Graphs/WordLadder-I.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Graphs/WordLadder-I.cpp -------------------------------------------------------------------------------- /Graphs/WordLadder-II.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Graphs/WordLadder-II.cpp -------------------------------------------------------------------------------- /Graphs/WordSearchBoard.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Graphs/WordSearchBoard.cpp -------------------------------------------------------------------------------- /Greedy/Another Coin Problem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Greedy/Another Coin Problem.cpp -------------------------------------------------------------------------------- /Greedy/AssignMiceToHoles.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Greedy/AssignMiceToHoles.cpp -------------------------------------------------------------------------------- /Greedy/Bulbs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Greedy/Bulbs.cpp -------------------------------------------------------------------------------- /Greedy/Bus and Passenger.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Greedy/Bus and Passenger.cpp -------------------------------------------------------------------------------- /Greedy/Byes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Greedy/Byes.cpp -------------------------------------------------------------------------------- /Greedy/Chocolate Distribution.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Greedy/Chocolate Distribution.cpp -------------------------------------------------------------------------------- /Greedy/Disjoint Intervals.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Greedy/Disjoint Intervals.cpp -------------------------------------------------------------------------------- /Greedy/DistributeCandy.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Greedy/DistributeCandy.cpp -------------------------------------------------------------------------------- /Greedy/GasStation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Greedy/GasStation.cpp -------------------------------------------------------------------------------- /Greedy/Gcd Ordering.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Greedy/Gcd Ordering.cpp -------------------------------------------------------------------------------- /Greedy/HighestProduct.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Greedy/HighestProduct.cpp -------------------------------------------------------------------------------- /Greedy/Largest Permutation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Greedy/Largest Permutation.cpp -------------------------------------------------------------------------------- /Greedy/MajorityElement.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Greedy/MajorityElement.cpp -------------------------------------------------------------------------------- /Greedy/Minimum Cost to Hire K Workers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Greedy/Minimum Cost to Hire K Workers.cpp -------------------------------------------------------------------------------- /Greedy/Seats.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Greedy/Seats.cpp -------------------------------------------------------------------------------- /Hashing/2Sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Hashing/2Sum.cpp -------------------------------------------------------------------------------- /Hashing/4Sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Hashing/4Sum.cpp -------------------------------------------------------------------------------- /Hashing/An Increment Problem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Hashing/An Increment Problem.cpp -------------------------------------------------------------------------------- /Hashing/Anagrams.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Hashing/Anagrams.cpp -------------------------------------------------------------------------------- /Hashing/ColourfulNumber.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Hashing/ColourfulNumber.cpp -------------------------------------------------------------------------------- /Hashing/Contiguous Array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Hashing/Contiguous Array.cpp -------------------------------------------------------------------------------- /Hashing/CopyList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Hashing/CopyList.cpp -------------------------------------------------------------------------------- /Hashing/Count Right Triangles.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Hashing/Count Right Triangles.cpp -------------------------------------------------------------------------------- /Hashing/Diffk-II.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Hashing/Diffk-II.cpp -------------------------------------------------------------------------------- /Hashing/Equal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Hashing/Equal.cpp -------------------------------------------------------------------------------- /Hashing/Find if there is a sub-array with 0 sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Hashing/Find if there is a sub-array with 0 sum.cpp -------------------------------------------------------------------------------- /Hashing/Find pairs in array whose sum is already present.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Hashing/Find pairs in array whose sum is already present.cpp -------------------------------------------------------------------------------- /Hashing/First Repeating element.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Hashing/First Repeating element.cpp -------------------------------------------------------------------------------- /Hashing/Fraction.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Hashing/Fraction.cpp -------------------------------------------------------------------------------- /Hashing/Grid Illumination.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Hashing/Grid Illumination.cpp -------------------------------------------------------------------------------- /Hashing/Invoiced Billing.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Hashing/Invoiced Billing.cpp -------------------------------------------------------------------------------- /Hashing/LargestContinuousSequenceZeroSum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Hashing/LargestContinuousSequenceZeroSum.cpp -------------------------------------------------------------------------------- /Hashing/Lightsabers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Hashing/Lightsabers.cpp -------------------------------------------------------------------------------- /Hashing/Longest Subarray Length.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Hashing/Longest Subarray Length.cpp -------------------------------------------------------------------------------- /Hashing/LongestSubstringWithoutRepeat.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Hashing/LongestSubstringWithoutRepeat.cpp -------------------------------------------------------------------------------- /Hashing/Maximum Points on the same line.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Hashing/Maximum Points on the same line.cpp -------------------------------------------------------------------------------- /Hashing/Pairs With Given Xor.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Hashing/Pairs With Given Xor.cpp -------------------------------------------------------------------------------- /Hashing/Palindrome Pairs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Hashing/Palindrome Pairs.cpp -------------------------------------------------------------------------------- /Hashing/Parity Queries.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Hashing/Parity Queries.cpp -------------------------------------------------------------------------------- /Hashing/PointsOnTheStriaghtLine.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Hashing/PointsOnTheStriaghtLine.cpp -------------------------------------------------------------------------------- /Hashing/Sort an array according to the order defined by another array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Hashing/Sort an array according to the order defined by another array.cpp -------------------------------------------------------------------------------- /Hashing/Subarray Sum Equals K.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Hashing/Subarray Sum Equals K.cpp -------------------------------------------------------------------------------- /Hashing/Subarray with B odd numbers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Hashing/Subarray with B odd numbers.cpp -------------------------------------------------------------------------------- /Hashing/Subarray with equal occurences!.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Hashing/Subarray with equal occurences!.cpp -------------------------------------------------------------------------------- /Hashing/Subarray with equal occurences.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Hashing/Subarray with equal occurences.cpp -------------------------------------------------------------------------------- /Hashing/Subarray with given XOR.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Hashing/Subarray with given XOR.cpp -------------------------------------------------------------------------------- /Hashing/SubstringConcatenation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Hashing/SubstringConcatenation.cpp -------------------------------------------------------------------------------- /Hashing/Time Based Key-Value Store.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Hashing/Time Based Key-Value Store.cpp -------------------------------------------------------------------------------- /Hashing/Two out of Three.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Hashing/Two out of Three.cpp -------------------------------------------------------------------------------- /Hashing/ValidSudoku.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Hashing/ValidSudoku.cpp -------------------------------------------------------------------------------- /Hashing/WindowString.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Hashing/WindowString.cpp -------------------------------------------------------------------------------- /Heaps and Maps/Activity Selection.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Heaps and Maps/Activity Selection.cpp -------------------------------------------------------------------------------- /Heaps and Maps/B Closest Points to Origin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Heaps and Maps/B Closest Points to Origin.py -------------------------------------------------------------------------------- /Heaps and Maps/B-th Smallest Prime Fraction.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Heaps and Maps/B-th Smallest Prime Fraction.cpp -------------------------------------------------------------------------------- /Heaps and Maps/Connect ropes with minimum length.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Heaps and Maps/Connect ropes with minimum length.cpp -------------------------------------------------------------------------------- /Heaps and Maps/DistinctNumbersInWindow.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Heaps and Maps/DistinctNumbersInWindow.cpp -------------------------------------------------------------------------------- /Heaps and Maps/Find Rectangle in binary matrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Heaps and Maps/Find Rectangle in binary matrix.cpp -------------------------------------------------------------------------------- /Heaps and Maps/Good Ranges.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Heaps and Maps/Good Ranges.cpp -------------------------------------------------------------------------------- /Heaps and Maps/Job Sequencing.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Heaps and Maps/Job Sequencing.cpp -------------------------------------------------------------------------------- /Heaps and Maps/K Largest Elements.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Heaps and Maps/K Largest Elements.cpp -------------------------------------------------------------------------------- /Heaps and Maps/KEEP SWAPPING.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Heaps and Maps/KEEP SWAPPING.cpp -------------------------------------------------------------------------------- /Heaps and Maps/Kth Smallest Element in a Sorted Matrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Heaps and Maps/Kth Smallest Element in a Sorted Matrix.cpp -------------------------------------------------------------------------------- /Heaps and Maps/LeastRecentlyUsedCache.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Heaps and Maps/LeastRecentlyUsedCache.cpp -------------------------------------------------------------------------------- /Heaps and Maps/Longest Subarray Sum B.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Heaps and Maps/Longest Subarray Sum B.cpp -------------------------------------------------------------------------------- /Heaps and Maps/MagicianAndChocolates.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Heaps and Maps/MagicianAndChocolates.cpp -------------------------------------------------------------------------------- /Heaps and Maps/Maximum Sum Combinations.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Heaps and Maps/Maximum Sum Combinations.cpp -------------------------------------------------------------------------------- /Heaps and Maps/Maximum array sum after B negations.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Heaps and Maps/Maximum array sum after B negations.cpp -------------------------------------------------------------------------------- /Heaps and Maps/Median of stream of running integers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Heaps and Maps/Median of stream of running integers.cpp -------------------------------------------------------------------------------- /Heaps and Maps/Meeting rooms.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Heaps and Maps/Meeting rooms.cpp -------------------------------------------------------------------------------- /Heaps and Maps/Merge K sorted arrays!.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Heaps and Maps/Merge K sorted arrays!.cpp -------------------------------------------------------------------------------- /Heaps and Maps/MergeKSortedLists.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Heaps and Maps/MergeKSortedLists.cpp -------------------------------------------------------------------------------- /Heaps and Maps/Minimum Number of Refueling Stops.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Heaps and Maps/Minimum Number of Refueling Stops.cpp -------------------------------------------------------------------------------- /Heaps and Maps/NMaxPairCombinations.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Heaps and Maps/NMaxPairCombinations.cpp -------------------------------------------------------------------------------- /Heaps and Maps/Profit Maximisation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Heaps and Maps/Profit Maximisation.cpp -------------------------------------------------------------------------------- /Heaps and Maps/Subarrays with B Different Integers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Heaps and Maps/Subarrays with B Different Integers.cpp -------------------------------------------------------------------------------- /Heaps and Maps/Task Scheduler.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Heaps and Maps/Task Scheduler.cpp -------------------------------------------------------------------------------- /Heaps and Maps/WaysToFormMaxHeap.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Heaps and Maps/WaysToFormMaxHeap.cpp -------------------------------------------------------------------------------- /Jump/LongestConsecutiveSequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Jump/LongestConsecutiveSequence.cpp -------------------------------------------------------------------------------- /Jump/NumRange.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Jump/NumRange.cpp -------------------------------------------------------------------------------- /Jump/PrettyPrint.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Jump/PrettyPrint.cpp -------------------------------------------------------------------------------- /Jump/Subtract.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Jump/Subtract.cpp -------------------------------------------------------------------------------- /Linked Lists/AddTwoNumbersAsLists.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Linked Lists/AddTwoNumbersAsLists.cpp -------------------------------------------------------------------------------- /Linked Lists/Delete middle node of a Linked List.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Linked Lists/Delete middle node of a Linked List.cpp -------------------------------------------------------------------------------- /Linked Lists/Design Linked list.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Linked Lists/Design Linked list.cpp -------------------------------------------------------------------------------- /Linked Lists/Detect and Remove Loop from a linked list.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Linked Lists/Detect and Remove Loop from a linked list.cpp -------------------------------------------------------------------------------- /Linked Lists/Even Reverse.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Linked Lists/Even Reverse.cpp -------------------------------------------------------------------------------- /Linked Lists/InsertionSortList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Linked Lists/InsertionSortList.cpp -------------------------------------------------------------------------------- /Linked Lists/IntersectionOfLists.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Linked Lists/IntersectionOfLists.cpp -------------------------------------------------------------------------------- /Linked Lists/KReverseLinkedList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Linked Lists/KReverseLinkedList.cpp -------------------------------------------------------------------------------- /Linked Lists/Kth Node From Middle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Linked Lists/Kth Node From Middle.cpp -------------------------------------------------------------------------------- /Linked Lists/Length of longest palindromic list.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Linked Lists/Length of longest palindromic list.cpp -------------------------------------------------------------------------------- /Linked Lists/ListCycle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Linked Lists/ListCycle.cpp -------------------------------------------------------------------------------- /Linked Lists/MergeTwoSortedLists.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Linked Lists/MergeTwoSortedLists.cpp -------------------------------------------------------------------------------- /Linked Lists/Middle element of linked list.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Linked Lists/Middle element of linked list.cpp -------------------------------------------------------------------------------- /Linked Lists/PalindromeList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Linked Lists/PalindromeList.cpp -------------------------------------------------------------------------------- /Linked Lists/PartitionList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Linked Lists/PartitionList.cpp -------------------------------------------------------------------------------- /Linked Lists/RemoveDuplicatesFromSortedList-I.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Linked Lists/RemoveDuplicatesFromSortedList-I.cpp -------------------------------------------------------------------------------- /Linked Lists/RemoveDuplicatesFromSortedLists-II.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Linked Lists/RemoveDuplicatesFromSortedLists-II.cpp -------------------------------------------------------------------------------- /Linked Lists/RemoveNthNodeFromListEnd.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Linked Lists/RemoveNthNodeFromListEnd.cpp -------------------------------------------------------------------------------- /Linked Lists/ReorderList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Linked Lists/ReorderList.cpp -------------------------------------------------------------------------------- /Linked Lists/Reverse Alternate K Nodes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Linked Lists/Reverse Alternate K Nodes.cpp -------------------------------------------------------------------------------- /Linked Lists/ReverseLinkList-II.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Linked Lists/ReverseLinkList-II.cpp -------------------------------------------------------------------------------- /Linked Lists/ReverseLinkedList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Linked Lists/ReverseLinkedList.cpp -------------------------------------------------------------------------------- /Linked Lists/RotateList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Linked Lists/RotateList.cpp -------------------------------------------------------------------------------- /Linked Lists/Sort Binary Linked List.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Linked Lists/Sort Binary Linked List.cpp -------------------------------------------------------------------------------- /Linked Lists/SortList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Linked Lists/SortList.cpp -------------------------------------------------------------------------------- /Linked Lists/SwapListNodesInPairs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Linked Lists/SwapListNodesInPairs.cpp -------------------------------------------------------------------------------- /Math/01 String.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/01 String.py -------------------------------------------------------------------------------- /Math/ALL GCD PAIR.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/ALL GCD PAIR.cpp -------------------------------------------------------------------------------- /Math/Alice and Bob.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/Alice and Bob.cpp -------------------------------------------------------------------------------- /Math/AllFactors.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/AllFactors.cpp -------------------------------------------------------------------------------- /Math/BinaryRepresentation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/BinaryRepresentation.cpp -------------------------------------------------------------------------------- /Math/City Tour.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/City Tour.cpp -------------------------------------------------------------------------------- /Math/Compute nCr % m.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/Compute nCr % m.cpp -------------------------------------------------------------------------------- /Math/Compute nCr % p.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/Compute nCr % p.cpp -------------------------------------------------------------------------------- /Math/Consecutive Number Sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/Consecutive Number Sum.cpp -------------------------------------------------------------------------------- /Math/Consecutive Numbers Sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/Consecutive Numbers Sum.cpp -------------------------------------------------------------------------------- /Math/Count of divisors for multiple queries.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/Count of divisors for multiple queries.cpp -------------------------------------------------------------------------------- /Math/Count of paths in a grid.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/Count of paths in a grid.cpp -------------------------------------------------------------------------------- /Math/Day of the week.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/Day of the week.cpp -------------------------------------------------------------------------------- /Math/Distribute in Circle!.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/Distribute in Circle!.cpp -------------------------------------------------------------------------------- /Math/Divisibility by 8.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/Divisibility by 8.cpp -------------------------------------------------------------------------------- /Math/ExcelColumnNumber.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/ExcelColumnNumber.cpp -------------------------------------------------------------------------------- /Math/ExcelColumnTitle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/ExcelColumnTitle.cpp -------------------------------------------------------------------------------- /Math/FAMOUS PRODUCT.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/FAMOUS PRODUCT.cpp -------------------------------------------------------------------------------- /Math/Find Nth Fibonacci.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/Find Nth Fibonacci.cpp -------------------------------------------------------------------------------- /Math/Find if two rectangles overlap.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/Find if two rectangles overlap.cpp -------------------------------------------------------------------------------- /Math/Find nth Magic Number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/Find nth Magic Number.cpp -------------------------------------------------------------------------------- /Math/Finding Position.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/Finding Position.cpp -------------------------------------------------------------------------------- /Math/FizzBuzz.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/FizzBuzz.cpp -------------------------------------------------------------------------------- /Math/GreatestCommonDivisor.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/GreatestCommonDivisor.cpp -------------------------------------------------------------------------------- /Math/GridUniquePath.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/GridUniquePath.cpp -------------------------------------------------------------------------------- /Math/GridUniquePaths.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/GridUniquePaths.cpp -------------------------------------------------------------------------------- /Math/Is Rectangle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/Is Rectangle.cpp -------------------------------------------------------------------------------- /Math/LAST SUBSET PROBLEM.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/LAST SUBSET PROBLEM.cpp -------------------------------------------------------------------------------- /Math/LargestCoPrimeDivisor.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/LargestCoPrimeDivisor.cpp -------------------------------------------------------------------------------- /Math/MATH_BUG01.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/MATH_BUG01.cpp -------------------------------------------------------------------------------- /Math/MATH_BUG02.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/MATH_BUG02.cpp -------------------------------------------------------------------------------- /Math/Maximum height of the staircase.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/Maximum height of the staircase.cpp -------------------------------------------------------------------------------- /Math/Next Similar Number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/Next Similar Number.cpp -------------------------------------------------------------------------------- /Math/Next Smallest Palindrome!.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/Next Smallest Palindrome!.cpp -------------------------------------------------------------------------------- /Math/Number Of Open Doors.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/Number Of Open Doors.cpp -------------------------------------------------------------------------------- /Math/Number of Digit One.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/Number of Digit One.cpp -------------------------------------------------------------------------------- /Math/Number of Hosts per Subnet.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/Number of Hosts per Subnet.cpp -------------------------------------------------------------------------------- /Math/NumberOfLengthsNAndValueLessThanK.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/NumberOfLengthsNAndValueLessThanK.cpp -------------------------------------------------------------------------------- /Math/PalindromeInteger.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/PalindromeInteger.cpp -------------------------------------------------------------------------------- /Math/PowerOfTwoIntegers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/PowerOfTwoIntegers.cpp -------------------------------------------------------------------------------- /Math/PrimeNumbers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/PrimeNumbers.cpp -------------------------------------------------------------------------------- /Math/PrimeSum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/PrimeSum.cpp -------------------------------------------------------------------------------- /Math/Product array puzzle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/Product array puzzle.cpp -------------------------------------------------------------------------------- /Math/RearrangeArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/RearrangeArray.cpp -------------------------------------------------------------------------------- /Math/Rectangle Area.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/Rectangle Area.cpp -------------------------------------------------------------------------------- /Math/ReverseInteger.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/ReverseInteger.cpp -------------------------------------------------------------------------------- /Math/SUM OF SQUARES.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/SUM OF SQUARES.cpp -------------------------------------------------------------------------------- /Math/Solve sub-sequences and return OR.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/Solve sub-sequences and return OR.cpp -------------------------------------------------------------------------------- /Math/SortedPermutationRank.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/SortedPermutationRank.cpp -------------------------------------------------------------------------------- /Math/SortedPermutationWithRankRepeats.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/SortedPermutationWithRankRepeats.cpp -------------------------------------------------------------------------------- /Math/Step by Step.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/Step by Step.cpp -------------------------------------------------------------------------------- /Math/Sum of all Submatrices.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/Sum of all Submatrices.cpp -------------------------------------------------------------------------------- /Math/SumOfPairwiseHammingDistance.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/SumOfPairwiseHammingDistance.cpp -------------------------------------------------------------------------------- /Math/Total Moves For Bishop!.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/Total Moves For Bishop!.cpp -------------------------------------------------------------------------------- /Math/TrailingZeroesInFactorial.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/TrailingZeroesInFactorial.cpp -------------------------------------------------------------------------------- /Math/VerifyPrime.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Math/VerifyPrime.cpp -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/README.md -------------------------------------------------------------------------------- /Stacks and Queues/Balanced Parantheses!.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Stacks and Queues/Balanced Parantheses!.cpp -------------------------------------------------------------------------------- /Stacks and Queues/Check two bracket expressions.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Stacks and Queues/Check two bracket expressions.cpp -------------------------------------------------------------------------------- /Stacks and Queues/Decode String.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Stacks and Queues/Decode String.cpp -------------------------------------------------------------------------------- /Stacks and Queues/EvaluateExpression.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Stacks and Queues/EvaluateExpression.cpp -------------------------------------------------------------------------------- /Stacks and Queues/First negative integer in window size B.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Stacks and Queues/First negative integer in window size B.cpp -------------------------------------------------------------------------------- /Stacks and Queues/First non-repeating character in a stream of characters.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Stacks and Queues/First non-repeating character in a stream of characters.cpp -------------------------------------------------------------------------------- /Stacks and Queues/GenerateAllParentheses.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Stacks and Queues/GenerateAllParentheses.cpp -------------------------------------------------------------------------------- /Stacks and Queues/Infix to Postfix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Stacks and Queues/Infix to Postfix.cpp -------------------------------------------------------------------------------- /Stacks and Queues/Is given level order a BST.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Stacks and Queues/Is given level order a BST.cpp -------------------------------------------------------------------------------- /Stacks and Queues/LargestRectangle nHistogram.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Stacks and Queues/LargestRectangle nHistogram.cpp -------------------------------------------------------------------------------- /Stacks and Queues/Maximum Frequency stack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Stacks and Queues/Maximum Frequency stack.cpp -------------------------------------------------------------------------------- /Stacks and Queues/Maximum Rectangle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Stacks and Queues/Maximum Rectangle.cpp -------------------------------------------------------------------------------- /Stacks and Queues/MinStack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Stacks and Queues/MinStack.cpp -------------------------------------------------------------------------------- /Stacks and Queues/N integers containing only 1,2 and 3.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Stacks and Queues/N integers containing only 1,2 and 3.cpp -------------------------------------------------------------------------------- /Stacks and Queues/NearestSmallestElement.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Stacks and Queues/NearestSmallestElement.cpp -------------------------------------------------------------------------------- /Stacks and Queues/Order them.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Stacks and Queues/Order them.cpp -------------------------------------------------------------------------------- /Stacks and Queues/RainWaterTrapped.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Stacks and Queues/RainWaterTrapped.cpp -------------------------------------------------------------------------------- /Stacks and Queues/Reduce the string.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Stacks and Queues/Reduce the string.cpp -------------------------------------------------------------------------------- /Stacks and Queues/RedundantBraces.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Stacks and Queues/RedundantBraces.cpp -------------------------------------------------------------------------------- /Stacks and Queues/Remove Duplicate Letters.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Stacks and Queues/Remove Duplicate Letters.cpp -------------------------------------------------------------------------------- /Stacks and Queues/Reverse a stack using recursion.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Stacks and Queues/Reverse a stack using recursion.cpp -------------------------------------------------------------------------------- /Stacks and Queues/ReverseString.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Stacks and Queues/ReverseString.cpp -------------------------------------------------------------------------------- /Stacks and Queues/Reversing the first B elements of queue.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Stacks and Queues/Reversing the first B elements of queue.cpp -------------------------------------------------------------------------------- /Stacks and Queues/SimplifyDirectoryPaths.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Stacks and Queues/SimplifyDirectoryPaths.cpp -------------------------------------------------------------------------------- /Stacks and Queues/SlidingWindowMax.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Stacks and Queues/SlidingWindowMax.cpp -------------------------------------------------------------------------------- /Stacks and Queues/Sort stack using another stack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Stacks and Queues/Sort stack using another stack.cpp -------------------------------------------------------------------------------- /Stacks and Queues/Sum of minimum and maximum elements of all subarrays of size k.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Stacks and Queues/Sum of minimum and maximum elements of all subarrays of size k.cpp -------------------------------------------------------------------------------- /Strings/AddBinaryStrings.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Strings/AddBinaryStrings.cpp -------------------------------------------------------------------------------- /Strings/Anagram Substring Search.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Strings/Anagram Substring Search.cpp -------------------------------------------------------------------------------- /Strings/Atoi.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Strings/Atoi.cpp -------------------------------------------------------------------------------- /Strings/CompareVersionNumbers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Strings/CompareVersionNumbers.cpp -------------------------------------------------------------------------------- /Strings/Convert to Palindrome.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Strings/Convert to Palindrome.cpp -------------------------------------------------------------------------------- /Strings/Count&Say.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Strings/Count&Say.cpp -------------------------------------------------------------------------------- /Strings/Custom Sort String.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Strings/Custom Sort String.cpp -------------------------------------------------------------------------------- /Strings/EDIBLE STRINGS.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Strings/EDIBLE STRINGS.cpp -------------------------------------------------------------------------------- /Strings/INFINITE STRING.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Strings/INFINITE STRING.cpp -------------------------------------------------------------------------------- /Strings/ImplementStrStr.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Strings/ImplementStrStr.cpp -------------------------------------------------------------------------------- /Strings/Integer To Roman.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Strings/Integer To Roman.cpp -------------------------------------------------------------------------------- /Strings/JustifiedText.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Strings/JustifiedText.cpp -------------------------------------------------------------------------------- /Strings/K-th character of decrypted string.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Strings/K-th character of decrypted string.cpp -------------------------------------------------------------------------------- /Strings/LengthOfLastWord.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Strings/LengthOfLastWord.cpp -------------------------------------------------------------------------------- /Strings/LongestCommonPrefix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Strings/LongestCommonPrefix.cpp -------------------------------------------------------------------------------- /Strings/LongestPalindromeSubstring.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Strings/LongestPalindromeSubstring.cpp -------------------------------------------------------------------------------- /Strings/Minimum Appends for Palindrome!.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Strings/Minimum Appends for Palindrome!.cpp -------------------------------------------------------------------------------- /Strings/Minimum Characters required to make a String Palindromic.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Strings/Minimum Characters required to make a String Palindromic.cpp -------------------------------------------------------------------------------- /Strings/Minimum Parantheses!.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Strings/Minimum Parantheses!.cpp -------------------------------------------------------------------------------- /Strings/MultiplyStrings.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Strings/MultiplyStrings.cpp -------------------------------------------------------------------------------- /Strings/PalindromeInteger.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Strings/PalindromeInteger.cpp -------------------------------------------------------------------------------- /Strings/PalindromeString.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Strings/PalindromeString.cpp -------------------------------------------------------------------------------- /Strings/Palindromic Substrings Count.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Strings/Palindromic Substrings Count.cpp -------------------------------------------------------------------------------- /Strings/PowerOf2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Strings/PowerOf2.cpp -------------------------------------------------------------------------------- /Strings/PrettyJson.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Strings/PrettyJson.cpp -------------------------------------------------------------------------------- /Strings/Remove Consecutive Characters.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Strings/Remove Consecutive Characters.cpp -------------------------------------------------------------------------------- /Strings/ReverseTheString.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Strings/ReverseTheString.cpp -------------------------------------------------------------------------------- /Strings/RomanToInteger.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Strings/RomanToInteger.cpp -------------------------------------------------------------------------------- /Strings/Starting indices of the substrings in string.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Strings/Starting indices of the substrings in string.cpp -------------------------------------------------------------------------------- /Strings/String representation using its substring.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Strings/String representation using its substring.cpp -------------------------------------------------------------------------------- /Strings/Stringoholics.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Strings/Stringoholics.cpp -------------------------------------------------------------------------------- /Strings/Ugly Pairs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Strings/Ugly Pairs.cpp -------------------------------------------------------------------------------- /Strings/ValidIPAddresses.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Strings/ValidIPAddresses.cpp -------------------------------------------------------------------------------- /Strings/ValidNumber.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Strings/ValidNumber.cpp -------------------------------------------------------------------------------- /Strings/ZigZagString.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Strings/ZigZagString.cpp -------------------------------------------------------------------------------- /Strings/kth character in double decrypted string.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Strings/kth character in double decrypted string.cpp -------------------------------------------------------------------------------- /Time Complexity/Arithmetic Subsequences.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Time Complexity/Arithmetic Subsequences.cpp -------------------------------------------------------------------------------- /Time Complexity/Best Time to Buy and Sell Stock with Transaction Fee.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Time Complexity/Best Time to Buy and Sell Stock with Transaction Fee.cpp -------------------------------------------------------------------------------- /Time Complexity/Bridges in a graph.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Time Complexity/Bridges in a graph.cpp -------------------------------------------------------------------------------- /Time Complexity/Count Palindromic Subsequences.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Time Complexity/Count Palindromic Subsequences.cpp -------------------------------------------------------------------------------- /Time Complexity/Cut the rod.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Time Complexity/Cut the rod.cpp -------------------------------------------------------------------------------- /Time Complexity/Distance of nearest cell having 1 in a binary matrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Time Complexity/Distance of nearest cell having 1 in a binary matrix.cpp -------------------------------------------------------------------------------- /Time Complexity/Find subsequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Time Complexity/Find subsequence.cpp -------------------------------------------------------------------------------- /Time Complexity/Floyd Warshall Algorithm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Time Complexity/Floyd Warshall Algorithm.cpp -------------------------------------------------------------------------------- /Time Complexity/Longest Palindromic Substring.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Time Complexity/Longest Palindromic Substring.cpp -------------------------------------------------------------------------------- /Time Complexity/Matrix Permutation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Time Complexity/Matrix Permutation.cpp -------------------------------------------------------------------------------- /Time Complexity/Minimum Weight Cycle in an Undirected weighted Graph.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Time Complexity/Minimum Weight Cycle in an Undirected weighted Graph.cpp -------------------------------------------------------------------------------- /Time Complexity/Move all zeroes to end of the array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Time Complexity/Move all zeroes to end of the array.cpp -------------------------------------------------------------------------------- /Time Complexity/Shortest Distance in a graph with two different weights.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Time Complexity/Shortest Distance in a graph with two different weights.cpp -------------------------------------------------------------------------------- /Time Complexity/String count.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Time Complexity/String count.cpp -------------------------------------------------------------------------------- /Time Complexity/Treasure Hunt.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Time Complexity/Treasure Hunt.cpp -------------------------------------------------------------------------------- /Time Complexity/XOR TRIPLETS.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Time Complexity/XOR TRIPLETS.cpp -------------------------------------------------------------------------------- /Time Complexity/timeComplexity.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Time Complexity/timeComplexity.md -------------------------------------------------------------------------------- /Trees/2-SumBinaryTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/2-SumBinaryTree.cpp -------------------------------------------------------------------------------- /Trees/BST nodes in a range.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/BST nodes in a range.cpp -------------------------------------------------------------------------------- /Trees/BSTIterator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/BSTIterator.cpp -------------------------------------------------------------------------------- /Trees/Balanced Brackets Queries.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/Balanced Brackets Queries.cpp -------------------------------------------------------------------------------- /Trees/BalancedBinaryTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/BalancedBinaryTree.cpp -------------------------------------------------------------------------------- /Trees/Binary Tree Paths.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/Binary Tree Paths.cpp -------------------------------------------------------------------------------- /Trees/BinaryTreeFromInorderAndPostorder.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/BinaryTreeFromInorderAndPostorder.cpp -------------------------------------------------------------------------------- /Trees/Boundary Traversal Of Binary Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/Boundary Traversal Of Binary Tree.cpp -------------------------------------------------------------------------------- /Trees/Burn a Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/Burn a Tree.cpp -------------------------------------------------------------------------------- /Trees/Check for BST with exactly one child of each internal nodes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/Check for BST with exactly one child of each internal nodes.cpp -------------------------------------------------------------------------------- /Trees/Check if given Preorder, Inorder and Postorder traversals are of same tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/Check if given Preorder, Inorder and Postorder traversals are of same tree.cpp -------------------------------------------------------------------------------- /Trees/Common Nodes in Two Binary Search Trees.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/Common Nodes in Two Binary Search Trees.cpp -------------------------------------------------------------------------------- /Trees/ConstructBinaryTreeFromInorderAndPreorder.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/ConstructBinaryTreeFromInorderAndPreorder.cpp -------------------------------------------------------------------------------- /Trees/Convert an arbitrary Binary Tree to a tree that holds Children Sum Property.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/Convert an arbitrary Binary Tree to a tree that holds Children Sum Property.cpp -------------------------------------------------------------------------------- /Trees/Count Complete Tree Nodes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/Count Complete Tree Nodes.cpp -------------------------------------------------------------------------------- /Trees/Difference between odd and even levels.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/Difference between odd and even levels.cpp -------------------------------------------------------------------------------- /Trees/Distance between Nodes of BST.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/Distance between Nodes of BST.cpp -------------------------------------------------------------------------------- /Trees/Duplicates in binary tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/Duplicates in binary tree.cpp -------------------------------------------------------------------------------- /Trees/Equal Tree Partition.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/Equal Tree Partition.cpp -------------------------------------------------------------------------------- /Trees/FlattenBinaryTreeToLinkedList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/FlattenBinaryTreeToLinkedList.cpp -------------------------------------------------------------------------------- /Trees/GREEDY PICK.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/GREEDY PICK.cpp -------------------------------------------------------------------------------- /Trees/HotelReviews.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/HotelReviews.cpp -------------------------------------------------------------------------------- /Trees/IdenticalBinaryTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/IdenticalBinaryTree.cpp -------------------------------------------------------------------------------- /Trees/InOrderTraversalOfCartesianTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/InOrderTraversalOfCartesianTree.cpp -------------------------------------------------------------------------------- /Trees/InorderTraversal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/InorderTraversal.cpp -------------------------------------------------------------------------------- /Trees/InvertTheBinaryTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/InvertTheBinaryTree.cpp -------------------------------------------------------------------------------- /Trees/K DISTANCE.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/K DISTANCE.cpp -------------------------------------------------------------------------------- /Trees/KthSmallestElementInTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/KthSmallestElementInTree.cpp -------------------------------------------------------------------------------- /Trees/LCA of array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/LCA of array.cpp -------------------------------------------------------------------------------- /Trees/Largest BST Subtree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/Largest BST Subtree.cpp -------------------------------------------------------------------------------- /Trees/Leaf nodes from Preorder of a Binary Search Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/Leaf nodes from Preorder of a Binary Search Tree.cpp -------------------------------------------------------------------------------- /Trees/LeastCommonAncestor.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/LeastCommonAncestor.cpp -------------------------------------------------------------------------------- /Trees/Left view of binary tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/Left view of binary tree.cpp -------------------------------------------------------------------------------- /Trees/Longest Consecutive Sequence in Binary Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/Longest Consecutive Sequence in Binary Tree.cpp -------------------------------------------------------------------------------- /Trees/Longest path in a subtree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/Longest path in a subtree.cpp -------------------------------------------------------------------------------- /Trees/MaxDepthOfABinaryTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/MaxDepthOfABinaryTree.cpp -------------------------------------------------------------------------------- /Trees/Maximum Edge Removal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/Maximum Edge Removal.cpp -------------------------------------------------------------------------------- /Trees/Maximum Weight Edge Sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/Maximum Weight Edge Sum.cpp -------------------------------------------------------------------------------- /Trees/Maximum level sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/Maximum level sum.cpp -------------------------------------------------------------------------------- /Trees/Merge Two BSTs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/Merge Two BSTs.cpp -------------------------------------------------------------------------------- /Trees/Merge two Binary Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/Merge two Binary Tree.cpp -------------------------------------------------------------------------------- /Trees/MinimumDepthOfABinaryTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/MinimumDepthOfABinaryTree.cpp -------------------------------------------------------------------------------- /Trees/NextGreaterNumberBST.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/NextGreaterNumberBST.cpp -------------------------------------------------------------------------------- /Trees/Node distance C in binary tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/Node distance C in binary tree.cpp -------------------------------------------------------------------------------- /Trees/OrderOfPeopleHeights.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/OrderOfPeopleHeights.cpp -------------------------------------------------------------------------------- /Trees/PathSum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/PathSum.cpp -------------------------------------------------------------------------------- /Trees/PopulateNextRightPointersTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/PopulateNextRightPointersTree.cpp -------------------------------------------------------------------------------- /Trees/PostOrderTraversal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/PostOrderTraversal.cpp -------------------------------------------------------------------------------- /Trees/Power of 3.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/Power of 3.cpp -------------------------------------------------------------------------------- /Trees/PreOrderTraversal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/PreOrderTraversal.cpp -------------------------------------------------------------------------------- /Trees/Print all root to leaf paths.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/Print all root to leaf paths.cpp -------------------------------------------------------------------------------- /Trees/RecoverBinarySearchTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/RecoverBinarySearchTree.cpp -------------------------------------------------------------------------------- /Trees/Remove nodes from Path sum less than B.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/Remove nodes from Path sum less than B.cpp -------------------------------------------------------------------------------- /Trees/Reverse Level Order.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/Reverse Level Order.cpp -------------------------------------------------------------------------------- /Trees/RootToLeafPathsWithSum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/RootToLeafPathsWithSum.cpp -------------------------------------------------------------------------------- /Trees/ShortestUniquePrefix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/ShortestUniquePrefix.cpp -------------------------------------------------------------------------------- /Trees/Smallest Subtree with all the Deepest Nodes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/Smallest Subtree with all the Deepest Nodes.cpp -------------------------------------------------------------------------------- /Trees/SortedArrayToBalancedBST.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/SortedArrayToBalancedBST.cpp -------------------------------------------------------------------------------- /Trees/Steps to get out of complete binary tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/Steps to get out of complete binary tree.cpp -------------------------------------------------------------------------------- /Trees/Subarrays Xor less Than B.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/Subarrays Xor less Than B.cpp -------------------------------------------------------------------------------- /Trees/Sum binary tree or not.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/Sum binary tree or not.cpp -------------------------------------------------------------------------------- /Trees/SumRootToLeafNumbers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/SumRootToLeafNumbers.cpp -------------------------------------------------------------------------------- /Trees/SymmetricBinaryTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/SymmetricBinaryTree.cpp -------------------------------------------------------------------------------- /Trees/TOP VIEW.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/TOP VIEW.cpp -------------------------------------------------------------------------------- /Trees/Trees and Sum of Distances.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/Trees and Sum of Distances.cpp -------------------------------------------------------------------------------- /Trees/ValidBinarySearchTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/ValidBinarySearchTree.cpp -------------------------------------------------------------------------------- /Trees/Vertex Cover Problem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/Vertex Cover Problem.cpp -------------------------------------------------------------------------------- /Trees/VerticalOrderTraversalOfBinaryTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/VerticalOrderTraversalOfBinaryTree.cpp -------------------------------------------------------------------------------- /Trees/Xor Between Two Arrays!.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/Xor Between Two Arrays!.cpp -------------------------------------------------------------------------------- /Trees/ZigZagLevelOrderTraversalBT.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Trees/ZigZagLevelOrderTraversalBT.cpp -------------------------------------------------------------------------------- /Two Pointers/3Sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Two Pointers/3Sum.cpp -------------------------------------------------------------------------------- /Two Pointers/3SumZero.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Two Pointers/3SumZero.cpp -------------------------------------------------------------------------------- /Two Pointers/Array3Pointers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Two Pointers/Array3Pointers.cpp -------------------------------------------------------------------------------- /Two Pointers/ContainerWithMostWater.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Two Pointers/ContainerWithMostWater.cpp -------------------------------------------------------------------------------- /Two Pointers/Count of pairs with the given sum II.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Two Pointers/Count of pairs with the given sum II.cpp -------------------------------------------------------------------------------- /Two Pointers/Count of pairs with the given sum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Two Pointers/Count of pairs with the given sum.py -------------------------------------------------------------------------------- /Two Pointers/Count of rectangles with area less than the given number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Two Pointers/Count of rectangles with area less than the given number.cpp -------------------------------------------------------------------------------- /Two Pointers/Counting Subarrays!.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Two Pointers/Counting Subarrays!.cpp -------------------------------------------------------------------------------- /Two Pointers/Counting Triangles.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Two Pointers/Counting Triangles.cpp -------------------------------------------------------------------------------- /Two Pointers/DEVICE CROSSOVER.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Two Pointers/DEVICE CROSSOVER.cpp -------------------------------------------------------------------------------- /Two Pointers/Diffk.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Two Pointers/Diffk.cpp -------------------------------------------------------------------------------- /Two Pointers/Find sub-array with the given sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Two Pointers/Find sub-array with the given sum.cpp -------------------------------------------------------------------------------- /Two Pointers/Find the closest pair from two sorted arrays.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Two Pointers/Find the closest pair from two sorted arrays.cpp -------------------------------------------------------------------------------- /Two Pointers/Good Subarrays.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Two Pointers/Good Subarrays.cpp -------------------------------------------------------------------------------- /Two Pointers/IntersectionOfSortedArrays.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Two Pointers/IntersectionOfSortedArrays.cpp -------------------------------------------------------------------------------- /Two Pointers/MaxContiguousSeriesOf1s.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Two Pointers/MaxContiguousSeriesOf1s.cpp -------------------------------------------------------------------------------- /Two Pointers/Maximum Ones After Modification.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Two Pointers/Maximum Ones After Modification.cpp -------------------------------------------------------------------------------- /Two Pointers/MergeTwoSortedLists.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Two Pointers/MergeTwoSortedLists.cpp -------------------------------------------------------------------------------- /Two Pointers/MergeTwoSortedListsII.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Two Pointers/MergeTwoSortedListsII.cpp -------------------------------------------------------------------------------- /Two Pointers/MinimizeTheAbsoluteDifference.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Two Pointers/MinimizeTheAbsoluteDifference.cpp -------------------------------------------------------------------------------- /Two Pointers/Pair With Given Difference.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Two Pointers/Pair With Given Difference.cpp -------------------------------------------------------------------------------- /Two Pointers/RemoveDuplicatesFromSortedArrayI.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Two Pointers/RemoveDuplicatesFromSortedArrayI.cpp -------------------------------------------------------------------------------- /Two Pointers/RemoveDuplicatesFromSortedArrayII.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Two Pointers/RemoveDuplicatesFromSortedArrayII.cpp -------------------------------------------------------------------------------- /Two Pointers/RemoveElementFromArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Two Pointers/RemoveElementFromArray.cpp -------------------------------------------------------------------------------- /Two Pointers/SortByColor.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Two Pointers/SortByColor.cpp -------------------------------------------------------------------------------- /Two Pointers/Subarrays with distinct integers!.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/Two Pointers/Subarrays with distinct integers!.cpp -------------------------------------------------------------------------------- /iblogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/black-shadows/InterviewBit-Topicwise-Solutions/HEAD/iblogo.png --------------------------------------------------------------------------------