Fastrail08

Fastrail08's Pastebin

1,372 27,794 0 3 years ago
Name / Title Added Expires Hits Comments Syntax  
Projects CSES Jun 22nd, 2025 Never 959 0 C++ -
Removing Digits May 26th, 2025 Never 293 0 C++ -
(V.IMPORTANT) 2 types of interval DPs(MCM vs BB) Jul 27th, 2025 Never 2 0 None -
Longest Divisible Subset(length) O(N^2) time and O(N) space COMMENTS NEED UPDATION Jul 27th, 2025 Never 162 0 C++ -
435. Non Overlapping Intervals(IMPORTANT DEDUCTION) Jul 27th, 2025 Never 791 0 C++ -
GFG Job Sequencing Problem. O(N^2) space and time problem | OPTIMISATION POSSIBLE?? Jul 21st, 2025 Never 335 0 C++ -
(Leetcode 300) LIS (V.IMPORTANT) INITIAL ANALYSIS FOR JUMP DP STATE REDUCTION WITH LOOP & BS Jul 20th, 2025 Never 479 0 C++ -
Leetcode 403 Frog Jump(Optimised Approaches + Analysis & Triggers for EXC & INC DP VS JUMP DP) Jul 20th, 2025 Never 421 0 C++ -
House Robber 2 (Leetcode 198) SPACE OPTIMIZED VERSION(VERY IMPORTANT) Jul 19th, 2025 Never 26 0 C++ -
House Robber 2 (Leetcode 198) Space Unoptimised Version Jul 19th, 2025 Never 1,129 0 C++ -
Burst Balloons(V. IMPORTANT) Jul 13th, 2025 Never 204 0 C++ -
Burst Balloons (INITIAL APPROACH) Jul 13th, 2025 Never 118 0 C++ -
Partition Equal Subset Sum Leetcode 416 Jul 8th, 2025 Never 163 0 C++ -
Catalan numbers Jul 7th, 2025 Never 562 0 C++ -
Perfect Squares Leetcode 279 Jul 7th, 2025 Never 504 0 C++ -
K equal partition (BITMASK) (IMPORTANT) Jul 3rd, 2025 Never 143 0 C++ -
Count the ways of friends pairing Jun 30th, 2025 Never 1,008 0 C++ -
Number of ways to partition into k subsets(IMPORANTANT) Jun 30th, 2025 Never 884 0 C++ -
Count of AiBjCk Subsequences(IMPORTANT) Jun 29th, 2025 Never 628 0 C++ -
Best Time to Buy & Sell Stocks with atmost 2 transactions Jun 21st, 2025 Never 1,429 0 C++ -
Best Time to Buy & Sell Stocks with Cooldown Jun 20th, 2025 Never 883 0 C++ -
Best Time to Buy & Sell Stocks with Transaction Fee Jun 18th, 2025 Never 1,050 0 C++ -
Best Time to Buy & Sell Stocks 2 - Infinite Transactions Jun 18th, 2025 Never 1,074 0 C++ -
Best Time to Buy & Sell Stock - 1 Transaction Jun 18th, 2025 Never 849 0 C++ -
Maximum sum Non Adjacent Element Jun 17th, 2025 Never 1,270 0 C++ -
Minimum Falling Path Sum Jun 16th, 2025 Never 96 0 C++ -
Combinations Sum 3 Leetcode Jun 15th, 2025 Never 138 0 C++ -
Count Encodings Jun 12th, 2025 Never 796 0 C++ -
Arrange Buildings Jun 4th, 2025 Never 168 0 C++ -
Path with Maximum Gold (Goldmine) Jun 4th, 2025 Never 132 0 C++ -
Tiling Problem M * N Board with M * 1 tile May 31st, 2025 Never 153 0 C++ -
Tiling With Dominoes 2 * N May 31st, 2025 Never 120 0 C++ -
Painting Fence 448C Codeforces May 29th, 2025 Never 548 0 C++ -
LIS Memo (Intuitive memo(index, msf)) May 28th, 2025 Never 869 0 C++ -
ChatGPT LIS Discussion May 27th, 2025 Never 58 0 C++ -
Minimum Cost of Tickets May 25th, 2025 Never 193 0 C++ -
Minimum Moves to climb stairs May 22nd, 2025 Never 200 0 C++ -
Count Binary Strings May 22nd, 2025 Never 173 0 C++ -
Coin Change Permutations May 20th, 2025 Never 297 0 C++ -
Climbing Stairs Variable Jumps May 19th, 2025 Never 593 0 C++ -
01Knapsack May 19th, 2025 Never 578 0 C++ -
Climbing Stairs May 19th, 2025 Never 526 0 C++ -
Count Encodings Jun 4th, 2025 Never 172 0 C++ -
Knight Tour Problem Jun 3rd, 2025 Never 233 0 C++ -
N Queens Jun 3rd, 2025 Never 202 0 C++ -
Combinations (n C r) Jun 2nd, 2025 Never 781 0 C++ -
Permutations (n P r) Jun 2nd, 2025 Never 701 0 C++ -
Air Cownditioning 2 USACO May 25th, 2025 Never 184 0 C++ -
Maximum number after atmost k swaps May 11th, 2025 Never 204 0 C++ -
Minimum Subset Difference May 11th, 2025 Never 219 0 C++ -
Word Break May 10th, 2025 Never 315 0 C++ -
Word Pattern Matching May 10th, 2025 Never 293 0 C++ -
Equal Sum K partition May 10th, 2025 Never 286 0 C++ -
Palindrome Partitioning May 6th, 2025 Never 273 0 C++ -
Partition in K subsets May 4th, 2025 Never 247 0 C++ -
Friends Pairing May 2nd, 2025 Never 255 0 C++ -
Problems Links May 2nd, 2025 Never 87 0 None -
Cryptarithmetic Puzzle May 2nd, 2025 Never 297 0 C++ -
SolveSudoko May 2nd, 2025 Never 369 0 C++ -
Gold Mine 2 Apr 27th, 2025 Never 396 0 C++ -
Lexicographic Numbers Apr 27th, 2025 Never 319 0 C++ -
Maximum Score of Words Apr 23rd, 2025 Never 369 0 C++ -
Sequential Digits Aug 21st, 2022 Never 346 0 C++ -
Matrix cells in distance order Aug 21st, 2022 Never 101 0 C++ -
First Bad Version Aug 18th, 2022 Never 125 0 Java -
Transition point Aug 18th, 2022 Never 125 0 C++ -
Facing Sun Aug 18th, 2022 Never 119 0 C++ -
Count zero XOR pairs Aug 16th, 2022 Never 114 0 C++ -
Counting Elements in two arrays Aug 16th, 2022 Never 120 0 C++ -
Count zeroes in sorted matrix Aug 16th, 2022 Never 126 0 C++ -
Count the triplets Aug 16th, 2022 Never 127 0 C++ -
Capacity to ship packages within D days Aug 16th, 2022 Never 128 0 C++ -
Split array largest sum Aug 16th, 2022 Never 141 0 C++ -
Allocate minimum number of pages Aug 16th, 2022 Never 148 0 C++ -
Chocolate Distribution Aug 16th, 2022 Never 125 0 C++ -
Bits Trick May 27th, 2025 Never 59 0 None -