Pastebin
API
tools
faq
paste
Login
Sign up
Fastrail08's Pastebin
1,606
37,602
0
3 years ago
Name / Title
Added
Expires
Hits
Comments
Syntax
Largest Divisible Subset PRINT VERSION (TOPOLOGICAL SORT)
Sep 12th, 2025
Never
209
0
C++
-
Longest Path in DAG: TOPOLOGICAL SORT - IMPORTANT
Sep 6th, 2025
Never
216
0
C++
-
LC 1462. Course Schedule (ACTUAL PREREQUSITES IN TOPO ARRAY) V.IMPORTANT
Sep 1st, 2025
Never
243
0
C++
-
LC 827 Making a Large Island (DSU)
Aug 31st, 2025
Never
264
0
C++
-
Number of Islands (DSU Approach)
Aug 31st, 2025
Never
236
0
C++
-
Accounts Merge (DSU) (Initial Approach & Hashmap Optimised approach)
Aug 28th, 2025
Never
152
0
C++
-
Bellman Ford Algorithm
Aug 24th, 2025
Never
107
0
C++
-
Minimum Multiplications to reach End
Aug 24th, 2025
Never
142
0
C++
-
Shortest path in directed graphs
Aug 24th, 2025
Never
174
0
C++
-
Alien Dictionary (IMPORTANT)
Aug 18th, 2025
Never
144
0
C++
-
Leetcode 802. Eventual Safe Nodes (IMPORTANT Kahn's Algorithm Insight)
Aug 18th, 2025
Never
184
0
C++
-
DFS
Aug 4th, 2025
Never
662
0
C++
-
BFS
Aug 4th, 2025
Never
608
0
C++
-
Projects CSES
Jun 22nd, 2025
Never
1,013
0
C++
-
Removing Digits
May 26th, 2025
Never
340
0
C++
-
(V. IMPORTANT, CREATE SUBARRAYS WITH RECURSION)Arithmetic Slices 1(subarrays)
Oct 2nd, 2025
Never
109
0
C++
-
LC: 1547 Minimum Cost To Cut Stick
Sep 13th, 2025
Never
173
0
C++
-
Optimal BST (V.V.V IMPORTANT)
Sep 13th, 2025
Never
198
0
C++
-
Digit DP intuitive approach - QUESTION (numbers of length N and value < k)
Aug 17th, 2025
Never
159
0
C++
-
(V.IMPORTANT) 2 types of interval DPs(MCM vs BB)
Jul 27th, 2025
Never
33
0
None
-
Longest Divisible Subset(length) O(N^2) time and O(N) space COMMENTS NEED UPDATION
Jul 27th, 2025
Never
326
0
C++
-
435. Non Overlapping Intervals(IMPORTANT DEDUCTION)
Jul 27th, 2025
Never
934
0
C++
-
GFG Job Sequencing Problem. O(N^2) space and time problem | OPTIMISATION POSSIBLE??
Jul 21st, 2025
Never
435
0
C++
-
(Leetcode 300) LIS (V.IMPORTANT) INITIAL ANALYSIS FOR JUMP DP STATE REDUCTION WITH LOOP & BS
Jul 20th, 2025
Never
591
0
C++
-
Leetcode 403 Frog Jump(Optimised Approaches + Analysis & Triggers for EXC & INC DP VS JUMP DP)
Jul 20th, 2025
Never
485
0
C++
-
House Robber 2 (Leetcode 198) SPACE OPTIMIZED VERSION(VERY IMPORTANT)
Jul 19th, 2025
Never
67
0
C++
-
House Robber 2 (Leetcode 198) Space Unoptimised Version
Jul 19th, 2025
Never
1,244
0
C++
-
Burst Balloons(V. IMPORTANT)
Jul 13th, 2025
Never
287
0
C++
-
Burst Balloons (INITIAL APPROACH)
Jul 13th, 2025
Never
167
0
C++
-
Partition Equal Subset Sum Leetcode 416
Jul 8th, 2025
Never
204
0
C++
-
Catalan numbers
Jul 7th, 2025
Never
622
0
C++
-
Perfect Squares Leetcode 279
Jul 7th, 2025
Never
538
0
C++
-
K equal partition (BITMASK) (IMPORTANT)
Jul 3rd, 2025
Never
204
0
C++
-
Count the ways of friends pairing
Jun 30th, 2025
Never
1,106
0
C++
-
Number of ways to partition into k subsets(IMPORANTANT)
Jun 30th, 2025
Never
966
0
C++
-
Count of AiBjCk Subsequences(IMPORTANT)
Jun 29th, 2025
Never
685
0
C++
-
Best Time to Buy & Sell Stocks with atmost 2 transactions
Jun 21st, 2025
Never
1,484
0
C++
-
Best Time to Buy & Sell Stocks with Cooldown
Jun 20th, 2025
Never
947
0
C++
-
Best Time to Buy & Sell Stocks with Transaction Fee
Jun 18th, 2025
Never
1,101
0
C++
-
Best Time to Buy & Sell Stocks 2 - Infinite Transactions
Jun 18th, 2025
Never
1,122
0
C++
-
Best Time to Buy & Sell Stock - 1 Transaction
Jun 18th, 2025
Never
903
0
C++
-
Maximum sum Non Adjacent Element
Jun 17th, 2025
Never
1,352
0
C++
-
Minimum Falling Path Sum
Jun 16th, 2025
Never
125
0
C++
-
Combinations Sum 3 Leetcode
Jun 15th, 2025
Never
173
0
C++
-
Count Encodings
Jun 12th, 2025
Never
862
0
C++
-
Arrange Buildings
Jun 4th, 2025
Never
213
0
C++
-
Path with Maximum Gold (Goldmine)
Jun 4th, 2025
Never
163
0
C++
-
Tiling Problem M * N Board with M * 1 tile
May 31st, 2025
Never
197
0
C++
-
Tiling With Dominoes 2 * N
May 31st, 2025
Never
153
0
C++
-
Painting Fence 448C Codeforces
May 29th, 2025
Never
634
0
C++
-
LIS Memo (Intuitive memo(index, msf))
May 28th, 2025
Never
1,000
0
C++
-
ChatGPT LIS Discussion
May 27th, 2025
Never
108
0
C++
-
Minimum Cost of Tickets
May 25th, 2025
Never
245
0
C++
-
Minimum Moves to climb stairs
May 22nd, 2025
Never
271
0
C++
-
Count Binary Strings
May 22nd, 2025
Never
232
0
C++
-
Coin Change Permutations
May 20th, 2025
Never
376
0
C++
-
Climbing Stairs Variable Jumps
May 19th, 2025
Never
685
0
C++
-
01Knapsack
May 19th, 2025
Never
663
0
C++
-
Climbing Stairs
May 19th, 2025
Never
617
0
C++
-
Count Encodings
Jun 4th, 2025
Never
202
0
C++
-
Knight Tour Problem
Jun 3rd, 2025
Never
268
0
C++
-
N Queens
Jun 3rd, 2025
Never
265
0
C++
-
Combinations (n C r)
Jun 2nd, 2025
Never
832
0
C++
-
Permutations (n P r)
Jun 2nd, 2025
Never
745
0
C++
-
Air Cownditioning 2 USACO
May 25th, 2025
Never
233
0
C++
-
Maximum number after atmost k swaps
May 11th, 2025
Never
243
0
C++
-
Minimum Subset Difference
May 11th, 2025
Never
267
0
C++
-
Word Break
May 10th, 2025
Never
367
0
C++
-
Word Pattern Matching
May 10th, 2025
Never
332
0
C++
-
Equal Sum K partition
May 10th, 2025
Never
350
0
C++
-
Palindrome Partitioning
May 6th, 2025
Never
333
0
C++
-
Partition in K subsets
May 4th, 2025
Never
295
0
C++
-
Friends Pairing
May 2nd, 2025
Never
321
0
C++
-
Problems Links
May 2nd, 2025
Never
120
0
None
-
Cryptarithmetic Puzzle
May 2nd, 2025
Never
337
0
C++
-
SolveSudoko
May 2nd, 2025
Never
416
0
C++
-
Gold Mine 2
Apr 27th, 2025
Never
466
0
C++
-
Lexicographic Numbers
Apr 27th, 2025
Never
363
0
C++
-
Maximum Score of Words
Apr 23rd, 2025
Never
423
0
C++
-
Sequential Digits
Aug 21st, 2022
Never
401
0
C++
-
Matrix cells in distance order
Aug 21st, 2022
Never
136
0
C++
-
First Bad Version
Aug 18th, 2022
Never
168
0
Java
-
Transition point
Aug 18th, 2022
Never
184
0
C++
-
Facing Sun
Aug 18th, 2022
Never
155
0
C++
-
Count zero XOR pairs
Aug 16th, 2022
Never
161
0
C++
-
Counting Elements in two arrays
Aug 16th, 2022
Never
167
0
C++
-
Count zeroes in sorted matrix
Aug 16th, 2022
Never
178
0
C++
-
Count the triplets
Aug 16th, 2022
Never
164
0
C++
-
Capacity to ship packages within D days
Aug 16th, 2022
Never
174
0
C++
-
Split array largest sum
Aug 16th, 2022
Never
190
0
C++
-
Allocate minimum number of pages
Aug 16th, 2022
Never
208
0
C++
-
Chocolate Distribution
Aug 16th, 2022
Never
191
0
C++
-
Bits Trick
May 27th, 2025
Never
96
0
None
-
Public Pastes
Untitled
30 min ago | 24.37 KB
Untitled
2 hours ago | 12.24 KB
properskarecords htaccess
2 hours ago | 2.73 KB
Untitled
4 hours ago | 14.81 KB
Untitled
6 hours ago | 9.41 KB
Untitled
8 hours ago | 13.08 KB
✅ Best Of The Internet (2025)
9 hours ago | 12.67 KB
Untitled
10 hours ago | 7.72 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!