├── .gitignore ├── LICENSE ├── Level-1 ├── 1. Getting Started │ ├── cpp │ │ ├── CountDigitsInANumber.cpp │ │ ├── DigitsOfANumber.cpp │ │ ├── GcdAndLcm.cpp │ │ ├── GradingSystem.cpp │ │ ├── InverseOfANumber.cpp │ │ ├── IsANumberPrime.cpp │ │ ├── PrimeFactorisationOfANumber.cpp │ │ ├── PrintAllPrimeTillN.cpp │ │ ├── PrintFibonacciTillN.cpp │ │ ├── PrintZ.cpp │ │ ├── PythagoreanTriplet.cpp │ │ ├── ReverseANumber.cpp │ │ ├── RotateANumber.cpp │ │ └── TheCuriousCaseOfBenjaminBulbs.cpp │ └── java │ │ ├── CountDigitsInANumber.java │ │ ├── DigitsOfANumber.java │ │ ├── GcdAndLcm.java │ │ ├── GradingSystem.java │ │ ├── InverseOfANumber.java │ │ ├── IsANumberPrime.java │ │ ├── PrimeFactorisationOfANumber.java │ │ ├── PrintAllPrimeTillN.java │ │ ├── PrintFibonacciTillN.java │ │ ├── PrintZ.java │ │ ├── PythagoreanTriplet.java │ │ ├── ReverseANumber.java │ │ ├── RotateANumber.java │ │ └── TheCuriousCaseOfBenjaminBulbs.java ├── 10. Recursion-with-backtracking │ ├── Flood_fill.cpp │ ├── Knights_tour.cpp │ ├── N-Queen.cpp │ └── Target_sum_subsets.cpp ├── 11. Time and Space Complexity │ ├── Bubble_Sort.cpp │ ├── Insertion_Sort.cpp │ ├── Merge-Sort.cpp │ ├── Merge_Two_Sorted_Arrays.cpp │ ├── Partition_An_Array.cpp │ ├── Quick_Select.cpp │ ├── Quick_Sort.cpp │ ├── Selection_Sort.cpp │ ├── Sort-01.cpp │ └── Sort-012.cpp ├── 12. Dynamic-Prgramming-and-Greedy │ ├── Arrange-Buildings.cpp │ ├── Buy_and_Sell_Stocks_Infinite-Transactions(Cooldown).cpp │ ├── Buy_and_Sell_Stocks_Infinite-Transactions(Transaction Fee).cpp │ ├── Buy_and_Sell_Stocks_Infinite-Transactions.cpp │ ├── Buy_and_Sell_Stocks_K-Transactions.cpp │ ├── Buy_and_Sell_Stocks_One-Transaction.cpp │ ├── Buy_and_Sell_Stocks_Two-Transactions.cpp │ ├── Climb-Stairs.cpp │ ├── Climb-stairs-with-minimum-moves.cpp │ ├── Climb-stairs-with-variable-jumps.cpp │ ├── Coin-Change-Combination.cpp │ ├── Coin-Change-Permutation.cpp │ ├── Count-Binary-Strings.cpp │ ├── Count-Encodings.cpp │ ├── Count_A+b+c_Subsequence.cpp │ ├── Fibonacci-dp.cpp │ ├── Friends-Pairing.cpp │ ├── Goldmine.cpp │ ├── Maximum-Sum-Non-Adjacent-Elements.cpp │ ├── Min_Cost_Maze_Traversal.cpp │ ├── Paint-House(Many Colors).cpp │ ├── Paint-House.cpp │ ├── Paint-fence.cpp │ ├── Partition-into-Subsets.cpp │ ├── Target-Sum-Subsets-dp.cpp │ ├── Tiling-2_1-Tiles.cpp │ ├── Tiling-M_1-Tiles.cpp │ ├── Unbounded-Knapsack.cpp │ └── Zero-One-Knapsack.cpp ├── 13. Stack and Queues │ ├── 1. Duplicate-Brackets.cpp │ ├── 10. Postfix-Evaluation-and-Conversions.cpp │ ├── 11. Prefix-Evaluation-and-Conversions.cpp │ ├── 12. Smallest-Number-Following-Pattern.cpp │ ├── 13. Merge-Overlapping-Intervals.cpp │ ├── 14. Normal-Stack.cpp │ ├── 15. Dynamic-Stack.cpp │ ├── 16. Min-Stack-I.cpp │ ├── 17. Min_Stack-II.cpp │ ├── 18. Normal-Queue.cpp │ ├── 19. Dynamic-Queue.cpp │ ├── 2. Balanced_Brackets.cpp │ ├── 20. Queue-to-Stack-Adapter-Pop-Efficient.cpp │ ├── 21. Queue-to-Stack-Adapter-Push-Efficient.cpp │ ├── 22. Stack-to-Queue-Adapter-Pop-efficient.cpp │ ├── 23. Stack-to-Queue-Adapter-Push-efficient.cpp │ ├── 24. Two-Stacks-in-an-Array.cpp │ ├── 3. Next_Greater_to_Right.cpp │ ├── 4. Stock-span.cpp │ ├── 5. Largest_Area_Histogram.cpp │ ├── 6. Sliding-Window-Maximum.cpp │ ├── 7. Celebrity-Problem.cpp │ ├── 8. Infix-Conversions.cpp │ └── 9. Infix-Evaluation.cpp ├── 14. LinkedList │ ├── Add-At.cpp │ ├── Add-Two-Linkedlist.cpp │ ├── AddFirst.cpp │ ├── AddLast.cpp │ ├── Display-a-LinkedList.cpp │ ├── Intersection-of-two-linkedlist.cpp │ ├── Remove-At.cpp │ ├── Remove-First.cpp │ ├── Remove-Last.cpp │ ├── Reverse-in-size-of-K-Groups.cpp │ ├── reverseLL(data-iterative).cpp │ ├── reverseLL(data-recursive).cpp │ ├── reverseLL(pointer-iterative).cpp │ └── reverseLL(pointer-recursive).cpp ├── 15. Generic Tree │ ├── Are Trees Mirror In Shape.cpp │ ├── Are Trees Similar In Shape.cpp │ ├── Ceil And Floor In Generic Tree.cpp │ ├── Diameter Of Generic Tree.cpp │ ├── Distance Between Two Nodes In A Generic Tree.cpp │ ├── Find In Generic Tree.cpp │ ├── Generic Tree Traversal (Pre Order , Post Order).cpp │ ├── Height in a Generic Tree.cpp │ ├── Is Generic Tree Symmetric.cpp │ ├── Iterative Preorder And Postorder Of Generic Tree.cpp │ ├── Kth Largest Element In Tree.cpp │ ├── Level Order Generic Tree.cpp │ ├── Level Order Line Wise (Zig Zag).cpp │ ├── Level Order Linewise Generic Tree.cpp │ ├── Linearize A Generic Tree.cpp │ ├── Lowest Common Ancestor (generic Tree).cpp │ ├── Maximum in a Generic Tree.cpp │ ├── Mirror A Generic Tree.cpp │ ├── Node To Root Path In Generic Tree.cpp │ ├── Node With Maximum Subtree Sum.cpp │ ├── Predecessor And Successor Of An Element.cpp │ ├── Remove Leaves In Generic Tree.cpp │ └── Size Of Generic Tree.cpp ├── 16. Binary Tree │ ├── Diameter Of A Binary Tree.cpp │ ├── Find and Node to Root Path in Binary Tree.cpp │ ├── Is A Binary Search Tree.cpp │ ├── Is Balanced Tree.cpp │ ├── Iterative Pre Post and Inorder Traversal in Binary Tree.cpp │ ├── Largest Bst Subtree.cpp │ ├── Level Order Traversal of Binary Tree.cpp │ ├── Path To Leaf From Root In Range.cpp │ ├── Print K Levels Down.cpp │ ├── Print Nodes K Distance Away.cpp │ ├── Print Single Child Nodes.cpp │ ├── Remove Leaves In Binary Tree.cpp │ ├── Size Sum Maximum Height of Binary Tree.cpp │ ├── Tilt Of Binary Tree.cpp │ ├── Transform To Left-cloned Tree.cpp │ └── Transform To Normal From Left-cloned Tree.cpp ├── 17. Binary Search Tree │ ├── Add Node from BST.cpp │ ├── LCA of BST.cpp │ ├── Print in Range.cpp │ ├── Remove Node from BST.cpp │ ├── Replace with Sum of Larger.cpp │ ├── Size Sum Max Min Find in BST.cpp │ └── Target Sum Pair in BST.cpp ├── 18. Graphs │ ├── BFS.cpp │ ├── Get-Connected-Components.cpp │ ├── Hamiltonian-Path&Cycle.cpp │ ├── Is-Graph-Bipartite.cpp │ ├── Is-Graph-Connected.cpp │ ├── Is-Graph-Cyclic.cpp │ ├── Iterative-DFS.cpp │ ├── Minimum-Wire-Required-to-connect-all-pcs.cpp │ ├── MultiSolver.cpp │ ├── Number-of-Islands.cpp │ ├── Order-of-Compilation.cpp │ ├── Perfect-Friends.cpp │ ├── Print-all-Paths.cpp │ ├── Spread-of-Infection.cpp │ └── has-Path.cpp ├── 19. HashMap and Heaps │ ├── Get Common Elements - 1.cpp │ ├── Get Common Elements - 2.cpp │ ├── Highest Frequency Character.cpp │ ├── K Largest Elements.cpp │ ├── Longest Consecutive Sequence Of Elements.cpp │ ├── Median Priority Queue.cpp │ ├── Priority Queue using Heap.cpp │ └── Sort K Sorted Array.cpp ├── 2. Patterns │ ├── cpp │ │ ├── Pattern-1.cpp │ │ ├── Pattern-10.cpp │ │ ├── Pattern-11.cpp │ │ ├── Pattern-12.cpp │ │ ├── Pattern-13.cpp │ │ ├── Pattern-14.cpp │ │ ├── Pattern-15.cpp │ │ ├── Pattern-16.cpp │ │ ├── Pattern-17.cpp │ │ ├── Pattern-18.cpp │ │ ├── Pattern-19.cpp │ │ ├── Pattern-2.cpp │ │ ├── Pattern-20.cpp │ │ ├── Pattern-3.cpp │ │ ├── Pattern-4.cpp │ │ ├── Pattern-5.cpp │ │ ├── Pattern-6.cpp │ │ ├── Pattern-7.cpp │ │ ├── Pattern-8.cpp │ │ └── Pattern-9.cpp │ └── java │ │ ├── Pattern-1.java │ │ ├── Pattern-10.java │ │ ├── Pattern-11.java │ │ ├── Pattern-12.java │ │ ├── Pattern-13.java │ │ ├── Pattern-14.java │ │ ├── Pattern-15.java │ │ ├── Pattern-16.java │ │ ├── Pattern-17.java │ │ ├── Pattern-18.java │ │ ├── Pattern-19.java │ │ ├── Pattern-2.java │ │ ├── Pattern-20.java │ │ ├── Pattern-3.java │ │ ├── Pattern-4.java │ │ ├── Pattern-5.java │ │ ├── Pattern-6.java │ │ ├── Pattern-7.java │ │ ├── Pattern-8.java │ │ └── Pattern-9.java ├── 3. Functions and Number System │ ├── Any_Base_Addition.cpp │ ├── Any_Base_Multiplication.cpp │ ├── Any_Base_Substraction.cpp │ ├── Any_Base_to_Any_Base.cpp │ ├── Any_Base_to_Decimal.cpp │ ├── Decimal_To_Any_Base.cpp │ ├── Digit_Frequency.cpp │ └── Digit_frequency.java ├── 4. Arrays │ ├── cpp │ │ ├── Bar_Chart.cpp │ │ ├── Broken_Economy.cpp │ │ ├── Difference_of_Two_Arrays.cpp │ │ ├── Find_element_in_array.cpp │ │ ├── First-and-Last-Index.cpp │ │ ├── Inverse-of-an-Array.cpp │ │ ├── MaximumSubarray.cpp │ │ ├── Reverse_an_array.cpp │ │ ├── Rotate_an_array.cpp │ │ ├── Span_of_Array.cpp │ │ ├── Subarray_Problem.cpp │ │ ├── Subsets_of_an_Array.cpp │ │ └── Sum_of_Two_Arrays.cpp │ └── java │ │ ├── First_Index_Last_Index.java │ │ ├── Inverse_of_an_Array.java │ │ ├── Rotate_an_array.java │ │ └── Subarray_problem.java ├── 5. 2-D Arrays │ ├── cpp │ │ ├── Ring_Rotate.cpp │ │ ├── Rotate_by_90Degree.cpp │ │ ├── SpiralDisplay.cpp │ │ └── The_State_of_Wakanda-2.cpp │ └── java │ │ ├── Exit_point_of_matrix.java │ │ ├── Saddle_Price.java │ │ ├── Search_in_sorted_2DArray.java │ │ ├── The_State_of_Wakanda1.java │ │ └── matrix-multiplication.java ├── 6. Introduction-to-Recursion │ ├── cpp │ │ ├── Factorial.cpp │ │ ├── Power_Linear.cpp │ │ ├── Power_Logarithmic.cpp │ │ ├── Print_Decreasing.cpp │ │ ├── Print_Decreasing_Increasing.cpp │ │ ├── Print_Increasing.cpp │ │ ├── Print_ZigZag.cpp │ │ └── Tower_of_Hanoi.cpp │ └── java │ │ ├── Factorial.java │ │ ├── Power_Linear.java │ │ ├── Power_Logorithmic.java │ │ ├── Print_Deacreasing_Increasing.java │ │ ├── Print_Decreasing.java │ │ ├── Print_Increasing.java │ │ ├── Print_ZigZag.java │ │ └── Tower_of_Hanoi.java ├── 7. Recursion-with-Arrays │ ├── cpp │ │ ├── All_Indices_of_Array.cpp │ │ ├── Display_Array.cpp │ │ ├── Display_Array_in_Reverse.cpp │ │ ├── First_index.cpp │ │ ├── Last_Index.cpp │ │ └── Max_of_an_Array.cpp │ └── java │ │ ├── All_Indices_of_Array.java │ │ ├── Display_Array.java │ │ ├── Display_Array_in_Reverse.java │ │ ├── First_Index.java │ │ ├── Last_Index.java │ │ └── Max_of_an_Array.java ├── 8. Recursion-with-ArrayList │ ├── GetSubsequence.cpp │ ├── Get_MazePath.cpp │ ├── Get_MazePathwithJump.cpp │ ├── Get_StairPath.cpp │ └── Get_kpc.cpp ├── 9. Recursion on the way up │ ├── Print_Encodings.cpp │ ├── Print_Kpc.cpp │ ├── Print_MazePaths.cpp │ ├── Print_MazePathwithJumps.cpp │ ├── Print_Permutations.cpp │ ├── Print_StairPaths.cpp │ └── Print_Subsequence.cpp └── String,StringBuilder-and-ArrayList │ ├── Print_All_Palindromic_SubStrings.java │ ├── Remove_Primes.java │ ├── String_Compression.java │ ├── String_with_Difference_of_Every_Two_Consecutive_Characters.java │ └── Toggle_Case.java ├── Level-2 ├── 18. Recursion-and-Backtracking │ ├── Abbreviation Using Backtracking.cpp │ ├── All Palindromic Partitions.cpp │ ├── Coin Change - Combinations - 1.cpp │ ├── Coin Change - Combinations - 2.cpp │ ├── Coin Change - Permutations - 1.cpp │ ├── Coin Change - Permutations - 2.cpp │ ├── Combinations-I.cpp │ ├── Combinations-II.cpp │ ├── Crossword Puzzle.cpp │ ├── Friends Pairing - 2.cpp │ ├── Gold Mine - 2.cpp │ ├── Josephus Problem.cpp │ ├── K Subsets With Equal Sum.cpp │ ├── K-partitions.cpp │ ├── Largest Number Possible After At Most K Swaps.cpp │ ├── Lexicographical Numbers.cpp │ ├── Magnets.cpp │ ├── Max Score.cpp │ ├── NQueens-Branch-and-Bound.cpp │ ├── NQueens-Combinations-2D-As-1D-Queen-Chooses.cpp │ ├── NQueens-Permutations-2D-As-1D-Queen-Chooses.cpp │ ├── Nknights-Combinations-2D-As-1D-Knight-Chooses.cpp │ ├── Pattern Matching.cpp │ ├── Permutation-Words-1.cpp │ ├── Permutation-Words-2.cpp │ ├── Permutations-I.cpp │ ├── Permutations-II.cpp │ ├── Queen-Combinations-2D-As-1D-QueenChooses.cpp │ ├── Queens-Combination-2D-As-2D-BoxChooses.cpp │ ├── Queens-Combination-2D-As-2D-QueenChooses.cpp │ ├── Queens-Permutation-2D-As-2D-BoxChooses.cpp │ ├── Queens-Permutation-2D-As-2D-QueenChooses.cpp │ ├── Remove Invalid Parenthesis.cpp │ ├── Solve Sudoku.cpp │ ├── Tug Of War.cpp │ ├── Word Break - I.cpp │ ├── Words - K Length Words - 3.cpp │ ├── Words - K Length Words - 4.cpp │ ├── Words - K Selection - 3.cpp │ ├── Words - K Selection - 4.cpp │ ├── Words-K-Length-Words-1.cpp │ ├── Words-K-Length-Words-2.cpp │ ├── Words-K-Selection-1.cpp │ └── Words-K-Selection-2.cpp ├── 19. LinkedList-2 │ ├── Add First In Doubly Linkedlist.cpp │ ├── Add Last In Doubly Linkedlist.cpp │ ├── Add Two LinkedList.cpp │ ├── Copy LinkedList with Random Pointers.cpp │ ├── Cycle Node in LinkedList.cpp │ ├── Fold of LinkedList.cpp │ ├── Intersection Node in LinkedList using Difference Method.cpp │ ├── Intersection Node in LinkedList using Floyd Cycle Method.cpp │ ├── Is Cycle Present in LinkedList.cpp │ ├── Merge 2 Sorted LinkedList.cpp │ ├── Merge K Sorted LinkedList.cpp │ ├── MergeSort LinkedList.cpp │ ├── Middle of LinkedList.cpp │ ├── Multiply Two LinkedList.cpp │ ├── Palindrome LinkedList.cpp │ ├── Quicksort In LinkedList.cpp │ ├── Remove All Duplicates from Sorted LinkedList.cpp │ ├── Remove Duplicate from Sorted LinkedList.cpp │ ├── Remove First In Doubly Linkedlist.cpp │ ├── Remove Last In Doubly Linkedlist.cpp │ ├── Remove Nth Node from End of LinkedList.cpp │ ├── Reverse Nodes of LinkedList in K Group.cpp │ ├── Reverse a Linkedlist.cpp │ ├── Reverse in Range.cpp │ ├── Segregate 01 Node of LinkedList Over Swapping Data.cpp │ ├── Segregate 01 Node of LinkedList Over Swapping Nodes.cpp │ ├── Segregate 012 Node Of Linkedlist Over Swapping Nodes.cpp │ ├── Segregate Even and Odd nodes in LinkedList.cpp │ ├── Segregate Node Of Linkedlist Over Last Index.cpp │ ├── Segregate Node Of Linkedlist Over Pivot Index.cpp │ ├── Subtract Two LinkedList.cpp │ └── UnFold of LinkedList.cpp ├── 19. Stacks │ └── test.txt ├── 20. Tree-2 │ ├── All Single Child Parent In Binary Tree.cpp │ ├── Bottom View Of A Binarytree.cpp │ ├── Cameras In Binary Tree.cpp │ ├── Construct Binarytree From Postorder And Inorder Traversal.cpp │ ├── Construct Binarytree From Preorder And Inorder Traversal.cpp │ ├── Construct Binarytree From Preorder And Postorder Traversal.cpp │ ├── Construct Bst From Inorder Traversal.cpp │ ├── Construct Bst From Levelorder Traversal.cpp │ ├── Construct Bst From Postorder Traversal.cpp │ ├── Construct Bst From Preorder Traversal.cpp │ ├── Convert Bst To Sorted Doubly Linked List.cpp │ ├── Convert Sorted Doubly Linked List To Binary Search Tree.cpp │ ├── Count All Single Child Parent In Binary Tree.cpp │ ├── Diagonal Order (anti-clock Wise) Of A Binarytree.cpp │ ├── Diagonal Order Of A Binarytree.cpp │ ├── Diagonal Order Sum Of A Binary Tree.cpp │ ├── House Robber In Binary Tree.cpp │ ├── In Order Morris Traversal In Binarytree.cpp │ ├── Left View Of A Binarytree.cpp │ ├── Longest Zigzag Path In A Binary Tree.cpp │ ├── Maximum Path Sum In Between Two Leaves Of Binary Tree.cpp │ ├── Maximum Path Sum Of Binary Tree.cpp │ ├── Node To Root Path Binary Tree.cpp │ ├── Pre Order Morris Traversal In Binary Tree.cpp │ ├── Recover Bst.cpp │ ├── Right View Of A Binarytree.cpp │ ├── Root To All Leaf Path In Binary Tree.cpp │ ├── Serialize And Deserialize Binary Tree.cpp │ ├── Top View Of A Binarytree.cpp │ ├── Validate Bst.cpp │ ├── Vertical Order Sum Of A Binarytree.cpp │ ├── Vertical Order Traversal Of A Binarytree-ii.cpp │ ├── Vertical Order Traversal Of A Binarytree.cpp │ └── Width Of Shadow Of Binary Tree.cpp ├── 21. Graphs │ ├── Alien Dictionary.cpp │ ├── Articulation Point.cpp │ ├── As Far From Land As Possible.cpp │ ├── Bellman Ford.cpp │ ├── Bus Routes.cpp │ ├── Critical Connection.cpp │ ├── Euler Path and Circuit.cpp │ ├── Floyd Warshall.cpp │ ├── Is Graph Bipartite.cpp │ ├── Kosaraju Algorithm.cpp │ ├── Kruskal Algorithm.cpp │ ├── Minimum Cost To Connect All Cities.cpp │ ├── Minimum Number Of Swaps Required To Sort An Array.cpp │ ├── Mother Vertex.cpp │ ├── Negative Weight Cycle Detection.cpp │ ├── Number Of Island 2.cpp │ ├── Number of Distinct Islands.cpp │ ├── Number of Enclaves.cpp │ ├── Number of Islands.cpp │ ├── Optimize Water Distribution.cpp │ ├── Pepcoding Course Schedule.cpp │ ├── Redundant Connection 2.cpp │ ├── Redundant Connection.cpp │ ├── Remove Max Number Of Edges To Keep Graph Fully Traversable.cpp │ ├── Rotting Oranges.cpp │ ├── Satisfiability Of Equality Equation.cpp │ ├── Sentence Similarity.cpp │ ├── Shortest Bridge.cpp │ ├── Sliding Puzzle.cpp │ └── Zero One Matrix.cpp ├── 22. HashMap and Heap │ ├── Brick Wall.cpp │ ├── Check Arithmetic Sequence.cpp │ ├── Check If An Array Can Be Divided Into Pairs Whose Sum Is Divisible By K.cpp │ ├── Count Distinct Elements In Every Window Of Size K.cpp │ ├── Count Of All Subarrays With Zero Sum.cpp │ ├── Count Of Subarrays Having Sum Equals To K.cpp │ ├── Count Of Subarrays With Equal Number Of 0s 1s And 2s.cpp │ ├── Count Of Subarrays With Equal Number Of Zeroes And Ones.cpp │ ├── Count Of Subarrays With Sum Divisible By K.cpp │ ├── Count Of Substrings Having All Unique Characters.cpp │ ├── Count Of Substrings Having At Most K Unique Characters.cpp │ ├── Count Of Substrings With Exactly K Unique Characters.cpp │ ├── Double Pair Array.cpp │ ├── Equivalent Subarrays.cpp │ ├── Find All Anagrams In A String.cpp │ ├── Find Anagram Mappings.cpp │ ├── Find Itinerary From Tickets.cpp │ ├── Group Shifted String.cpp │ ├── Isomorphic Strings.cpp │ ├── K Anagrams.cpp │ ├── Largest Subarray With Contiguous Elements.cpp │ ├── Largest Subarray With Zero Sum.cpp │ ├── Longest Subarray With Equal Number Of 0s 1s And 2s.cpp │ ├── Longest Subarray With Equal Number Of Zeroes And Ones.cpp │ ├── Longest Subarray With Sum Divisible By K.cpp │ ├── Longest Substring With At Most K Unique Characters.cpp │ ├── Longest Substring With Exactly K Unique Characters.cpp │ ├── Longest Substring Without Repeating Characters.cpp │ ├── Maximum Consecutive Ones - 1.cpp │ ├── Maximum Consecutive Ones - 2.cpp │ ├── Maximum Size Subarray Sum Equals K.cpp │ ├── Pairs With Equal Sum.cpp │ ├── Pairs With Given Sum In Two Sorted Matrices.cpp │ ├── Rabbits In The Forest.cpp │ ├── Recurring Sequence In A Fraction.cpp │ ├── Smallest Subarray With All Occurrences Of The Most Frequent Element.cpp │ ├── Smallest Substring Of A String Containing All Characters Of Another String.cpp │ ├── Smallest Substring Of A String Containing All Unique Characters Of Itself.cpp │ ├── Task Completion.cpp │ ├── Valid Anagram.cpp │ ├── Word Pattern.cpp │ └── X Of A Kind In A Deck.cpp └── 23. Dynamic Programming │ ├── Box Stacking.cpp │ ├── Count Palindromic Substrings.cpp │ ├── Longest Bitonic Subsequence.cpp │ ├── Longest Increasing Subsequence.cpp │ ├── Longest Palindromic Substring.cpp │ ├── Maximum Length Of Pair Chain.cpp │ ├── Maximum Non-overlapping Bridges.cpp │ ├── Maximum Sum Increasing Subsequence.cpp │ ├── Print All Paths With Minimum Cost.cpp │ └── Russian Doll Envelopes.cpp └── README.md /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/LICENSE -------------------------------------------------------------------------------- /Level-1/1. Getting Started/cpp/CountDigitsInANumber.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/1. Getting Started/cpp/CountDigitsInANumber.cpp -------------------------------------------------------------------------------- /Level-1/1. Getting Started/cpp/DigitsOfANumber.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/1. Getting Started/cpp/DigitsOfANumber.cpp -------------------------------------------------------------------------------- /Level-1/1. Getting Started/cpp/GcdAndLcm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/1. Getting Started/cpp/GcdAndLcm.cpp -------------------------------------------------------------------------------- /Level-1/1. Getting Started/cpp/GradingSystem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/1. Getting Started/cpp/GradingSystem.cpp -------------------------------------------------------------------------------- /Level-1/1. Getting Started/cpp/InverseOfANumber.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/1. Getting Started/cpp/InverseOfANumber.cpp -------------------------------------------------------------------------------- /Level-1/1. Getting Started/cpp/IsANumberPrime.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/1. Getting Started/cpp/IsANumberPrime.cpp -------------------------------------------------------------------------------- /Level-1/1. Getting Started/cpp/PrimeFactorisationOfANumber.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/1. Getting Started/cpp/PrimeFactorisationOfANumber.cpp -------------------------------------------------------------------------------- /Level-1/1. Getting Started/cpp/PrintAllPrimeTillN.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/1. Getting Started/cpp/PrintAllPrimeTillN.cpp -------------------------------------------------------------------------------- /Level-1/1. Getting Started/cpp/PrintFibonacciTillN.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/1. Getting Started/cpp/PrintFibonacciTillN.cpp -------------------------------------------------------------------------------- /Level-1/1. Getting Started/cpp/PrintZ.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/1. Getting Started/cpp/PrintZ.cpp -------------------------------------------------------------------------------- /Level-1/1. Getting Started/cpp/PythagoreanTriplet.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/1. Getting Started/cpp/PythagoreanTriplet.cpp -------------------------------------------------------------------------------- /Level-1/1. Getting Started/cpp/ReverseANumber.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/1. Getting Started/cpp/ReverseANumber.cpp -------------------------------------------------------------------------------- /Level-1/1. Getting Started/cpp/RotateANumber.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/1. Getting Started/cpp/RotateANumber.cpp -------------------------------------------------------------------------------- /Level-1/1. Getting Started/cpp/TheCuriousCaseOfBenjaminBulbs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/1. Getting Started/cpp/TheCuriousCaseOfBenjaminBulbs.cpp -------------------------------------------------------------------------------- /Level-1/1. Getting Started/java/CountDigitsInANumber.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/1. Getting Started/java/CountDigitsInANumber.java -------------------------------------------------------------------------------- /Level-1/1. Getting Started/java/DigitsOfANumber.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/1. Getting Started/java/DigitsOfANumber.java -------------------------------------------------------------------------------- /Level-1/1. Getting Started/java/GcdAndLcm.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/1. Getting Started/java/GcdAndLcm.java -------------------------------------------------------------------------------- /Level-1/1. Getting Started/java/GradingSystem.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/1. Getting Started/java/GradingSystem.java -------------------------------------------------------------------------------- /Level-1/1. Getting Started/java/InverseOfANumber.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/1. Getting Started/java/InverseOfANumber.java -------------------------------------------------------------------------------- /Level-1/1. Getting Started/java/IsANumberPrime.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/1. Getting Started/java/IsANumberPrime.java -------------------------------------------------------------------------------- /Level-1/1. Getting Started/java/PrimeFactorisationOfANumber.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/1. Getting Started/java/PrimeFactorisationOfANumber.java -------------------------------------------------------------------------------- /Level-1/1. Getting Started/java/PrintAllPrimeTillN.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/1. Getting Started/java/PrintAllPrimeTillN.java -------------------------------------------------------------------------------- /Level-1/1. Getting Started/java/PrintFibonacciTillN.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/1. Getting Started/java/PrintFibonacciTillN.java -------------------------------------------------------------------------------- /Level-1/1. Getting Started/java/PrintZ.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/1. Getting Started/java/PrintZ.java -------------------------------------------------------------------------------- /Level-1/1. Getting Started/java/PythagoreanTriplet.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/1. Getting Started/java/PythagoreanTriplet.java -------------------------------------------------------------------------------- /Level-1/1. Getting Started/java/ReverseANumber.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/1. Getting Started/java/ReverseANumber.java -------------------------------------------------------------------------------- /Level-1/1. Getting Started/java/RotateANumber.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/1. Getting Started/java/RotateANumber.java -------------------------------------------------------------------------------- /Level-1/1. Getting Started/java/TheCuriousCaseOfBenjaminBulbs.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/1. Getting Started/java/TheCuriousCaseOfBenjaminBulbs.java -------------------------------------------------------------------------------- /Level-1/10. Recursion-with-backtracking/Flood_fill.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/10. Recursion-with-backtracking/Flood_fill.cpp -------------------------------------------------------------------------------- /Level-1/10. Recursion-with-backtracking/Knights_tour.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/10. Recursion-with-backtracking/Knights_tour.cpp -------------------------------------------------------------------------------- /Level-1/10. Recursion-with-backtracking/N-Queen.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/10. Recursion-with-backtracking/N-Queen.cpp -------------------------------------------------------------------------------- /Level-1/10. Recursion-with-backtracking/Target_sum_subsets.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/10. Recursion-with-backtracking/Target_sum_subsets.cpp -------------------------------------------------------------------------------- /Level-1/11. Time and Space Complexity/Bubble_Sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/11. Time and Space Complexity/Bubble_Sort.cpp -------------------------------------------------------------------------------- /Level-1/11. Time and Space Complexity/Insertion_Sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/11. Time and Space Complexity/Insertion_Sort.cpp -------------------------------------------------------------------------------- /Level-1/11. Time and Space Complexity/Merge-Sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/11. Time and Space Complexity/Merge-Sort.cpp -------------------------------------------------------------------------------- /Level-1/11. Time and Space Complexity/Merge_Two_Sorted_Arrays.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/11. Time and Space Complexity/Merge_Two_Sorted_Arrays.cpp -------------------------------------------------------------------------------- /Level-1/11. Time and Space Complexity/Partition_An_Array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/11. Time and Space Complexity/Partition_An_Array.cpp -------------------------------------------------------------------------------- /Level-1/11. Time and Space Complexity/Quick_Select.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/11. Time and Space Complexity/Quick_Select.cpp -------------------------------------------------------------------------------- /Level-1/11. Time and Space Complexity/Quick_Sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/11. Time and Space Complexity/Quick_Sort.cpp -------------------------------------------------------------------------------- /Level-1/11. Time and Space Complexity/Selection_Sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/11. Time and Space Complexity/Selection_Sort.cpp -------------------------------------------------------------------------------- /Level-1/11. Time and Space Complexity/Sort-01.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/11. Time and Space Complexity/Sort-01.cpp -------------------------------------------------------------------------------- /Level-1/11. Time and Space Complexity/Sort-012.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/11. Time and Space Complexity/Sort-012.cpp -------------------------------------------------------------------------------- /Level-1/12. Dynamic-Prgramming-and-Greedy/Arrange-Buildings.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/12. Dynamic-Prgramming-and-Greedy/Arrange-Buildings.cpp -------------------------------------------------------------------------------- /Level-1/12. Dynamic-Prgramming-and-Greedy/Buy_and_Sell_Stocks_Infinite-Transactions(Cooldown).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/12. Dynamic-Prgramming-and-Greedy/Buy_and_Sell_Stocks_Infinite-Transactions(Cooldown).cpp -------------------------------------------------------------------------------- /Level-1/12. Dynamic-Prgramming-and-Greedy/Buy_and_Sell_Stocks_Infinite-Transactions(Transaction Fee).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/12. Dynamic-Prgramming-and-Greedy/Buy_and_Sell_Stocks_Infinite-Transactions(Transaction Fee).cpp -------------------------------------------------------------------------------- /Level-1/12. Dynamic-Prgramming-and-Greedy/Buy_and_Sell_Stocks_Infinite-Transactions.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/12. Dynamic-Prgramming-and-Greedy/Buy_and_Sell_Stocks_Infinite-Transactions.cpp -------------------------------------------------------------------------------- /Level-1/12. Dynamic-Prgramming-and-Greedy/Buy_and_Sell_Stocks_K-Transactions.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/12. Dynamic-Prgramming-and-Greedy/Buy_and_Sell_Stocks_K-Transactions.cpp -------------------------------------------------------------------------------- /Level-1/12. Dynamic-Prgramming-and-Greedy/Buy_and_Sell_Stocks_One-Transaction.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/12. Dynamic-Prgramming-and-Greedy/Buy_and_Sell_Stocks_One-Transaction.cpp -------------------------------------------------------------------------------- /Level-1/12. Dynamic-Prgramming-and-Greedy/Buy_and_Sell_Stocks_Two-Transactions.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/12. Dynamic-Prgramming-and-Greedy/Buy_and_Sell_Stocks_Two-Transactions.cpp -------------------------------------------------------------------------------- /Level-1/12. Dynamic-Prgramming-and-Greedy/Climb-Stairs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/12. Dynamic-Prgramming-and-Greedy/Climb-Stairs.cpp -------------------------------------------------------------------------------- /Level-1/12. Dynamic-Prgramming-and-Greedy/Climb-stairs-with-minimum-moves.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/12. Dynamic-Prgramming-and-Greedy/Climb-stairs-with-minimum-moves.cpp -------------------------------------------------------------------------------- /Level-1/12. Dynamic-Prgramming-and-Greedy/Climb-stairs-with-variable-jumps.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/12. Dynamic-Prgramming-and-Greedy/Climb-stairs-with-variable-jumps.cpp -------------------------------------------------------------------------------- /Level-1/12. Dynamic-Prgramming-and-Greedy/Coin-Change-Combination.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/12. Dynamic-Prgramming-and-Greedy/Coin-Change-Combination.cpp -------------------------------------------------------------------------------- /Level-1/12. Dynamic-Prgramming-and-Greedy/Coin-Change-Permutation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/12. Dynamic-Prgramming-and-Greedy/Coin-Change-Permutation.cpp -------------------------------------------------------------------------------- /Level-1/12. Dynamic-Prgramming-and-Greedy/Count-Binary-Strings.cpp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Level-1/12. Dynamic-Prgramming-and-Greedy/Count-Encodings.cpp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Level-1/12. Dynamic-Prgramming-and-Greedy/Count_A+b+c_Subsequence.cpp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Level-1/12. Dynamic-Prgramming-and-Greedy/Fibonacci-dp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/12. Dynamic-Prgramming-and-Greedy/Fibonacci-dp.cpp -------------------------------------------------------------------------------- /Level-1/12. Dynamic-Prgramming-and-Greedy/Friends-Pairing.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/12. Dynamic-Prgramming-and-Greedy/Friends-Pairing.cpp -------------------------------------------------------------------------------- /Level-1/12. Dynamic-Prgramming-and-Greedy/Goldmine.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/12. Dynamic-Prgramming-and-Greedy/Goldmine.cpp -------------------------------------------------------------------------------- /Level-1/12. Dynamic-Prgramming-and-Greedy/Maximum-Sum-Non-Adjacent-Elements.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/12. Dynamic-Prgramming-and-Greedy/Maximum-Sum-Non-Adjacent-Elements.cpp -------------------------------------------------------------------------------- /Level-1/12. Dynamic-Prgramming-and-Greedy/Min_Cost_Maze_Traversal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/12. Dynamic-Prgramming-and-Greedy/Min_Cost_Maze_Traversal.cpp -------------------------------------------------------------------------------- /Level-1/12. Dynamic-Prgramming-and-Greedy/Paint-House(Many Colors).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/12. Dynamic-Prgramming-and-Greedy/Paint-House(Many Colors).cpp -------------------------------------------------------------------------------- /Level-1/12. Dynamic-Prgramming-and-Greedy/Paint-House.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/12. Dynamic-Prgramming-and-Greedy/Paint-House.cpp -------------------------------------------------------------------------------- /Level-1/12. Dynamic-Prgramming-and-Greedy/Paint-fence.cpp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Level-1/12. Dynamic-Prgramming-and-Greedy/Partition-into-Subsets.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/12. Dynamic-Prgramming-and-Greedy/Partition-into-Subsets.cpp -------------------------------------------------------------------------------- /Level-1/12. Dynamic-Prgramming-and-Greedy/Target-Sum-Subsets-dp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/12. Dynamic-Prgramming-and-Greedy/Target-Sum-Subsets-dp.cpp -------------------------------------------------------------------------------- /Level-1/12. Dynamic-Prgramming-and-Greedy/Tiling-2_1-Tiles.cpp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Level-1/12. Dynamic-Prgramming-and-Greedy/Tiling-M_1-Tiles.cpp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Level-1/12. Dynamic-Prgramming-and-Greedy/Unbounded-Knapsack.cpp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Level-1/12. Dynamic-Prgramming-and-Greedy/Zero-One-Knapsack.cpp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Level-1/13. Stack and Queues/1. Duplicate-Brackets.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/13. Stack and Queues/1. Duplicate-Brackets.cpp -------------------------------------------------------------------------------- /Level-1/13. Stack and Queues/10. Postfix-Evaluation-and-Conversions.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/13. Stack and Queues/10. Postfix-Evaluation-and-Conversions.cpp -------------------------------------------------------------------------------- /Level-1/13. Stack and Queues/11. Prefix-Evaluation-and-Conversions.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/13. Stack and Queues/11. Prefix-Evaluation-and-Conversions.cpp -------------------------------------------------------------------------------- /Level-1/13. Stack and Queues/12. Smallest-Number-Following-Pattern.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/13. Stack and Queues/12. Smallest-Number-Following-Pattern.cpp -------------------------------------------------------------------------------- /Level-1/13. Stack and Queues/13. Merge-Overlapping-Intervals.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/13. Stack and Queues/13. Merge-Overlapping-Intervals.cpp -------------------------------------------------------------------------------- /Level-1/13. Stack and Queues/14. Normal-Stack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/13. Stack and Queues/14. Normal-Stack.cpp -------------------------------------------------------------------------------- /Level-1/13. Stack and Queues/15. Dynamic-Stack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/13. Stack and Queues/15. Dynamic-Stack.cpp -------------------------------------------------------------------------------- /Level-1/13. Stack and Queues/16. Min-Stack-I.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/13. Stack and Queues/16. Min-Stack-I.cpp -------------------------------------------------------------------------------- /Level-1/13. Stack and Queues/17. Min_Stack-II.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/13. Stack and Queues/17. Min_Stack-II.cpp -------------------------------------------------------------------------------- /Level-1/13. Stack and Queues/18. Normal-Queue.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/13. Stack and Queues/18. Normal-Queue.cpp -------------------------------------------------------------------------------- /Level-1/13. Stack and Queues/19. Dynamic-Queue.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/13. Stack and Queues/19. Dynamic-Queue.cpp -------------------------------------------------------------------------------- /Level-1/13. Stack and Queues/2. Balanced_Brackets.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/13. Stack and Queues/2. Balanced_Brackets.cpp -------------------------------------------------------------------------------- /Level-1/13. Stack and Queues/20. Queue-to-Stack-Adapter-Pop-Efficient.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/13. Stack and Queues/20. Queue-to-Stack-Adapter-Pop-Efficient.cpp -------------------------------------------------------------------------------- /Level-1/13. Stack and Queues/21. Queue-to-Stack-Adapter-Push-Efficient.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/13. Stack and Queues/21. Queue-to-Stack-Adapter-Push-Efficient.cpp -------------------------------------------------------------------------------- /Level-1/13. Stack and Queues/22. Stack-to-Queue-Adapter-Pop-efficient.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/13. Stack and Queues/22. Stack-to-Queue-Adapter-Pop-efficient.cpp -------------------------------------------------------------------------------- /Level-1/13. Stack and Queues/23. Stack-to-Queue-Adapter-Push-efficient.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/13. Stack and Queues/23. Stack-to-Queue-Adapter-Push-efficient.cpp -------------------------------------------------------------------------------- /Level-1/13. Stack and Queues/24. Two-Stacks-in-an-Array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/13. Stack and Queues/24. Two-Stacks-in-an-Array.cpp -------------------------------------------------------------------------------- /Level-1/13. Stack and Queues/3. Next_Greater_to_Right.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/13. Stack and Queues/3. Next_Greater_to_Right.cpp -------------------------------------------------------------------------------- /Level-1/13. Stack and Queues/4. Stock-span.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/13. Stack and Queues/4. Stock-span.cpp -------------------------------------------------------------------------------- /Level-1/13. Stack and Queues/5. Largest_Area_Histogram.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/13. Stack and Queues/5. Largest_Area_Histogram.cpp -------------------------------------------------------------------------------- /Level-1/13. Stack and Queues/6. Sliding-Window-Maximum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/13. Stack and Queues/6. Sliding-Window-Maximum.cpp -------------------------------------------------------------------------------- /Level-1/13. Stack and Queues/7. Celebrity-Problem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/13. Stack and Queues/7. Celebrity-Problem.cpp -------------------------------------------------------------------------------- /Level-1/13. Stack and Queues/8. Infix-Conversions.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/13. Stack and Queues/8. Infix-Conversions.cpp -------------------------------------------------------------------------------- /Level-1/13. Stack and Queues/9. Infix-Evaluation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/13. Stack and Queues/9. Infix-Evaluation.cpp -------------------------------------------------------------------------------- /Level-1/14. LinkedList/Add-At.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/14. LinkedList/Add-At.cpp -------------------------------------------------------------------------------- /Level-1/14. LinkedList/Add-Two-Linkedlist.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/14. LinkedList/Add-Two-Linkedlist.cpp -------------------------------------------------------------------------------- /Level-1/14. LinkedList/AddFirst.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/14. LinkedList/AddFirst.cpp -------------------------------------------------------------------------------- /Level-1/14. LinkedList/AddLast.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/14. LinkedList/AddLast.cpp -------------------------------------------------------------------------------- /Level-1/14. LinkedList/Display-a-LinkedList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/14. LinkedList/Display-a-LinkedList.cpp -------------------------------------------------------------------------------- /Level-1/14. LinkedList/Intersection-of-two-linkedlist.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/14. LinkedList/Intersection-of-two-linkedlist.cpp -------------------------------------------------------------------------------- /Level-1/14. LinkedList/Remove-At.cpp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Level-1/14. LinkedList/Remove-First.cpp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Level-1/14. LinkedList/Remove-Last.cpp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Level-1/14. LinkedList/Reverse-in-size-of-K-Groups.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/14. LinkedList/Reverse-in-size-of-K-Groups.cpp -------------------------------------------------------------------------------- /Level-1/14. LinkedList/reverseLL(data-iterative).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/14. LinkedList/reverseLL(data-iterative).cpp -------------------------------------------------------------------------------- /Level-1/14. LinkedList/reverseLL(data-recursive).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/14. LinkedList/reverseLL(data-recursive).cpp -------------------------------------------------------------------------------- /Level-1/14. LinkedList/reverseLL(pointer-iterative).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/14. LinkedList/reverseLL(pointer-iterative).cpp -------------------------------------------------------------------------------- /Level-1/14. LinkedList/reverseLL(pointer-recursive).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/14. LinkedList/reverseLL(pointer-recursive).cpp -------------------------------------------------------------------------------- /Level-1/15. Generic Tree/Are Trees Mirror In Shape.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/15. Generic Tree/Are Trees Mirror In Shape.cpp -------------------------------------------------------------------------------- /Level-1/15. Generic Tree/Are Trees Similar In Shape.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/15. Generic Tree/Are Trees Similar In Shape.cpp -------------------------------------------------------------------------------- /Level-1/15. Generic Tree/Ceil And Floor In Generic Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/15. Generic Tree/Ceil And Floor In Generic Tree.cpp -------------------------------------------------------------------------------- /Level-1/15. Generic Tree/Diameter Of Generic Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/15. Generic Tree/Diameter Of Generic Tree.cpp -------------------------------------------------------------------------------- /Level-1/15. Generic Tree/Distance Between Two Nodes In A Generic Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/15. Generic Tree/Distance Between Two Nodes In A Generic Tree.cpp -------------------------------------------------------------------------------- /Level-1/15. Generic Tree/Find In Generic Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/15. Generic Tree/Find In Generic Tree.cpp -------------------------------------------------------------------------------- /Level-1/15. Generic Tree/Generic Tree Traversal (Pre Order , Post Order).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/15. Generic Tree/Generic Tree Traversal (Pre Order , Post Order).cpp -------------------------------------------------------------------------------- /Level-1/15. Generic Tree/Height in a Generic Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/15. Generic Tree/Height in a Generic Tree.cpp -------------------------------------------------------------------------------- /Level-1/15. Generic Tree/Is Generic Tree Symmetric.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/15. Generic Tree/Is Generic Tree Symmetric.cpp -------------------------------------------------------------------------------- /Level-1/15. Generic Tree/Iterative Preorder And Postorder Of Generic Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/15. Generic Tree/Iterative Preorder And Postorder Of Generic Tree.cpp -------------------------------------------------------------------------------- /Level-1/15. Generic Tree/Kth Largest Element In Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/15. Generic Tree/Kth Largest Element In Tree.cpp -------------------------------------------------------------------------------- /Level-1/15. Generic Tree/Level Order Generic Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/15. Generic Tree/Level Order Generic Tree.cpp -------------------------------------------------------------------------------- /Level-1/15. Generic Tree/Level Order Line Wise (Zig Zag).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/15. Generic Tree/Level Order Line Wise (Zig Zag).cpp -------------------------------------------------------------------------------- /Level-1/15. Generic Tree/Level Order Linewise Generic Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/15. Generic Tree/Level Order Linewise Generic Tree.cpp -------------------------------------------------------------------------------- /Level-1/15. Generic Tree/Linearize A Generic Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/15. Generic Tree/Linearize A Generic Tree.cpp -------------------------------------------------------------------------------- /Level-1/15. Generic Tree/Lowest Common Ancestor (generic Tree).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/15. Generic Tree/Lowest Common Ancestor (generic Tree).cpp -------------------------------------------------------------------------------- /Level-1/15. Generic Tree/Maximum in a Generic Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/15. Generic Tree/Maximum in a Generic Tree.cpp -------------------------------------------------------------------------------- /Level-1/15. Generic Tree/Mirror A Generic Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/15. Generic Tree/Mirror A Generic Tree.cpp -------------------------------------------------------------------------------- /Level-1/15. Generic Tree/Node To Root Path In Generic Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/15. Generic Tree/Node To Root Path In Generic Tree.cpp -------------------------------------------------------------------------------- /Level-1/15. Generic Tree/Node With Maximum Subtree Sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/15. Generic Tree/Node With Maximum Subtree Sum.cpp -------------------------------------------------------------------------------- /Level-1/15. Generic Tree/Predecessor And Successor Of An Element.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/15. Generic Tree/Predecessor And Successor Of An Element.cpp -------------------------------------------------------------------------------- /Level-1/15. Generic Tree/Remove Leaves In Generic Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/15. Generic Tree/Remove Leaves In Generic Tree.cpp -------------------------------------------------------------------------------- /Level-1/15. Generic Tree/Size Of Generic Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/15. Generic Tree/Size Of Generic Tree.cpp -------------------------------------------------------------------------------- /Level-1/16. Binary Tree/Diameter Of A Binary Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/16. Binary Tree/Diameter Of A Binary Tree.cpp -------------------------------------------------------------------------------- /Level-1/16. Binary Tree/Find and Node to Root Path in Binary Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/16. Binary Tree/Find and Node to Root Path in Binary Tree.cpp -------------------------------------------------------------------------------- /Level-1/16. Binary Tree/Is A Binary Search Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/16. Binary Tree/Is A Binary Search Tree.cpp -------------------------------------------------------------------------------- /Level-1/16. Binary Tree/Is Balanced Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/16. Binary Tree/Is Balanced Tree.cpp -------------------------------------------------------------------------------- /Level-1/16. Binary Tree/Iterative Pre Post and Inorder Traversal in Binary Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/16. Binary Tree/Iterative Pre Post and Inorder Traversal in Binary Tree.cpp -------------------------------------------------------------------------------- /Level-1/16. Binary Tree/Largest Bst Subtree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/16. Binary Tree/Largest Bst Subtree.cpp -------------------------------------------------------------------------------- /Level-1/16. Binary Tree/Level Order Traversal of Binary Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/16. Binary Tree/Level Order Traversal of Binary Tree.cpp -------------------------------------------------------------------------------- /Level-1/16. Binary Tree/Path To Leaf From Root In Range.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/16. Binary Tree/Path To Leaf From Root In Range.cpp -------------------------------------------------------------------------------- /Level-1/16. Binary Tree/Print K Levels Down.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/16. Binary Tree/Print K Levels Down.cpp -------------------------------------------------------------------------------- /Level-1/16. Binary Tree/Print Nodes K Distance Away.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/16. Binary Tree/Print Nodes K Distance Away.cpp -------------------------------------------------------------------------------- /Level-1/16. Binary Tree/Print Single Child Nodes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/16. Binary Tree/Print Single Child Nodes.cpp -------------------------------------------------------------------------------- /Level-1/16. Binary Tree/Remove Leaves In Binary Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/16. Binary Tree/Remove Leaves In Binary Tree.cpp -------------------------------------------------------------------------------- /Level-1/16. Binary Tree/Size Sum Maximum Height of Binary Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/16. Binary Tree/Size Sum Maximum Height of Binary Tree.cpp -------------------------------------------------------------------------------- /Level-1/16. Binary Tree/Tilt Of Binary Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/16. Binary Tree/Tilt Of Binary Tree.cpp -------------------------------------------------------------------------------- /Level-1/16. Binary Tree/Transform To Left-cloned Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/16. Binary Tree/Transform To Left-cloned Tree.cpp -------------------------------------------------------------------------------- /Level-1/16. Binary Tree/Transform To Normal From Left-cloned Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/16. Binary Tree/Transform To Normal From Left-cloned Tree.cpp -------------------------------------------------------------------------------- /Level-1/17. Binary Search Tree/Add Node from BST.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/17. Binary Search Tree/Add Node from BST.cpp -------------------------------------------------------------------------------- /Level-1/17. Binary Search Tree/LCA of BST.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/17. Binary Search Tree/LCA of BST.cpp -------------------------------------------------------------------------------- /Level-1/17. Binary Search Tree/Print in Range.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/17. Binary Search Tree/Print in Range.cpp -------------------------------------------------------------------------------- /Level-1/17. Binary Search Tree/Remove Node from BST.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/17. Binary Search Tree/Remove Node from BST.cpp -------------------------------------------------------------------------------- /Level-1/17. Binary Search Tree/Replace with Sum of Larger.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/17. Binary Search Tree/Replace with Sum of Larger.cpp -------------------------------------------------------------------------------- /Level-1/17. Binary Search Tree/Size Sum Max Min Find in BST.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/17. Binary Search Tree/Size Sum Max Min Find in BST.cpp -------------------------------------------------------------------------------- /Level-1/17. Binary Search Tree/Target Sum Pair in BST.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/17. Binary Search Tree/Target Sum Pair in BST.cpp -------------------------------------------------------------------------------- /Level-1/18. Graphs/BFS.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/18. Graphs/BFS.cpp -------------------------------------------------------------------------------- /Level-1/18. Graphs/Get-Connected-Components.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/18. Graphs/Get-Connected-Components.cpp -------------------------------------------------------------------------------- /Level-1/18. Graphs/Hamiltonian-Path&Cycle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/18. Graphs/Hamiltonian-Path&Cycle.cpp -------------------------------------------------------------------------------- /Level-1/18. Graphs/Is-Graph-Bipartite.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/18. Graphs/Is-Graph-Bipartite.cpp -------------------------------------------------------------------------------- /Level-1/18. Graphs/Is-Graph-Connected.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/18. Graphs/Is-Graph-Connected.cpp -------------------------------------------------------------------------------- /Level-1/18. Graphs/Is-Graph-Cyclic.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/18. Graphs/Is-Graph-Cyclic.cpp -------------------------------------------------------------------------------- /Level-1/18. Graphs/Iterative-DFS.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/18. Graphs/Iterative-DFS.cpp -------------------------------------------------------------------------------- /Level-1/18. Graphs/Minimum-Wire-Required-to-connect-all-pcs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/18. Graphs/Minimum-Wire-Required-to-connect-all-pcs.cpp -------------------------------------------------------------------------------- /Level-1/18. Graphs/MultiSolver.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/18. Graphs/MultiSolver.cpp -------------------------------------------------------------------------------- /Level-1/18. Graphs/Number-of-Islands.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/18. Graphs/Number-of-Islands.cpp -------------------------------------------------------------------------------- /Level-1/18. Graphs/Order-of-Compilation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/18. Graphs/Order-of-Compilation.cpp -------------------------------------------------------------------------------- /Level-1/18. Graphs/Perfect-Friends.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/18. Graphs/Perfect-Friends.cpp -------------------------------------------------------------------------------- /Level-1/18. Graphs/Print-all-Paths.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/18. Graphs/Print-all-Paths.cpp -------------------------------------------------------------------------------- /Level-1/18. Graphs/Spread-of-Infection.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/18. Graphs/Spread-of-Infection.cpp -------------------------------------------------------------------------------- /Level-1/18. Graphs/has-Path.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/18. Graphs/has-Path.cpp -------------------------------------------------------------------------------- /Level-1/19. HashMap and Heaps/Get Common Elements - 1.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/19. HashMap and Heaps/Get Common Elements - 1.cpp -------------------------------------------------------------------------------- /Level-1/19. HashMap and Heaps/Get Common Elements - 2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/19. HashMap and Heaps/Get Common Elements - 2.cpp -------------------------------------------------------------------------------- /Level-1/19. HashMap and Heaps/Highest Frequency Character.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/19. HashMap and Heaps/Highest Frequency Character.cpp -------------------------------------------------------------------------------- /Level-1/19. HashMap and Heaps/K Largest Elements.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/19. HashMap and Heaps/K Largest Elements.cpp -------------------------------------------------------------------------------- /Level-1/19. HashMap and Heaps/Longest Consecutive Sequence Of Elements.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/19. HashMap and Heaps/Longest Consecutive Sequence Of Elements.cpp -------------------------------------------------------------------------------- /Level-1/19. HashMap and Heaps/Median Priority Queue.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/19. HashMap and Heaps/Median Priority Queue.cpp -------------------------------------------------------------------------------- /Level-1/19. HashMap and Heaps/Priority Queue using Heap.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/19. HashMap and Heaps/Priority Queue using Heap.cpp -------------------------------------------------------------------------------- /Level-1/19. HashMap and Heaps/Sort K Sorted Array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/19. HashMap and Heaps/Sort K Sorted Array.cpp -------------------------------------------------------------------------------- /Level-1/2. Patterns/cpp/Pattern-1.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/2. Patterns/cpp/Pattern-1.cpp -------------------------------------------------------------------------------- /Level-1/2. Patterns/cpp/Pattern-10.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/2. Patterns/cpp/Pattern-10.cpp -------------------------------------------------------------------------------- /Level-1/2. Patterns/cpp/Pattern-11.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/2. Patterns/cpp/Pattern-11.cpp -------------------------------------------------------------------------------- /Level-1/2. Patterns/cpp/Pattern-12.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/2. Patterns/cpp/Pattern-12.cpp -------------------------------------------------------------------------------- /Level-1/2. Patterns/cpp/Pattern-13.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/2. Patterns/cpp/Pattern-13.cpp -------------------------------------------------------------------------------- /Level-1/2. Patterns/cpp/Pattern-14.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/2. Patterns/cpp/Pattern-14.cpp -------------------------------------------------------------------------------- /Level-1/2. Patterns/cpp/Pattern-15.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/2. Patterns/cpp/Pattern-15.cpp -------------------------------------------------------------------------------- /Level-1/2. Patterns/cpp/Pattern-16.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/2. Patterns/cpp/Pattern-16.cpp -------------------------------------------------------------------------------- /Level-1/2. Patterns/cpp/Pattern-17.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/2. Patterns/cpp/Pattern-17.cpp -------------------------------------------------------------------------------- /Level-1/2. Patterns/cpp/Pattern-18.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/2. Patterns/cpp/Pattern-18.cpp -------------------------------------------------------------------------------- /Level-1/2. Patterns/cpp/Pattern-19.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/2. Patterns/cpp/Pattern-19.cpp -------------------------------------------------------------------------------- /Level-1/2. Patterns/cpp/Pattern-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/2. Patterns/cpp/Pattern-2.cpp -------------------------------------------------------------------------------- /Level-1/2. Patterns/cpp/Pattern-20.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/2. Patterns/cpp/Pattern-20.cpp -------------------------------------------------------------------------------- /Level-1/2. Patterns/cpp/Pattern-3.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/2. Patterns/cpp/Pattern-3.cpp -------------------------------------------------------------------------------- /Level-1/2. Patterns/cpp/Pattern-4.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/2. Patterns/cpp/Pattern-4.cpp -------------------------------------------------------------------------------- /Level-1/2. Patterns/cpp/Pattern-5.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/2. Patterns/cpp/Pattern-5.cpp -------------------------------------------------------------------------------- /Level-1/2. Patterns/cpp/Pattern-6.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/2. Patterns/cpp/Pattern-6.cpp -------------------------------------------------------------------------------- /Level-1/2. Patterns/cpp/Pattern-7.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/2. Patterns/cpp/Pattern-7.cpp -------------------------------------------------------------------------------- /Level-1/2. Patterns/cpp/Pattern-8.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/2. Patterns/cpp/Pattern-8.cpp -------------------------------------------------------------------------------- /Level-1/2. Patterns/cpp/Pattern-9.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/2. Patterns/cpp/Pattern-9.cpp -------------------------------------------------------------------------------- /Level-1/2. Patterns/java/Pattern-1.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/2. Patterns/java/Pattern-1.java -------------------------------------------------------------------------------- /Level-1/2. Patterns/java/Pattern-10.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/2. Patterns/java/Pattern-10.java -------------------------------------------------------------------------------- /Level-1/2. Patterns/java/Pattern-11.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/2. Patterns/java/Pattern-11.java -------------------------------------------------------------------------------- /Level-1/2. Patterns/java/Pattern-12.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/2. Patterns/java/Pattern-12.java -------------------------------------------------------------------------------- /Level-1/2. Patterns/java/Pattern-13.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/2. Patterns/java/Pattern-13.java -------------------------------------------------------------------------------- /Level-1/2. Patterns/java/Pattern-14.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/2. Patterns/java/Pattern-14.java -------------------------------------------------------------------------------- /Level-1/2. Patterns/java/Pattern-15.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/2. Patterns/java/Pattern-15.java -------------------------------------------------------------------------------- /Level-1/2. Patterns/java/Pattern-16.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/2. Patterns/java/Pattern-16.java -------------------------------------------------------------------------------- /Level-1/2. Patterns/java/Pattern-17.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/2. Patterns/java/Pattern-17.java -------------------------------------------------------------------------------- /Level-1/2. Patterns/java/Pattern-18.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/2. Patterns/java/Pattern-18.java -------------------------------------------------------------------------------- /Level-1/2. Patterns/java/Pattern-19.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/2. Patterns/java/Pattern-19.java -------------------------------------------------------------------------------- /Level-1/2. Patterns/java/Pattern-2.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/2. Patterns/java/Pattern-2.java -------------------------------------------------------------------------------- /Level-1/2. Patterns/java/Pattern-20.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/2. Patterns/java/Pattern-20.java -------------------------------------------------------------------------------- /Level-1/2. Patterns/java/Pattern-3.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/2. Patterns/java/Pattern-3.java -------------------------------------------------------------------------------- /Level-1/2. Patterns/java/Pattern-4.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/2. Patterns/java/Pattern-4.java -------------------------------------------------------------------------------- /Level-1/2. Patterns/java/Pattern-5.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/2. Patterns/java/Pattern-5.java -------------------------------------------------------------------------------- /Level-1/2. Patterns/java/Pattern-6.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/2. Patterns/java/Pattern-6.java -------------------------------------------------------------------------------- /Level-1/2. Patterns/java/Pattern-7.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/2. Patterns/java/Pattern-7.java -------------------------------------------------------------------------------- /Level-1/2. Patterns/java/Pattern-8.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/2. Patterns/java/Pattern-8.java -------------------------------------------------------------------------------- /Level-1/2. Patterns/java/Pattern-9.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/2. Patterns/java/Pattern-9.java -------------------------------------------------------------------------------- /Level-1/3. Functions and Number System/Any_Base_Addition.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/3. Functions and Number System/Any_Base_Addition.cpp -------------------------------------------------------------------------------- /Level-1/3. Functions and Number System/Any_Base_Multiplication.cpp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Level-1/3. Functions and Number System/Any_Base_Substraction.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/3. Functions and Number System/Any_Base_Substraction.cpp -------------------------------------------------------------------------------- /Level-1/3. Functions and Number System/Any_Base_to_Any_Base.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/3. Functions and Number System/Any_Base_to_Any_Base.cpp -------------------------------------------------------------------------------- /Level-1/3. Functions and Number System/Any_Base_to_Decimal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/3. Functions and Number System/Any_Base_to_Decimal.cpp -------------------------------------------------------------------------------- /Level-1/3. Functions and Number System/Decimal_To_Any_Base.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/3. Functions and Number System/Decimal_To_Any_Base.cpp -------------------------------------------------------------------------------- /Level-1/3. Functions and Number System/Digit_Frequency.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/3. Functions and Number System/Digit_Frequency.cpp -------------------------------------------------------------------------------- /Level-1/3. Functions and Number System/Digit_frequency.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/3. Functions and Number System/Digit_frequency.java -------------------------------------------------------------------------------- /Level-1/4. Arrays/cpp/Bar_Chart.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/4. Arrays/cpp/Bar_Chart.cpp -------------------------------------------------------------------------------- /Level-1/4. Arrays/cpp/Broken_Economy.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/4. Arrays/cpp/Broken_Economy.cpp -------------------------------------------------------------------------------- /Level-1/4. Arrays/cpp/Difference_of_Two_Arrays.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/4. Arrays/cpp/Difference_of_Two_Arrays.cpp -------------------------------------------------------------------------------- /Level-1/4. Arrays/cpp/Find_element_in_array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/4. Arrays/cpp/Find_element_in_array.cpp -------------------------------------------------------------------------------- /Level-1/4. Arrays/cpp/First-and-Last-Index.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/4. Arrays/cpp/First-and-Last-Index.cpp -------------------------------------------------------------------------------- /Level-1/4. Arrays/cpp/Inverse-of-an-Array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/4. Arrays/cpp/Inverse-of-an-Array.cpp -------------------------------------------------------------------------------- /Level-1/4. Arrays/cpp/MaximumSubarray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/4. Arrays/cpp/MaximumSubarray.cpp -------------------------------------------------------------------------------- /Level-1/4. Arrays/cpp/Reverse_an_array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/4. Arrays/cpp/Reverse_an_array.cpp -------------------------------------------------------------------------------- /Level-1/4. Arrays/cpp/Rotate_an_array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/4. Arrays/cpp/Rotate_an_array.cpp -------------------------------------------------------------------------------- /Level-1/4. Arrays/cpp/Span_of_Array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/4. Arrays/cpp/Span_of_Array.cpp -------------------------------------------------------------------------------- /Level-1/4. Arrays/cpp/Subarray_Problem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/4. Arrays/cpp/Subarray_Problem.cpp -------------------------------------------------------------------------------- /Level-1/4. Arrays/cpp/Subsets_of_an_Array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/4. Arrays/cpp/Subsets_of_an_Array.cpp -------------------------------------------------------------------------------- /Level-1/4. Arrays/cpp/Sum_of_Two_Arrays.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/4. Arrays/cpp/Sum_of_Two_Arrays.cpp -------------------------------------------------------------------------------- /Level-1/4. Arrays/java/First_Index_Last_Index.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/4. Arrays/java/First_Index_Last_Index.java -------------------------------------------------------------------------------- /Level-1/4. Arrays/java/Inverse_of_an_Array.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/4. Arrays/java/Inverse_of_an_Array.java -------------------------------------------------------------------------------- /Level-1/4. Arrays/java/Rotate_an_array.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/4. Arrays/java/Rotate_an_array.java -------------------------------------------------------------------------------- /Level-1/4. Arrays/java/Subarray_problem.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/4. Arrays/java/Subarray_problem.java -------------------------------------------------------------------------------- /Level-1/5. 2-D Arrays/cpp/Ring_Rotate.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/5. 2-D Arrays/cpp/Ring_Rotate.cpp -------------------------------------------------------------------------------- /Level-1/5. 2-D Arrays/cpp/Rotate_by_90Degree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/5. 2-D Arrays/cpp/Rotate_by_90Degree.cpp -------------------------------------------------------------------------------- /Level-1/5. 2-D Arrays/cpp/SpiralDisplay.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/5. 2-D Arrays/cpp/SpiralDisplay.cpp -------------------------------------------------------------------------------- /Level-1/5. 2-D Arrays/cpp/The_State_of_Wakanda-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/5. 2-D Arrays/cpp/The_State_of_Wakanda-2.cpp -------------------------------------------------------------------------------- /Level-1/5. 2-D Arrays/java/Exit_point_of_matrix.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/5. 2-D Arrays/java/Exit_point_of_matrix.java -------------------------------------------------------------------------------- /Level-1/5. 2-D Arrays/java/Saddle_Price.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/5. 2-D Arrays/java/Saddle_Price.java -------------------------------------------------------------------------------- /Level-1/5. 2-D Arrays/java/Search_in_sorted_2DArray.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/5. 2-D Arrays/java/Search_in_sorted_2DArray.java -------------------------------------------------------------------------------- /Level-1/5. 2-D Arrays/java/The_State_of_Wakanda1.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/5. 2-D Arrays/java/The_State_of_Wakanda1.java -------------------------------------------------------------------------------- /Level-1/5. 2-D Arrays/java/matrix-multiplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/5. 2-D Arrays/java/matrix-multiplication.java -------------------------------------------------------------------------------- /Level-1/6. Introduction-to-Recursion/cpp/Factorial.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/6. Introduction-to-Recursion/cpp/Factorial.cpp -------------------------------------------------------------------------------- /Level-1/6. Introduction-to-Recursion/cpp/Power_Linear.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/6. Introduction-to-Recursion/cpp/Power_Linear.cpp -------------------------------------------------------------------------------- /Level-1/6. Introduction-to-Recursion/cpp/Power_Logarithmic.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/6. Introduction-to-Recursion/cpp/Power_Logarithmic.cpp -------------------------------------------------------------------------------- /Level-1/6. Introduction-to-Recursion/cpp/Print_Decreasing.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/6. Introduction-to-Recursion/cpp/Print_Decreasing.cpp -------------------------------------------------------------------------------- /Level-1/6. Introduction-to-Recursion/cpp/Print_Decreasing_Increasing.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/6. Introduction-to-Recursion/cpp/Print_Decreasing_Increasing.cpp -------------------------------------------------------------------------------- /Level-1/6. Introduction-to-Recursion/cpp/Print_Increasing.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/6. Introduction-to-Recursion/cpp/Print_Increasing.cpp -------------------------------------------------------------------------------- /Level-1/6. Introduction-to-Recursion/cpp/Print_ZigZag.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/6. Introduction-to-Recursion/cpp/Print_ZigZag.cpp -------------------------------------------------------------------------------- /Level-1/6. Introduction-to-Recursion/cpp/Tower_of_Hanoi.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/6. Introduction-to-Recursion/cpp/Tower_of_Hanoi.cpp -------------------------------------------------------------------------------- /Level-1/6. Introduction-to-Recursion/java/Factorial.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/6. Introduction-to-Recursion/java/Factorial.java -------------------------------------------------------------------------------- /Level-1/6. Introduction-to-Recursion/java/Power_Linear.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/6. Introduction-to-Recursion/java/Power_Linear.java -------------------------------------------------------------------------------- /Level-1/6. Introduction-to-Recursion/java/Power_Logorithmic.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/6. Introduction-to-Recursion/java/Power_Logorithmic.java -------------------------------------------------------------------------------- /Level-1/6. Introduction-to-Recursion/java/Print_Deacreasing_Increasing.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/6. Introduction-to-Recursion/java/Print_Deacreasing_Increasing.java -------------------------------------------------------------------------------- /Level-1/6. Introduction-to-Recursion/java/Print_Decreasing.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/6. Introduction-to-Recursion/java/Print_Decreasing.java -------------------------------------------------------------------------------- /Level-1/6. Introduction-to-Recursion/java/Print_Increasing.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/6. Introduction-to-Recursion/java/Print_Increasing.java -------------------------------------------------------------------------------- /Level-1/6. Introduction-to-Recursion/java/Print_ZigZag.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/6. Introduction-to-Recursion/java/Print_ZigZag.java -------------------------------------------------------------------------------- /Level-1/6. Introduction-to-Recursion/java/Tower_of_Hanoi.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/6. Introduction-to-Recursion/java/Tower_of_Hanoi.java -------------------------------------------------------------------------------- /Level-1/7. Recursion-with-Arrays/cpp/All_Indices_of_Array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/7. Recursion-with-Arrays/cpp/All_Indices_of_Array.cpp -------------------------------------------------------------------------------- /Level-1/7. Recursion-with-Arrays/cpp/Display_Array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/7. Recursion-with-Arrays/cpp/Display_Array.cpp -------------------------------------------------------------------------------- /Level-1/7. Recursion-with-Arrays/cpp/Display_Array_in_Reverse.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/7. Recursion-with-Arrays/cpp/Display_Array_in_Reverse.cpp -------------------------------------------------------------------------------- /Level-1/7. Recursion-with-Arrays/cpp/First_index.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/7. Recursion-with-Arrays/cpp/First_index.cpp -------------------------------------------------------------------------------- /Level-1/7. Recursion-with-Arrays/cpp/Last_Index.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/7. Recursion-with-Arrays/cpp/Last_Index.cpp -------------------------------------------------------------------------------- /Level-1/7. Recursion-with-Arrays/cpp/Max_of_an_Array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/7. Recursion-with-Arrays/cpp/Max_of_an_Array.cpp -------------------------------------------------------------------------------- /Level-1/7. Recursion-with-Arrays/java/All_Indices_of_Array.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/7. Recursion-with-Arrays/java/All_Indices_of_Array.java -------------------------------------------------------------------------------- /Level-1/7. Recursion-with-Arrays/java/Display_Array.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/7. Recursion-with-Arrays/java/Display_Array.java -------------------------------------------------------------------------------- /Level-1/7. Recursion-with-Arrays/java/Display_Array_in_Reverse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/7. Recursion-with-Arrays/java/Display_Array_in_Reverse.java -------------------------------------------------------------------------------- /Level-1/7. Recursion-with-Arrays/java/First_Index.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/7. Recursion-with-Arrays/java/First_Index.java -------------------------------------------------------------------------------- /Level-1/7. Recursion-with-Arrays/java/Last_Index.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/7. Recursion-with-Arrays/java/Last_Index.java -------------------------------------------------------------------------------- /Level-1/7. Recursion-with-Arrays/java/Max_of_an_Array.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/7. Recursion-with-Arrays/java/Max_of_an_Array.java -------------------------------------------------------------------------------- /Level-1/8. Recursion-with-ArrayList/GetSubsequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/8. Recursion-with-ArrayList/GetSubsequence.cpp -------------------------------------------------------------------------------- /Level-1/8. Recursion-with-ArrayList/Get_MazePath.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/8. Recursion-with-ArrayList/Get_MazePath.cpp -------------------------------------------------------------------------------- /Level-1/8. Recursion-with-ArrayList/Get_MazePathwithJump.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/8. Recursion-with-ArrayList/Get_MazePathwithJump.cpp -------------------------------------------------------------------------------- /Level-1/8. Recursion-with-ArrayList/Get_StairPath.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/8. Recursion-with-ArrayList/Get_StairPath.cpp -------------------------------------------------------------------------------- /Level-1/8. Recursion-with-ArrayList/Get_kpc.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/8. Recursion-with-ArrayList/Get_kpc.cpp -------------------------------------------------------------------------------- /Level-1/9. Recursion on the way up/Print_Encodings.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/9. Recursion on the way up/Print_Encodings.cpp -------------------------------------------------------------------------------- /Level-1/9. Recursion on the way up/Print_Kpc.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/9. Recursion on the way up/Print_Kpc.cpp -------------------------------------------------------------------------------- /Level-1/9. Recursion on the way up/Print_MazePaths.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/9. Recursion on the way up/Print_MazePaths.cpp -------------------------------------------------------------------------------- /Level-1/9. Recursion on the way up/Print_MazePathwithJumps.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/9. Recursion on the way up/Print_MazePathwithJumps.cpp -------------------------------------------------------------------------------- /Level-1/9. Recursion on the way up/Print_Permutations.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/9. Recursion on the way up/Print_Permutations.cpp -------------------------------------------------------------------------------- /Level-1/9. Recursion on the way up/Print_StairPaths.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/9. Recursion on the way up/Print_StairPaths.cpp -------------------------------------------------------------------------------- /Level-1/9. Recursion on the way up/Print_Subsequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/9. Recursion on the way up/Print_Subsequence.cpp -------------------------------------------------------------------------------- /Level-1/String,StringBuilder-and-ArrayList/Print_All_Palindromic_SubStrings.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/String,StringBuilder-and-ArrayList/Print_All_Palindromic_SubStrings.java -------------------------------------------------------------------------------- /Level-1/String,StringBuilder-and-ArrayList/Remove_Primes.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/String,StringBuilder-and-ArrayList/Remove_Primes.java -------------------------------------------------------------------------------- /Level-1/String,StringBuilder-and-ArrayList/String_Compression.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/String,StringBuilder-and-ArrayList/String_Compression.java -------------------------------------------------------------------------------- /Level-1/String,StringBuilder-and-ArrayList/String_with_Difference_of_Every_Two_Consecutive_Characters.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/String,StringBuilder-and-ArrayList/String_with_Difference_of_Every_Two_Consecutive_Characters.java -------------------------------------------------------------------------------- /Level-1/String,StringBuilder-and-ArrayList/Toggle_Case.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-1/String,StringBuilder-and-ArrayList/Toggle_Case.java -------------------------------------------------------------------------------- /Level-2/18. Recursion-and-Backtracking/Abbreviation Using Backtracking.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/18. Recursion-and-Backtracking/Abbreviation Using Backtracking.cpp -------------------------------------------------------------------------------- /Level-2/18. Recursion-and-Backtracking/All Palindromic Partitions.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/18. Recursion-and-Backtracking/All Palindromic Partitions.cpp -------------------------------------------------------------------------------- /Level-2/18. Recursion-and-Backtracking/Coin Change - Combinations - 1.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/18. Recursion-and-Backtracking/Coin Change - Combinations - 1.cpp -------------------------------------------------------------------------------- /Level-2/18. Recursion-and-Backtracking/Coin Change - Combinations - 2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/18. Recursion-and-Backtracking/Coin Change - Combinations - 2.cpp -------------------------------------------------------------------------------- /Level-2/18. Recursion-and-Backtracking/Coin Change - Permutations - 1.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/18. Recursion-and-Backtracking/Coin Change - Permutations - 1.cpp -------------------------------------------------------------------------------- /Level-2/18. Recursion-and-Backtracking/Coin Change - Permutations - 2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/18. Recursion-and-Backtracking/Coin Change - Permutations - 2.cpp -------------------------------------------------------------------------------- /Level-2/18. Recursion-and-Backtracking/Combinations-I.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/18. Recursion-and-Backtracking/Combinations-I.cpp -------------------------------------------------------------------------------- /Level-2/18. Recursion-and-Backtracking/Combinations-II.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/18. Recursion-and-Backtracking/Combinations-II.cpp -------------------------------------------------------------------------------- /Level-2/18. Recursion-and-Backtracking/Crossword Puzzle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/18. Recursion-and-Backtracking/Crossword Puzzle.cpp -------------------------------------------------------------------------------- /Level-2/18. Recursion-and-Backtracking/Friends Pairing - 2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/18. Recursion-and-Backtracking/Friends Pairing - 2.cpp -------------------------------------------------------------------------------- /Level-2/18. Recursion-and-Backtracking/Gold Mine - 2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/18. Recursion-and-Backtracking/Gold Mine - 2.cpp -------------------------------------------------------------------------------- /Level-2/18. Recursion-and-Backtracking/Josephus Problem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/18. Recursion-and-Backtracking/Josephus Problem.cpp -------------------------------------------------------------------------------- /Level-2/18. Recursion-and-Backtracking/K Subsets With Equal Sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/18. Recursion-and-Backtracking/K Subsets With Equal Sum.cpp -------------------------------------------------------------------------------- /Level-2/18. Recursion-and-Backtracking/K-partitions.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/18. Recursion-and-Backtracking/K-partitions.cpp -------------------------------------------------------------------------------- /Level-2/18. Recursion-and-Backtracking/Largest Number Possible After At Most K Swaps.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/18. Recursion-and-Backtracking/Largest Number Possible After At Most K Swaps.cpp -------------------------------------------------------------------------------- /Level-2/18. Recursion-and-Backtracking/Lexicographical Numbers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/18. Recursion-and-Backtracking/Lexicographical Numbers.cpp -------------------------------------------------------------------------------- /Level-2/18. Recursion-and-Backtracking/Magnets.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/18. Recursion-and-Backtracking/Magnets.cpp -------------------------------------------------------------------------------- /Level-2/18. Recursion-and-Backtracking/Max Score.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/18. Recursion-and-Backtracking/Max Score.cpp -------------------------------------------------------------------------------- /Level-2/18. Recursion-and-Backtracking/NQueens-Branch-and-Bound.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/18. Recursion-and-Backtracking/NQueens-Branch-and-Bound.cpp -------------------------------------------------------------------------------- /Level-2/18. Recursion-and-Backtracking/NQueens-Combinations-2D-As-1D-Queen-Chooses.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/18. Recursion-and-Backtracking/NQueens-Combinations-2D-As-1D-Queen-Chooses.cpp -------------------------------------------------------------------------------- /Level-2/18. Recursion-and-Backtracking/NQueens-Permutations-2D-As-1D-Queen-Chooses.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/18. Recursion-and-Backtracking/NQueens-Permutations-2D-As-1D-Queen-Chooses.cpp -------------------------------------------------------------------------------- /Level-2/18. Recursion-and-Backtracking/Nknights-Combinations-2D-As-1D-Knight-Chooses.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/18. Recursion-and-Backtracking/Nknights-Combinations-2D-As-1D-Knight-Chooses.cpp -------------------------------------------------------------------------------- /Level-2/18. Recursion-and-Backtracking/Pattern Matching.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/18. Recursion-and-Backtracking/Pattern Matching.cpp -------------------------------------------------------------------------------- /Level-2/18. Recursion-and-Backtracking/Permutation-Words-1.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/18. Recursion-and-Backtracking/Permutation-Words-1.cpp -------------------------------------------------------------------------------- /Level-2/18. Recursion-and-Backtracking/Permutation-Words-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/18. Recursion-and-Backtracking/Permutation-Words-2.cpp -------------------------------------------------------------------------------- /Level-2/18. Recursion-and-Backtracking/Permutations-I.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/18. Recursion-and-Backtracking/Permutations-I.cpp -------------------------------------------------------------------------------- /Level-2/18. Recursion-and-Backtracking/Permutations-II.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/18. Recursion-and-Backtracking/Permutations-II.cpp -------------------------------------------------------------------------------- /Level-2/18. Recursion-and-Backtracking/Queen-Combinations-2D-As-1D-QueenChooses.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/18. Recursion-and-Backtracking/Queen-Combinations-2D-As-1D-QueenChooses.cpp -------------------------------------------------------------------------------- /Level-2/18. Recursion-and-Backtracking/Queens-Combination-2D-As-2D-BoxChooses.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/18. Recursion-and-Backtracking/Queens-Combination-2D-As-2D-BoxChooses.cpp -------------------------------------------------------------------------------- /Level-2/18. Recursion-and-Backtracking/Queens-Combination-2D-As-2D-QueenChooses.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/18. Recursion-and-Backtracking/Queens-Combination-2D-As-2D-QueenChooses.cpp -------------------------------------------------------------------------------- /Level-2/18. Recursion-and-Backtracking/Queens-Permutation-2D-As-2D-BoxChooses.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/18. Recursion-and-Backtracking/Queens-Permutation-2D-As-2D-BoxChooses.cpp -------------------------------------------------------------------------------- /Level-2/18. Recursion-and-Backtracking/Queens-Permutation-2D-As-2D-QueenChooses.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/18. Recursion-and-Backtracking/Queens-Permutation-2D-As-2D-QueenChooses.cpp -------------------------------------------------------------------------------- /Level-2/18. Recursion-and-Backtracking/Remove Invalid Parenthesis.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/18. Recursion-and-Backtracking/Remove Invalid Parenthesis.cpp -------------------------------------------------------------------------------- /Level-2/18. Recursion-and-Backtracking/Solve Sudoku.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/18. Recursion-and-Backtracking/Solve Sudoku.cpp -------------------------------------------------------------------------------- /Level-2/18. Recursion-and-Backtracking/Tug Of War.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/18. Recursion-and-Backtracking/Tug Of War.cpp -------------------------------------------------------------------------------- /Level-2/18. Recursion-and-Backtracking/Word Break - I.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/18. Recursion-and-Backtracking/Word Break - I.cpp -------------------------------------------------------------------------------- /Level-2/18. Recursion-and-Backtracking/Words - K Length Words - 3.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/18. Recursion-and-Backtracking/Words - K Length Words - 3.cpp -------------------------------------------------------------------------------- /Level-2/18. Recursion-and-Backtracking/Words - K Length Words - 4.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/18. Recursion-and-Backtracking/Words - K Length Words - 4.cpp -------------------------------------------------------------------------------- /Level-2/18. Recursion-and-Backtracking/Words - K Selection - 3.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/18. Recursion-and-Backtracking/Words - K Selection - 3.cpp -------------------------------------------------------------------------------- /Level-2/18. Recursion-and-Backtracking/Words - K Selection - 4.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/18. Recursion-and-Backtracking/Words - K Selection - 4.cpp -------------------------------------------------------------------------------- /Level-2/18. Recursion-and-Backtracking/Words-K-Length-Words-1.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/18. Recursion-and-Backtracking/Words-K-Length-Words-1.cpp -------------------------------------------------------------------------------- /Level-2/18. Recursion-and-Backtracking/Words-K-Length-Words-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/18. Recursion-and-Backtracking/Words-K-Length-Words-2.cpp -------------------------------------------------------------------------------- /Level-2/18. Recursion-and-Backtracking/Words-K-Selection-1.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/18. Recursion-and-Backtracking/Words-K-Selection-1.cpp -------------------------------------------------------------------------------- /Level-2/18. Recursion-and-Backtracking/Words-K-Selection-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/18. Recursion-and-Backtracking/Words-K-Selection-2.cpp -------------------------------------------------------------------------------- /Level-2/19. LinkedList-2/Add First In Doubly Linkedlist.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/19. LinkedList-2/Add First In Doubly Linkedlist.cpp -------------------------------------------------------------------------------- /Level-2/19. LinkedList-2/Add Last In Doubly Linkedlist.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/19. LinkedList-2/Add Last In Doubly Linkedlist.cpp -------------------------------------------------------------------------------- /Level-2/19. LinkedList-2/Add Two LinkedList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/19. LinkedList-2/Add Two LinkedList.cpp -------------------------------------------------------------------------------- /Level-2/19. LinkedList-2/Copy LinkedList with Random Pointers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/19. LinkedList-2/Copy LinkedList with Random Pointers.cpp -------------------------------------------------------------------------------- /Level-2/19. LinkedList-2/Cycle Node in LinkedList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/19. LinkedList-2/Cycle Node in LinkedList.cpp -------------------------------------------------------------------------------- /Level-2/19. LinkedList-2/Fold of LinkedList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/19. LinkedList-2/Fold of LinkedList.cpp -------------------------------------------------------------------------------- /Level-2/19. LinkedList-2/Intersection Node in LinkedList using Difference Method.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/19. LinkedList-2/Intersection Node in LinkedList using Difference Method.cpp -------------------------------------------------------------------------------- /Level-2/19. LinkedList-2/Intersection Node in LinkedList using Floyd Cycle Method.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/19. LinkedList-2/Intersection Node in LinkedList using Floyd Cycle Method.cpp -------------------------------------------------------------------------------- /Level-2/19. LinkedList-2/Is Cycle Present in LinkedList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/19. LinkedList-2/Is Cycle Present in LinkedList.cpp -------------------------------------------------------------------------------- /Level-2/19. LinkedList-2/Merge 2 Sorted LinkedList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/19. LinkedList-2/Merge 2 Sorted LinkedList.cpp -------------------------------------------------------------------------------- /Level-2/19. LinkedList-2/Merge K Sorted LinkedList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/19. LinkedList-2/Merge K Sorted LinkedList.cpp -------------------------------------------------------------------------------- /Level-2/19. LinkedList-2/MergeSort LinkedList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/19. LinkedList-2/MergeSort LinkedList.cpp -------------------------------------------------------------------------------- /Level-2/19. LinkedList-2/Middle of LinkedList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/19. LinkedList-2/Middle of LinkedList.cpp -------------------------------------------------------------------------------- /Level-2/19. LinkedList-2/Multiply Two LinkedList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/19. LinkedList-2/Multiply Two LinkedList.cpp -------------------------------------------------------------------------------- /Level-2/19. LinkedList-2/Palindrome LinkedList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/19. LinkedList-2/Palindrome LinkedList.cpp -------------------------------------------------------------------------------- /Level-2/19. LinkedList-2/Quicksort In LinkedList.cpp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Level-2/19. LinkedList-2/Remove All Duplicates from Sorted LinkedList.cpp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Level-2/19. LinkedList-2/Remove Duplicate from Sorted LinkedList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/19. LinkedList-2/Remove Duplicate from Sorted LinkedList.cpp -------------------------------------------------------------------------------- /Level-2/19. LinkedList-2/Remove First In Doubly Linkedlist.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/19. LinkedList-2/Remove First In Doubly Linkedlist.cpp -------------------------------------------------------------------------------- /Level-2/19. LinkedList-2/Remove Last In Doubly Linkedlist.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/19. LinkedList-2/Remove Last In Doubly Linkedlist.cpp -------------------------------------------------------------------------------- /Level-2/19. LinkedList-2/Remove Nth Node from End of LinkedList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/19. LinkedList-2/Remove Nth Node from End of LinkedList.cpp -------------------------------------------------------------------------------- /Level-2/19. LinkedList-2/Reverse Nodes of LinkedList in K Group.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/19. LinkedList-2/Reverse Nodes of LinkedList in K Group.cpp -------------------------------------------------------------------------------- /Level-2/19. LinkedList-2/Reverse a Linkedlist.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/19. LinkedList-2/Reverse a Linkedlist.cpp -------------------------------------------------------------------------------- /Level-2/19. LinkedList-2/Reverse in Range.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/19. LinkedList-2/Reverse in Range.cpp -------------------------------------------------------------------------------- /Level-2/19. LinkedList-2/Segregate 01 Node of LinkedList Over Swapping Data.cpp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Level-2/19. LinkedList-2/Segregate 01 Node of LinkedList Over Swapping Nodes.cpp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Level-2/19. LinkedList-2/Segregate 012 Node Of Linkedlist Over Swapping Nodes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/19. LinkedList-2/Segregate 012 Node Of Linkedlist Over Swapping Nodes.cpp -------------------------------------------------------------------------------- /Level-2/19. LinkedList-2/Segregate Even and Odd nodes in LinkedList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/19. LinkedList-2/Segregate Even and Odd nodes in LinkedList.cpp -------------------------------------------------------------------------------- /Level-2/19. LinkedList-2/Segregate Node Of Linkedlist Over Last Index.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/19. LinkedList-2/Segregate Node Of Linkedlist Over Last Index.cpp -------------------------------------------------------------------------------- /Level-2/19. LinkedList-2/Segregate Node Of Linkedlist Over Pivot Index.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/19. LinkedList-2/Segregate Node Of Linkedlist Over Pivot Index.cpp -------------------------------------------------------------------------------- /Level-2/19. LinkedList-2/Subtract Two LinkedList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/19. LinkedList-2/Subtract Two LinkedList.cpp -------------------------------------------------------------------------------- /Level-2/19. LinkedList-2/UnFold of LinkedList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/19. LinkedList-2/UnFold of LinkedList.cpp -------------------------------------------------------------------------------- /Level-2/19. Stacks/test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/19. Stacks/test.txt -------------------------------------------------------------------------------- /Level-2/20. Tree-2/All Single Child Parent In Binary Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/20. Tree-2/All Single Child Parent In Binary Tree.cpp -------------------------------------------------------------------------------- /Level-2/20. Tree-2/Bottom View Of A Binarytree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/20. Tree-2/Bottom View Of A Binarytree.cpp -------------------------------------------------------------------------------- /Level-2/20. Tree-2/Cameras In Binary Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/20. Tree-2/Cameras In Binary Tree.cpp -------------------------------------------------------------------------------- /Level-2/20. Tree-2/Construct Binarytree From Postorder And Inorder Traversal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/20. Tree-2/Construct Binarytree From Postorder And Inorder Traversal.cpp -------------------------------------------------------------------------------- /Level-2/20. Tree-2/Construct Binarytree From Preorder And Inorder Traversal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/20. Tree-2/Construct Binarytree From Preorder And Inorder Traversal.cpp -------------------------------------------------------------------------------- /Level-2/20. Tree-2/Construct Binarytree From Preorder And Postorder Traversal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/20. Tree-2/Construct Binarytree From Preorder And Postorder Traversal.cpp -------------------------------------------------------------------------------- /Level-2/20. Tree-2/Construct Bst From Inorder Traversal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/20. Tree-2/Construct Bst From Inorder Traversal.cpp -------------------------------------------------------------------------------- /Level-2/20. Tree-2/Construct Bst From Levelorder Traversal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/20. Tree-2/Construct Bst From Levelorder Traversal.cpp -------------------------------------------------------------------------------- /Level-2/20. Tree-2/Construct Bst From Postorder Traversal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/20. Tree-2/Construct Bst From Postorder Traversal.cpp -------------------------------------------------------------------------------- /Level-2/20. Tree-2/Construct Bst From Preorder Traversal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/20. Tree-2/Construct Bst From Preorder Traversal.cpp -------------------------------------------------------------------------------- /Level-2/20. Tree-2/Convert Bst To Sorted Doubly Linked List.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/20. Tree-2/Convert Bst To Sorted Doubly Linked List.cpp -------------------------------------------------------------------------------- /Level-2/20. Tree-2/Convert Sorted Doubly Linked List To Binary Search Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/20. Tree-2/Convert Sorted Doubly Linked List To Binary Search Tree.cpp -------------------------------------------------------------------------------- /Level-2/20. Tree-2/Count All Single Child Parent In Binary Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/20. Tree-2/Count All Single Child Parent In Binary Tree.cpp -------------------------------------------------------------------------------- /Level-2/20. Tree-2/Diagonal Order (anti-clock Wise) Of A Binarytree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/20. Tree-2/Diagonal Order (anti-clock Wise) Of A Binarytree.cpp -------------------------------------------------------------------------------- /Level-2/20. Tree-2/Diagonal Order Of A Binarytree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/20. Tree-2/Diagonal Order Of A Binarytree.cpp -------------------------------------------------------------------------------- /Level-2/20. Tree-2/Diagonal Order Sum Of A Binary Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/20. Tree-2/Diagonal Order Sum Of A Binary Tree.cpp -------------------------------------------------------------------------------- /Level-2/20. Tree-2/House Robber In Binary Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/20. Tree-2/House Robber In Binary Tree.cpp -------------------------------------------------------------------------------- /Level-2/20. Tree-2/In Order Morris Traversal In Binarytree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/20. Tree-2/In Order Morris Traversal In Binarytree.cpp -------------------------------------------------------------------------------- /Level-2/20. Tree-2/Left View Of A Binarytree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/20. Tree-2/Left View Of A Binarytree.cpp -------------------------------------------------------------------------------- /Level-2/20. Tree-2/Longest Zigzag Path In A Binary Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/20. Tree-2/Longest Zigzag Path In A Binary Tree.cpp -------------------------------------------------------------------------------- /Level-2/20. Tree-2/Maximum Path Sum In Between Two Leaves Of Binary Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/20. Tree-2/Maximum Path Sum In Between Two Leaves Of Binary Tree.cpp -------------------------------------------------------------------------------- /Level-2/20. Tree-2/Maximum Path Sum Of Binary Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/20. Tree-2/Maximum Path Sum Of Binary Tree.cpp -------------------------------------------------------------------------------- /Level-2/20. Tree-2/Node To Root Path Binary Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/20. Tree-2/Node To Root Path Binary Tree.cpp -------------------------------------------------------------------------------- /Level-2/20. Tree-2/Pre Order Morris Traversal In Binary Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/20. Tree-2/Pre Order Morris Traversal In Binary Tree.cpp -------------------------------------------------------------------------------- /Level-2/20. Tree-2/Recover Bst.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/20. Tree-2/Recover Bst.cpp -------------------------------------------------------------------------------- /Level-2/20. Tree-2/Right View Of A Binarytree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/20. Tree-2/Right View Of A Binarytree.cpp -------------------------------------------------------------------------------- /Level-2/20. Tree-2/Root To All Leaf Path In Binary Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/20. Tree-2/Root To All Leaf Path In Binary Tree.cpp -------------------------------------------------------------------------------- /Level-2/20. Tree-2/Serialize And Deserialize Binary Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/20. Tree-2/Serialize And Deserialize Binary Tree.cpp -------------------------------------------------------------------------------- /Level-2/20. Tree-2/Top View Of A Binarytree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/20. Tree-2/Top View Of A Binarytree.cpp -------------------------------------------------------------------------------- /Level-2/20. Tree-2/Validate Bst.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/20. Tree-2/Validate Bst.cpp -------------------------------------------------------------------------------- /Level-2/20. Tree-2/Vertical Order Sum Of A Binarytree.cpp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Level-2/20. Tree-2/Vertical Order Traversal Of A Binarytree-ii.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/20. Tree-2/Vertical Order Traversal Of A Binarytree-ii.cpp -------------------------------------------------------------------------------- /Level-2/20. Tree-2/Vertical Order Traversal Of A Binarytree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/20. Tree-2/Vertical Order Traversal Of A Binarytree.cpp -------------------------------------------------------------------------------- /Level-2/20. Tree-2/Width Of Shadow Of Binary Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/20. Tree-2/Width Of Shadow Of Binary Tree.cpp -------------------------------------------------------------------------------- /Level-2/21. Graphs/Alien Dictionary.cpp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Level-2/21. Graphs/Articulation Point.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/21. Graphs/Articulation Point.cpp -------------------------------------------------------------------------------- /Level-2/21. Graphs/As Far From Land As Possible.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/21. Graphs/As Far From Land As Possible.cpp -------------------------------------------------------------------------------- /Level-2/21. Graphs/Bellman Ford.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/21. Graphs/Bellman Ford.cpp -------------------------------------------------------------------------------- /Level-2/21. Graphs/Bus Routes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/21. Graphs/Bus Routes.cpp -------------------------------------------------------------------------------- /Level-2/21. Graphs/Critical Connection.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/21. Graphs/Critical Connection.cpp -------------------------------------------------------------------------------- /Level-2/21. Graphs/Euler Path and Circuit.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/21. Graphs/Euler Path and Circuit.cpp -------------------------------------------------------------------------------- /Level-2/21. Graphs/Floyd Warshall.cpp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Level-2/21. Graphs/Is Graph Bipartite.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/21. Graphs/Is Graph Bipartite.cpp -------------------------------------------------------------------------------- /Level-2/21. Graphs/Kosaraju Algorithm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/21. Graphs/Kosaraju Algorithm.cpp -------------------------------------------------------------------------------- /Level-2/21. Graphs/Kruskal Algorithm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/21. Graphs/Kruskal Algorithm.cpp -------------------------------------------------------------------------------- /Level-2/21. Graphs/Minimum Cost To Connect All Cities.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/21. Graphs/Minimum Cost To Connect All Cities.cpp -------------------------------------------------------------------------------- /Level-2/21. Graphs/Minimum Number Of Swaps Required To Sort An Array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/21. Graphs/Minimum Number Of Swaps Required To Sort An Array.cpp -------------------------------------------------------------------------------- /Level-2/21. Graphs/Mother Vertex.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/21. Graphs/Mother Vertex.cpp -------------------------------------------------------------------------------- /Level-2/21. Graphs/Negative Weight Cycle Detection.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/21. Graphs/Negative Weight Cycle Detection.cpp -------------------------------------------------------------------------------- /Level-2/21. Graphs/Number Of Island 2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/21. Graphs/Number Of Island 2.cpp -------------------------------------------------------------------------------- /Level-2/21. Graphs/Number of Distinct Islands.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/21. Graphs/Number of Distinct Islands.cpp -------------------------------------------------------------------------------- /Level-2/21. Graphs/Number of Enclaves.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/21. Graphs/Number of Enclaves.cpp -------------------------------------------------------------------------------- /Level-2/21. Graphs/Number of Islands.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/21. Graphs/Number of Islands.cpp -------------------------------------------------------------------------------- /Level-2/21. Graphs/Optimize Water Distribution.cpp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Level-2/21. Graphs/Pepcoding Course Schedule.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/21. Graphs/Pepcoding Course Schedule.cpp -------------------------------------------------------------------------------- /Level-2/21. Graphs/Redundant Connection 2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/21. Graphs/Redundant Connection 2.cpp -------------------------------------------------------------------------------- /Level-2/21. Graphs/Redundant Connection.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/21. Graphs/Redundant Connection.cpp -------------------------------------------------------------------------------- /Level-2/21. Graphs/Remove Max Number Of Edges To Keep Graph Fully Traversable.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/21. Graphs/Remove Max Number Of Edges To Keep Graph Fully Traversable.cpp -------------------------------------------------------------------------------- /Level-2/21. Graphs/Rotting Oranges.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/21. Graphs/Rotting Oranges.cpp -------------------------------------------------------------------------------- /Level-2/21. Graphs/Satisfiability Of Equality Equation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/21. Graphs/Satisfiability Of Equality Equation.cpp -------------------------------------------------------------------------------- /Level-2/21. Graphs/Sentence Similarity.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/21. Graphs/Sentence Similarity.cpp -------------------------------------------------------------------------------- /Level-2/21. Graphs/Shortest Bridge.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/21. Graphs/Shortest Bridge.cpp -------------------------------------------------------------------------------- /Level-2/21. Graphs/Sliding Puzzle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/21. Graphs/Sliding Puzzle.cpp -------------------------------------------------------------------------------- /Level-2/21. Graphs/Zero One Matrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/21. Graphs/Zero One Matrix.cpp -------------------------------------------------------------------------------- /Level-2/22. HashMap and Heap/Brick Wall.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/22. HashMap and Heap/Brick Wall.cpp -------------------------------------------------------------------------------- /Level-2/22. HashMap and Heap/Check Arithmetic Sequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/22. HashMap and Heap/Check Arithmetic Sequence.cpp -------------------------------------------------------------------------------- /Level-2/22. HashMap and Heap/Check If An Array Can Be Divided Into Pairs Whose Sum Is Divisible By K.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/22. HashMap and Heap/Check If An Array Can Be Divided Into Pairs Whose Sum Is Divisible By K.cpp -------------------------------------------------------------------------------- /Level-2/22. HashMap and Heap/Count Distinct Elements In Every Window Of Size K.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/22. HashMap and Heap/Count Distinct Elements In Every Window Of Size K.cpp -------------------------------------------------------------------------------- /Level-2/22. HashMap and Heap/Count Of All Subarrays With Zero Sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/22. HashMap and Heap/Count Of All Subarrays With Zero Sum.cpp -------------------------------------------------------------------------------- /Level-2/22. HashMap and Heap/Count Of Subarrays Having Sum Equals To K.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/22. HashMap and Heap/Count Of Subarrays Having Sum Equals To K.cpp -------------------------------------------------------------------------------- /Level-2/22. HashMap and Heap/Count Of Subarrays With Equal Number Of 0s 1s And 2s.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/22. HashMap and Heap/Count Of Subarrays With Equal Number Of 0s 1s And 2s.cpp -------------------------------------------------------------------------------- /Level-2/22. HashMap and Heap/Count Of Subarrays With Equal Number Of Zeroes And Ones.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/22. HashMap and Heap/Count Of Subarrays With Equal Number Of Zeroes And Ones.cpp -------------------------------------------------------------------------------- /Level-2/22. HashMap and Heap/Count Of Subarrays With Sum Divisible By K.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/22. HashMap and Heap/Count Of Subarrays With Sum Divisible By K.cpp -------------------------------------------------------------------------------- /Level-2/22. HashMap and Heap/Count Of Substrings Having All Unique Characters.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/22. HashMap and Heap/Count Of Substrings Having All Unique Characters.cpp -------------------------------------------------------------------------------- /Level-2/22. HashMap and Heap/Count Of Substrings Having At Most K Unique Characters.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/22. HashMap and Heap/Count Of Substrings Having At Most K Unique Characters.cpp -------------------------------------------------------------------------------- /Level-2/22. HashMap and Heap/Count Of Substrings With Exactly K Unique Characters.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/22. HashMap and Heap/Count Of Substrings With Exactly K Unique Characters.cpp -------------------------------------------------------------------------------- /Level-2/22. HashMap and Heap/Double Pair Array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/22. HashMap and Heap/Double Pair Array.cpp -------------------------------------------------------------------------------- /Level-2/22. HashMap and Heap/Equivalent Subarrays.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/22. HashMap and Heap/Equivalent Subarrays.cpp -------------------------------------------------------------------------------- /Level-2/22. HashMap and Heap/Find All Anagrams In A String.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/22. HashMap and Heap/Find All Anagrams In A String.cpp -------------------------------------------------------------------------------- /Level-2/22. HashMap and Heap/Find Anagram Mappings.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/22. HashMap and Heap/Find Anagram Mappings.cpp -------------------------------------------------------------------------------- /Level-2/22. HashMap and Heap/Find Itinerary From Tickets.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/22. HashMap and Heap/Find Itinerary From Tickets.cpp -------------------------------------------------------------------------------- /Level-2/22. HashMap and Heap/Group Shifted String.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/22. HashMap and Heap/Group Shifted String.cpp -------------------------------------------------------------------------------- /Level-2/22. HashMap and Heap/Isomorphic Strings.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/22. HashMap and Heap/Isomorphic Strings.cpp -------------------------------------------------------------------------------- /Level-2/22. HashMap and Heap/K Anagrams.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/22. HashMap and Heap/K Anagrams.cpp -------------------------------------------------------------------------------- /Level-2/22. HashMap and Heap/Largest Subarray With Contiguous Elements.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/22. HashMap and Heap/Largest Subarray With Contiguous Elements.cpp -------------------------------------------------------------------------------- /Level-2/22. HashMap and Heap/Largest Subarray With Zero Sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/22. HashMap and Heap/Largest Subarray With Zero Sum.cpp -------------------------------------------------------------------------------- /Level-2/22. HashMap and Heap/Longest Subarray With Equal Number Of 0s 1s And 2s.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/22. HashMap and Heap/Longest Subarray With Equal Number Of 0s 1s And 2s.cpp -------------------------------------------------------------------------------- /Level-2/22. HashMap and Heap/Longest Subarray With Equal Number Of Zeroes And Ones.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/22. HashMap and Heap/Longest Subarray With Equal Number Of Zeroes And Ones.cpp -------------------------------------------------------------------------------- /Level-2/22. HashMap and Heap/Longest Subarray With Sum Divisible By K.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/22. HashMap and Heap/Longest Subarray With Sum Divisible By K.cpp -------------------------------------------------------------------------------- /Level-2/22. HashMap and Heap/Longest Substring With At Most K Unique Characters.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/22. HashMap and Heap/Longest Substring With At Most K Unique Characters.cpp -------------------------------------------------------------------------------- /Level-2/22. HashMap and Heap/Longest Substring With Exactly K Unique Characters.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/22. HashMap and Heap/Longest Substring With Exactly K Unique Characters.cpp -------------------------------------------------------------------------------- /Level-2/22. HashMap and Heap/Longest Substring Without Repeating Characters.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/22. HashMap and Heap/Longest Substring Without Repeating Characters.cpp -------------------------------------------------------------------------------- /Level-2/22. HashMap and Heap/Maximum Consecutive Ones - 1.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/22. HashMap and Heap/Maximum Consecutive Ones - 1.cpp -------------------------------------------------------------------------------- /Level-2/22. HashMap and Heap/Maximum Consecutive Ones - 2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/22. HashMap and Heap/Maximum Consecutive Ones - 2.cpp -------------------------------------------------------------------------------- /Level-2/22. HashMap and Heap/Maximum Size Subarray Sum Equals K.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/22. HashMap and Heap/Maximum Size Subarray Sum Equals K.cpp -------------------------------------------------------------------------------- /Level-2/22. HashMap and Heap/Pairs With Equal Sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/22. HashMap and Heap/Pairs With Equal Sum.cpp -------------------------------------------------------------------------------- /Level-2/22. HashMap and Heap/Pairs With Given Sum In Two Sorted Matrices.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/22. HashMap and Heap/Pairs With Given Sum In Two Sorted Matrices.cpp -------------------------------------------------------------------------------- /Level-2/22. HashMap and Heap/Rabbits In The Forest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/22. HashMap and Heap/Rabbits In The Forest.cpp -------------------------------------------------------------------------------- /Level-2/22. HashMap and Heap/Recurring Sequence In A Fraction.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/22. HashMap and Heap/Recurring Sequence In A Fraction.cpp -------------------------------------------------------------------------------- /Level-2/22. HashMap and Heap/Smallest Subarray With All Occurrences Of The Most Frequent Element.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/22. HashMap and Heap/Smallest Subarray With All Occurrences Of The Most Frequent Element.cpp -------------------------------------------------------------------------------- /Level-2/22. HashMap and Heap/Smallest Substring Of A String Containing All Characters Of Another String.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/22. HashMap and Heap/Smallest Substring Of A String Containing All Characters Of Another String.cpp -------------------------------------------------------------------------------- /Level-2/22. HashMap and Heap/Smallest Substring Of A String Containing All Unique Characters Of Itself.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/22. HashMap and Heap/Smallest Substring Of A String Containing All Unique Characters Of Itself.cpp -------------------------------------------------------------------------------- /Level-2/22. HashMap and Heap/Task Completion.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/22. HashMap and Heap/Task Completion.cpp -------------------------------------------------------------------------------- /Level-2/22. HashMap and Heap/Valid Anagram.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/22. HashMap and Heap/Valid Anagram.cpp -------------------------------------------------------------------------------- /Level-2/22. HashMap and Heap/Word Pattern.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/22. HashMap and Heap/Word Pattern.cpp -------------------------------------------------------------------------------- /Level-2/22. HashMap and Heap/X Of A Kind In A Deck.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/22. HashMap and Heap/X Of A Kind In A Deck.cpp -------------------------------------------------------------------------------- /Level-2/23. Dynamic Programming/Box Stacking.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/23. Dynamic Programming/Box Stacking.cpp -------------------------------------------------------------------------------- /Level-2/23. Dynamic Programming/Count Palindromic Substrings.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/23. Dynamic Programming/Count Palindromic Substrings.cpp -------------------------------------------------------------------------------- /Level-2/23. Dynamic Programming/Longest Bitonic Subsequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/23. Dynamic Programming/Longest Bitonic Subsequence.cpp -------------------------------------------------------------------------------- /Level-2/23. Dynamic Programming/Longest Increasing Subsequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/23. Dynamic Programming/Longest Increasing Subsequence.cpp -------------------------------------------------------------------------------- /Level-2/23. Dynamic Programming/Longest Palindromic Substring.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/23. Dynamic Programming/Longest Palindromic Substring.cpp -------------------------------------------------------------------------------- /Level-2/23. Dynamic Programming/Maximum Length Of Pair Chain.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/23. Dynamic Programming/Maximum Length Of Pair Chain.cpp -------------------------------------------------------------------------------- /Level-2/23. Dynamic Programming/Maximum Non-overlapping Bridges.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/23. Dynamic Programming/Maximum Non-overlapping Bridges.cpp -------------------------------------------------------------------------------- /Level-2/23. Dynamic Programming/Maximum Sum Increasing Subsequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/23. Dynamic Programming/Maximum Sum Increasing Subsequence.cpp -------------------------------------------------------------------------------- /Level-2/23. Dynamic Programming/Print All Paths With Minimum Cost.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/23. Dynamic Programming/Print All Paths With Minimum Cost.cpp -------------------------------------------------------------------------------- /Level-2/23. Dynamic Programming/Russian Doll Envelopes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/Level-2/23. Dynamic Programming/Russian Doll Envelopes.cpp -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anubhvshrma18/PepCoding-Solutions/HEAD/README.md --------------------------------------------------------------------------------