├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── Striver CP Sheet └── Readme.md └── Striver SDE Sheet ├── Day - 1 (Arrays) ├── Dutch Flag Algorithm.cpp ├── Find duplicate in array.cpp ├── Kadane Algorithm.cpp ├── Merge 2 Sorted Arr (No Extra Space). cpp ├── Merge Overlapping SubIntervals.cpp └── Repeat And Missing Number.cpp ├── Day - 10 (Recursion&Backtracking) ├── M Colouring Problem.cpp ├── N Queens Problem.cpp ├── Permutation in String.cpp ├── Rat in a Maze.cpp └── Sudoku.cpp ├── Day - 11 (Binary Search) ├── Kth Element Of Two Sorted Arrays.cpp ├── Matrix Median.cpp ├── Median of 2 sorted arrays(Hard).cpp ├── Search element in sorted rotated array.cpp ├── Single Element in Sorted Array.cpp └── Sqrt(x).cpp ├── Day - 12 (Bits) ├── Count Total Set Bits.cpp ├── Counting Bits.cpp ├── Most Significant Bit.cpp ├── Power of 2.cpp └── Subsets.cpp ├── Day - 13 (Stacks and Queues) ├── BFS.cpp ├── Balanced Parenthesis.cpp ├── Implement Queue using Stack.cpp ├── Implement Stack using Queue.cpp └── Next Greater Element.cpp ├── Day - 14 ├── Implement Min Stack.cpp ├── LRU Cache (Hard)(VVIP).cpp ├── Largest Rectangle In A Histogram.cpp ├── Next Smaller Element.cpp ├── Rotten Oranges.cpp └── Sliding Window Maximum.cpp ├── Day - 15 (Strings) ├── Implement ATOI and STRSTR.cpp ├── Longest Common Prefix.cpp ├── Longest Palindrome substring.cpp ├── Reverse words in String.cpp └── Roman No. to Integer and vice versa.cpp ├── Day - 16 (Strings) ├── Check for anagrams.cpp ├── Compare Version Numbers.cpp └── Count and Say.cpp ├── Day - 17 (Binary Tree) ├── Bottom View Of Binary Tree.cpp ├── Inorder Iterative.cpp ├── Inorder Recursive.cpp ├── Inorder Traversal(both).cpp ├── Left View Of Binary Tree.cpp ├── Postorder (both).cpp ├── Postorder Iterative.cpp ├── Postorder Recursive.cpp ├── Preorder (both).cpp ├── Preorder Iterative.cpp ├── Preorder Recursive.cpp ├── Right View of Binary Tree.cpp └── Top View Of Binary Tree.cpp ├── Day - 18 (Binary Tree) ├── Check if trees identical.cpp ├── Diameter of tree.cpp ├── Height balanced Check.cpp ├── Height of Binary Tree.cpp ├── LCA in Binary Tree.cpp ├── Level Order Traversal.cpp └── Level order in Spiral.cpp ├── Day - 19 (Binary Tree) ├── Construct BTree from Inorder and Postorder.cpp ├── Construct BTree from Inorder and Preorder(Hard).cpp ├── Flatten BTree to LinkedList.cpp ├── Maximum Path Sum(Hard).cpp └── Symmetric Tree(Mirror of itself).cpp ├── Day - 2 (Arrays) ├── Best Time to Buy and Sell Stock - 1.cpp ├── Inversion Count.cpp ├── Next Permutation.cpp ├── Pascal Triangle. cpp ├── Rotate Matrix.cpp └── Set Matrix Zeros. cpp ├── Day - 20 (BST) ├── Check if BT is BST.cpp ├── Construct BST from given keys.cpp ├── Inorder predecessor and succ in BST.cpp ├── LCA of BST.cpp ├── Populate next right pointers.cpp └── Search in BST.cpp ├── Day - 21 (BST) ├── BST Iterator.cpp ├── Find pair with sum in BST.cpp ├── Floor and ceil of BST.cpp ├── K-th largest element in BST.cpp ├── K-th smallest in BST.cpp ├── Max sum BST in BT(Hard).cpp └── Serialize and Deserialize(Hard).cpp ├── Day - 23 (Graphs) ├── BFS.cpp ├── Bipartite Check(BFS).cpp ├── Bipartite Check(DFS).cpp ├── Clone a Graph (DFS)(Hard).cpp ├── Cycle Detection Directed Graph (BFS)(Kahn).cpp ├── Cycle Detection Directed Graph(DFS).cpp ├── Cycle Detection Undirected Graph(BFS)(Hard).cpp ├── Cycle Detection Undirected Graph(DFS).cpp ├── DFS.cpp ├── Topological Sort (BFS)(Kahn).cpp └── Topological Sort(DFS).cpp ├── Day - 24 (Graphs) ├── Articulation Point (VHard).cpp ├── Bellman Ford's Algo.cpp ├── Bridges in Graph (VHard).cpp ├── Dijkstra's Algo.cpp ├── Disjoint Set(Union by rank and Path Compression).cpp ├── Floyd Warshall Algo.cpp ├── Kruskal's Algo(Hard).cpp ├── Prim's Algo.cpp ├── Shortest Path DAG(Hard).cpp ├── Shortest Path Undirected Graph.cpp └── Strongly Connected Components (Kosaraju).cpp ├── Day - 25 (DP) ├── 0-1 Knapsack (all methods).cpp ├── Edit Distance.cpp ├── Longest Common Subsequence.cpp ├── Longest Inc Subsequence.cpp ├── Matrix Chain Multiplication(Hard).cpp ├── Max Sum Inc Subsequence (MSIS).cpp └── Maximum Product Subarray.cpp ├── Day - 26 (DP) ├── Climbing Stairs.cpp ├── Coin Change (2 methods).cpp ├── Egg Dropping(Hard).cpp ├── Max Profit Job scheduling(Hard).cpp ├── Max Sum Path in Matrix(2 methods).cpp ├── Rod Cutting.cpp ├── Subset Sum.cpp └── Word Break.cpp ├── Day - 3 (Arrays&Math) ├── Majority Element - 2.cpp ├── Majority Element.cpp ├── Search 2-D Matrix.cpp ├── Unique Paths.cpp └── pow(X,n).cpp ├── Day - 4 (Hashing) ├── 2 Sum.cpp ├── 4 Sum.cpp ├── Largest Subarray with 0 sum.cpp └── Longest Consecutive Sequence.cpp ├── Day - 5 (Linked List) ├── Add 2 Linked List Numbers.cpp ├── Delete Node In A Linked List.cpp ├── Merge Two Sorted Lists.cpp ├── Middle Of Linked List.cpp ├── Remove Nth Node from End of List.cpp └── Reverse Linked List.cpp ├── Day - 6 (Linked List) ├── Find The Starting Point Of Loop.cpp ├── Intersection of 2 LinkedLists.cpp ├── Linked List Cycle.cpp ├── Palindrome Linked List.cpp └── Reverse Nodes In K Group.cpp ├── Day - 7 (2 pointer) ├── 3 Sum.cpp ├── Clone A Linked List With Random And Next Pointer.cpp ├── Max Consecutive Ones.cpp ├── Remove Duplicates from Sorted Array.cpp └── Trapping Rain Water.cpp ├── Day - 8 (Greedy) ├── Coin Change.cpp ├── Fractional Knapsack.cpp ├── Job Sequencing Problem.cpp ├── Minimum Platforms.cpp └── N meetings in one room.cpp └── Day - 9 (Recursion) ├── Combination Sum-1.cpp ├── Combination Sum-2.cpp ├── Palindrome Partitioning.cpp ├── Permutation Sequence.cpp ├── Subset Sums.cpp └── Subset-2.cpp /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/README.md -------------------------------------------------------------------------------- /Striver CP Sheet/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver CP Sheet/Readme.md -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 1 (Arrays)/Dutch Flag Algorithm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 1 (Arrays)/Dutch Flag Algorithm.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 1 (Arrays)/Find duplicate in array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 1 (Arrays)/Find duplicate in array.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 1 (Arrays)/Kadane Algorithm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 1 (Arrays)/Kadane Algorithm.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 1 (Arrays)/Merge 2 Sorted Arr (No Extra Space). cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 1 (Arrays)/Merge 2 Sorted Arr (No Extra Space). cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 1 (Arrays)/Merge Overlapping SubIntervals.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 1 (Arrays)/Merge Overlapping SubIntervals.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 1 (Arrays)/Repeat And Missing Number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 1 (Arrays)/Repeat And Missing Number.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 10 (Recursion&Backtracking)/M Colouring Problem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 10 (Recursion&Backtracking)/M Colouring Problem.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 10 (Recursion&Backtracking)/N Queens Problem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 10 (Recursion&Backtracking)/N Queens Problem.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 10 (Recursion&Backtracking)/Permutation in String.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 10 (Recursion&Backtracking)/Permutation in String.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 10 (Recursion&Backtracking)/Rat in a Maze.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 10 (Recursion&Backtracking)/Rat in a Maze.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 10 (Recursion&Backtracking)/Sudoku.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 10 (Recursion&Backtracking)/Sudoku.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 11 (Binary Search)/Kth Element Of Two Sorted Arrays.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 11 (Binary Search)/Kth Element Of Two Sorted Arrays.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 11 (Binary Search)/Matrix Median.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 11 (Binary Search)/Matrix Median.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 11 (Binary Search)/Median of 2 sorted arrays(Hard).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 11 (Binary Search)/Median of 2 sorted arrays(Hard).cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 11 (Binary Search)/Search element in sorted rotated array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 11 (Binary Search)/Search element in sorted rotated array.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 11 (Binary Search)/Single Element in Sorted Array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 11 (Binary Search)/Single Element in Sorted Array.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 11 (Binary Search)/Sqrt(x).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 11 (Binary Search)/Sqrt(x).cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 12 (Bits)/Count Total Set Bits.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 12 (Bits)/Count Total Set Bits.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 12 (Bits)/Counting Bits.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 12 (Bits)/Counting Bits.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 12 (Bits)/Most Significant Bit.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 12 (Bits)/Most Significant Bit.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 12 (Bits)/Power of 2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 12 (Bits)/Power of 2.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 12 (Bits)/Subsets.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 12 (Bits)/Subsets.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 13 (Stacks and Queues)/BFS.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 13 (Stacks and Queues)/BFS.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 13 (Stacks and Queues)/Balanced Parenthesis.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 13 (Stacks and Queues)/Balanced Parenthesis.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 13 (Stacks and Queues)/Implement Queue using Stack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 13 (Stacks and Queues)/Implement Queue using Stack.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 13 (Stacks and Queues)/Implement Stack using Queue.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 13 (Stacks and Queues)/Implement Stack using Queue.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 13 (Stacks and Queues)/Next Greater Element.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 13 (Stacks and Queues)/Next Greater Element.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 14/Implement Min Stack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 14/Implement Min Stack.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 14/LRU Cache (Hard)(VVIP).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 14/LRU Cache (Hard)(VVIP).cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 14/Largest Rectangle In A Histogram.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 14/Largest Rectangle In A Histogram.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 14/Next Smaller Element.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 14/Next Smaller Element.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 14/Rotten Oranges.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 14/Rotten Oranges.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 14/Sliding Window Maximum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 14/Sliding Window Maximum.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 15 (Strings)/Implement ATOI and STRSTR.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 15 (Strings)/Implement ATOI and STRSTR.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 15 (Strings)/Longest Common Prefix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 15 (Strings)/Longest Common Prefix.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 15 (Strings)/Longest Palindrome substring.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 15 (Strings)/Longest Palindrome substring.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 15 (Strings)/Reverse words in String.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 15 (Strings)/Reverse words in String.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 15 (Strings)/Roman No. to Integer and vice versa.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 15 (Strings)/Roman No. to Integer and vice versa.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 16 (Strings)/Check for anagrams.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 16 (Strings)/Check for anagrams.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 16 (Strings)/Compare Version Numbers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 16 (Strings)/Compare Version Numbers.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 16 (Strings)/Count and Say.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 16 (Strings)/Count and Say.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 17 (Binary Tree)/Bottom View Of Binary Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 17 (Binary Tree)/Bottom View Of Binary Tree.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 17 (Binary Tree)/Inorder Iterative.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 17 (Binary Tree)/Inorder Iterative.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 17 (Binary Tree)/Inorder Recursive.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 17 (Binary Tree)/Inorder Recursive.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 17 (Binary Tree)/Inorder Traversal(both).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 17 (Binary Tree)/Inorder Traversal(both).cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 17 (Binary Tree)/Left View Of Binary Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 17 (Binary Tree)/Left View Of Binary Tree.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 17 (Binary Tree)/Postorder (both).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 17 (Binary Tree)/Postorder (both).cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 17 (Binary Tree)/Postorder Iterative.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 17 (Binary Tree)/Postorder Iterative.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 17 (Binary Tree)/Postorder Recursive.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 17 (Binary Tree)/Postorder Recursive.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 17 (Binary Tree)/Preorder (both).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 17 (Binary Tree)/Preorder (both).cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 17 (Binary Tree)/Preorder Iterative.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 17 (Binary Tree)/Preorder Iterative.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 17 (Binary Tree)/Preorder Recursive.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 17 (Binary Tree)/Preorder Recursive.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 17 (Binary Tree)/Right View of Binary Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 17 (Binary Tree)/Right View of Binary Tree.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 17 (Binary Tree)/Top View Of Binary Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 17 (Binary Tree)/Top View Of Binary Tree.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 18 (Binary Tree)/Check if trees identical.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 18 (Binary Tree)/Check if trees identical.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 18 (Binary Tree)/Diameter of tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 18 (Binary Tree)/Diameter of tree.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 18 (Binary Tree)/Height balanced Check.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 18 (Binary Tree)/Height balanced Check.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 18 (Binary Tree)/Height of Binary Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 18 (Binary Tree)/Height of Binary Tree.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 18 (Binary Tree)/LCA in Binary Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 18 (Binary Tree)/LCA in Binary Tree.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 18 (Binary Tree)/Level Order Traversal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 18 (Binary Tree)/Level Order Traversal.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 18 (Binary Tree)/Level order in Spiral.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 18 (Binary Tree)/Level order in Spiral.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 19 (Binary Tree)/Construct BTree from Inorder and Postorder.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 19 (Binary Tree)/Construct BTree from Inorder and Postorder.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 19 (Binary Tree)/Construct BTree from Inorder and Preorder(Hard).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 19 (Binary Tree)/Construct BTree from Inorder and Preorder(Hard).cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 19 (Binary Tree)/Flatten BTree to LinkedList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 19 (Binary Tree)/Flatten BTree to LinkedList.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 19 (Binary Tree)/Maximum Path Sum(Hard).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 19 (Binary Tree)/Maximum Path Sum(Hard).cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 19 (Binary Tree)/Symmetric Tree(Mirror of itself).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 19 (Binary Tree)/Symmetric Tree(Mirror of itself).cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 2 (Arrays)/Best Time to Buy and Sell Stock - 1.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 2 (Arrays)/Best Time to Buy and Sell Stock - 1.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 2 (Arrays)/Inversion Count.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 2 (Arrays)/Inversion Count.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 2 (Arrays)/Next Permutation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 2 (Arrays)/Next Permutation.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 2 (Arrays)/Pascal Triangle. cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 2 (Arrays)/Pascal Triangle. cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 2 (Arrays)/Rotate Matrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 2 (Arrays)/Rotate Matrix.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 2 (Arrays)/Set Matrix Zeros. cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 2 (Arrays)/Set Matrix Zeros. cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 20 (BST)/Check if BT is BST.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 20 (BST)/Check if BT is BST.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 20 (BST)/Construct BST from given keys.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 20 (BST)/Construct BST from given keys.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 20 (BST)/Inorder predecessor and succ in BST.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 20 (BST)/Inorder predecessor and succ in BST.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 20 (BST)/LCA of BST.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 20 (BST)/LCA of BST.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 20 (BST)/Populate next right pointers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 20 (BST)/Populate next right pointers.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 20 (BST)/Search in BST.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 20 (BST)/Search in BST.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 21 (BST)/BST Iterator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 21 (BST)/BST Iterator.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 21 (BST)/Find pair with sum in BST.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 21 (BST)/Find pair with sum in BST.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 21 (BST)/Floor and ceil of BST.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 21 (BST)/Floor and ceil of BST.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 21 (BST)/K-th largest element in BST.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 21 (BST)/K-th largest element in BST.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 21 (BST)/K-th smallest in BST.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 21 (BST)/K-th smallest in BST.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 21 (BST)/Max sum BST in BT(Hard).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 21 (BST)/Max sum BST in BT(Hard).cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 21 (BST)/Serialize and Deserialize(Hard).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 21 (BST)/Serialize and Deserialize(Hard).cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 23 (Graphs)/BFS.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 23 (Graphs)/BFS.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 23 (Graphs)/Bipartite Check(BFS).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 23 (Graphs)/Bipartite Check(BFS).cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 23 (Graphs)/Bipartite Check(DFS).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 23 (Graphs)/Bipartite Check(DFS).cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 23 (Graphs)/Clone a Graph (DFS)(Hard).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 23 (Graphs)/Clone a Graph (DFS)(Hard).cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 23 (Graphs)/Cycle Detection Directed Graph (BFS)(Kahn).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 23 (Graphs)/Cycle Detection Directed Graph (BFS)(Kahn).cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 23 (Graphs)/Cycle Detection Directed Graph(DFS).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 23 (Graphs)/Cycle Detection Directed Graph(DFS).cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 23 (Graphs)/Cycle Detection Undirected Graph(BFS)(Hard).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 23 (Graphs)/Cycle Detection Undirected Graph(BFS)(Hard).cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 23 (Graphs)/Cycle Detection Undirected Graph(DFS).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 23 (Graphs)/Cycle Detection Undirected Graph(DFS).cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 23 (Graphs)/DFS.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 23 (Graphs)/DFS.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 23 (Graphs)/Topological Sort (BFS)(Kahn).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 23 (Graphs)/Topological Sort (BFS)(Kahn).cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 23 (Graphs)/Topological Sort(DFS).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 23 (Graphs)/Topological Sort(DFS).cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 24 (Graphs)/Articulation Point (VHard).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 24 (Graphs)/Articulation Point (VHard).cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 24 (Graphs)/Bellman Ford's Algo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 24 (Graphs)/Bellman Ford's Algo.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 24 (Graphs)/Bridges in Graph (VHard).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 24 (Graphs)/Bridges in Graph (VHard).cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 24 (Graphs)/Dijkstra's Algo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 24 (Graphs)/Dijkstra's Algo.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 24 (Graphs)/Disjoint Set(Union by rank and Path Compression).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 24 (Graphs)/Disjoint Set(Union by rank and Path Compression).cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 24 (Graphs)/Floyd Warshall Algo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 24 (Graphs)/Floyd Warshall Algo.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 24 (Graphs)/Kruskal's Algo(Hard).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 24 (Graphs)/Kruskal's Algo(Hard).cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 24 (Graphs)/Prim's Algo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 24 (Graphs)/Prim's Algo.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 24 (Graphs)/Shortest Path DAG(Hard).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 24 (Graphs)/Shortest Path DAG(Hard).cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 24 (Graphs)/Shortest Path Undirected Graph.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 24 (Graphs)/Shortest Path Undirected Graph.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 24 (Graphs)/Strongly Connected Components (Kosaraju).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 24 (Graphs)/Strongly Connected Components (Kosaraju).cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 25 (DP)/0-1 Knapsack (all methods).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 25 (DP)/0-1 Knapsack (all methods).cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 25 (DP)/Edit Distance.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 25 (DP)/Edit Distance.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 25 (DP)/Longest Common Subsequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 25 (DP)/Longest Common Subsequence.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 25 (DP)/Longest Inc Subsequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 25 (DP)/Longest Inc Subsequence.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 25 (DP)/Matrix Chain Multiplication(Hard).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 25 (DP)/Matrix Chain Multiplication(Hard).cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 25 (DP)/Max Sum Inc Subsequence (MSIS).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 25 (DP)/Max Sum Inc Subsequence (MSIS).cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 25 (DP)/Maximum Product Subarray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 25 (DP)/Maximum Product Subarray.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 26 (DP)/Climbing Stairs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 26 (DP)/Climbing Stairs.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 26 (DP)/Coin Change (2 methods).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 26 (DP)/Coin Change (2 methods).cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 26 (DP)/Egg Dropping(Hard).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 26 (DP)/Egg Dropping(Hard).cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 26 (DP)/Max Profit Job scheduling(Hard).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 26 (DP)/Max Profit Job scheduling(Hard).cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 26 (DP)/Max Sum Path in Matrix(2 methods).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 26 (DP)/Max Sum Path in Matrix(2 methods).cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 26 (DP)/Rod Cutting.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 26 (DP)/Rod Cutting.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 26 (DP)/Subset Sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 26 (DP)/Subset Sum.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 26 (DP)/Word Break.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 26 (DP)/Word Break.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 3 (Arrays&Math)/Majority Element - 2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 3 (Arrays&Math)/Majority Element - 2.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 3 (Arrays&Math)/Majority Element.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 3 (Arrays&Math)/Majority Element.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 3 (Arrays&Math)/Search 2-D Matrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 3 (Arrays&Math)/Search 2-D Matrix.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 3 (Arrays&Math)/Unique Paths.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 3 (Arrays&Math)/Unique Paths.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 3 (Arrays&Math)/pow(X,n).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 3 (Arrays&Math)/pow(X,n).cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 4 (Hashing)/2 Sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 4 (Hashing)/2 Sum.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 4 (Hashing)/4 Sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 4 (Hashing)/4 Sum.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 4 (Hashing)/Largest Subarray with 0 sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 4 (Hashing)/Largest Subarray with 0 sum.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 4 (Hashing)/Longest Consecutive Sequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 4 (Hashing)/Longest Consecutive Sequence.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 5 (Linked List)/Add 2 Linked List Numbers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 5 (Linked List)/Add 2 Linked List Numbers.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 5 (Linked List)/Delete Node In A Linked List.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 5 (Linked List)/Delete Node In A Linked List.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 5 (Linked List)/Merge Two Sorted Lists.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 5 (Linked List)/Merge Two Sorted Lists.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 5 (Linked List)/Middle Of Linked List.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 5 (Linked List)/Middle Of Linked List.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 5 (Linked List)/Remove Nth Node from End of List.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 5 (Linked List)/Remove Nth Node from End of List.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 5 (Linked List)/Reverse Linked List.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 5 (Linked List)/Reverse Linked List.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 6 (Linked List)/Find The Starting Point Of Loop.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 6 (Linked List)/Find The Starting Point Of Loop.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 6 (Linked List)/Intersection of 2 LinkedLists.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 6 (Linked List)/Intersection of 2 LinkedLists.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 6 (Linked List)/Linked List Cycle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 6 (Linked List)/Linked List Cycle.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 6 (Linked List)/Palindrome Linked List.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 6 (Linked List)/Palindrome Linked List.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 6 (Linked List)/Reverse Nodes In K Group.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 6 (Linked List)/Reverse Nodes In K Group.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 7 (2 pointer)/3 Sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 7 (2 pointer)/3 Sum.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 7 (2 pointer)/Clone A Linked List With Random And Next Pointer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 7 (2 pointer)/Clone A Linked List With Random And Next Pointer.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 7 (2 pointer)/Max Consecutive Ones.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 7 (2 pointer)/Max Consecutive Ones.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 7 (2 pointer)/Remove Duplicates from Sorted Array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 7 (2 pointer)/Remove Duplicates from Sorted Array.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 7 (2 pointer)/Trapping Rain Water.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 7 (2 pointer)/Trapping Rain Water.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 8 (Greedy)/Coin Change.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 8 (Greedy)/Coin Change.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 8 (Greedy)/Fractional Knapsack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 8 (Greedy)/Fractional Knapsack.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 8 (Greedy)/Job Sequencing Problem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 8 (Greedy)/Job Sequencing Problem.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 8 (Greedy)/Minimum Platforms.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 8 (Greedy)/Minimum Platforms.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 8 (Greedy)/N meetings in one room.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 8 (Greedy)/N meetings in one room.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 9 (Recursion)/Combination Sum-1.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 9 (Recursion)/Combination Sum-1.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 9 (Recursion)/Combination Sum-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 9 (Recursion)/Combination Sum-2.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 9 (Recursion)/Palindrome Partitioning.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 9 (Recursion)/Palindrome Partitioning.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 9 (Recursion)/Permutation Sequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 9 (Recursion)/Permutation Sequence.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 9 (Recursion)/Subset Sums.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 9 (Recursion)/Subset Sums.cpp -------------------------------------------------------------------------------- /Striver SDE Sheet/Day - 9 (Recursion)/Subset-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leet-Us-Code/Striver-Sheets-Resources/HEAD/Striver SDE Sheet/Day - 9 (Recursion)/Subset-2.cpp --------------------------------------------------------------------------------