Pastebin
API
tools
faq
paste
Login
Sign up
Fastrail08's Pastebin
2,066
45,218
0
4 years ago
Name / Title
Added
Expires
Hits
Comments
Syntax
Largest Divisible Subset PRINT VERSION (TOPOLOGICAL SORT)
Sep 12th, 2025
Never
336
0
C++
-
Longest Path in DAG: TOPOLOGICAL SORT - IMPORTANT
Sep 6th, 2025
Never
326
0
C++
-
LC 1462. Course Schedule (ACTUAL PREREQUSITES IN TOPO ARRAY) V.IMPORTANT
Sep 1st, 2025
Never
343
8
C++
-
LC 827 Making a Large Island (DSU)
Aug 31st, 2025
Never
339
0
C++
-
Number of Islands (DSU Approach)
Aug 31st, 2025
Never
307
0
C++
-
Accounts Merge (DSU) (Initial Approach & Hashmap Optimised approach)
Aug 28th, 2025
Never
227
0
C++
-
Bellman Ford Algorithm
Aug 24th, 2025
Never
176
0
C++
-
Minimum Multiplications to reach End
Aug 24th, 2025
Never
203
0
C++
-
Shortest path in directed graphs
Aug 24th, 2025
Never
251
0
C++
-
Alien Dictionary (IMPORTANT)
Aug 18th, 2025
Never
234
0
C++
-
Leetcode 802. Eventual Safe Nodes (IMPORTANT Kahn's Algorithm Insight)
Aug 18th, 2025
Never
261
0
C++
-
DFS
Aug 4th, 2025
Never
726
0
C++
-
BFS
Aug 4th, 2025
Never
675
0
C++
-
Projects CSES
Jun 22nd, 2025
Never
1,131
0
C++
-
Removing Digits
May 26th, 2025
Never
435
0
C++
-
(V. IMPORTANT, CREATE SUBARRAYS WITH RECURSION)Arithmetic Slices 1(subarrays)
Oct 2nd, 2025
Never
179
0
C++
-
LC: 1547 Minimum Cost To Cut Stick
Sep 13th, 2025
Never
235
0
C++
-
Optimal BST (V.V.V IMPORTANT)
Sep 13th, 2025
Never
285
0
C++
-
Digit DP intuitive approach - QUESTION (numbers of length N and value < k)
Aug 17th, 2025
Never
230
0
C++
-
(V.IMPORTANT) 2 types of interval DPs(MCM vs BB)
Jul 27th, 2025
Never
104
0
None
-
Longest Divisible Subset(length) O(N^2) time and O(N) space COMMENTS NEED UPDATION
Jul 27th, 2025
Never
422
0
C++
-
435. Non Overlapping Intervals(IMPORTANT DEDUCTION)
Jul 27th, 2025
Never
1,145
8
C++
-
GFG Job Sequencing Problem. O(N^2) space and time problem | OPTIMISATION POSSIBLE??
Jul 21st, 2025
Never
482
0
C++
-
(Leetcode 300) LIS (V.IMPORTANT) INITIAL ANALYSIS FOR JUMP DP STATE REDUCTION WITH LOOP & BS
Jul 20th, 2025
Never
713
0
C++
-
Leetcode 403 Frog Jump(Optimised Approaches + Analysis & Triggers for EXC & INC DP VS JUMP DP)
Jul 20th, 2025
Never
583
7
C++
-
House Robber 2 (Leetcode 198) SPACE OPTIMIZED VERSION(VERY IMPORTANT)
Jul 19th, 2025
Never
123
0
C++
-
House Robber 2 (Leetcode 198) Space Unoptimised Version
Jul 19th, 2025
Never
1,330
0
C++
-
Burst Balloons(V. IMPORTANT)
Jul 13th, 2025
Never
368
0
C++
-
Burst Balloons (INITIAL APPROACH)
Jul 13th, 2025
Never
252
0
C++
-
Partition Equal Subset Sum Leetcode 416
Jul 8th, 2025
Never
310
0
C++
-
Catalan numbers
Jul 7th, 2025
Never
698
0
C++
-
Perfect Squares Leetcode 279
Jul 7th, 2025
Never
663
0
C++
-
K equal partition (BITMASK) (IMPORTANT)
Jul 3rd, 2025
Never
373
0
C++
-
Count the ways of friends pairing
Jun 30th, 2025
Never
1,227
0
C++
-
Number of ways to partition into k subsets(IMPORANTANT)
Jun 30th, 2025
Never
1,140
0
C++
-
Count of AiBjCk Subsequences(IMPORTANT)
Jun 29th, 2025
Never
782
0
C++
-
Best Time to Buy & Sell Stocks with atmost 2 transactions
Jun 21st, 2025
Never
1,662
10
C++
-
Best Time to Buy & Sell Stocks with Cooldown
Jun 20th, 2025
Never
1,062
0
C++
-
Best Time to Buy & Sell Stocks with Transaction Fee
Jun 18th, 2025
Never
1,250
9
C++
-
Best Time to Buy & Sell Stocks 2 - Infinite Transactions
Jun 18th, 2025
Never
1,281
11
C++
-
Best Time to Buy & Sell Stock - 1 Transaction
Jun 18th, 2025
Never
1,023
0
C++
-
Maximum sum Non Adjacent Element
Jun 17th, 2025
Never
1,464
0
C++
-
Minimum Falling Path Sum
Jun 16th, 2025
Never
190
0
C++
-
Combinations Sum 3 Leetcode
Jun 15th, 2025
Never
246
0
C++
-
Count Encodings
Jun 12th, 2025
Never
992
0
C++
-
Arrange Buildings
Jun 4th, 2025
Never
281
0
C++
-
Path with Maximum Gold (Goldmine)
Jun 4th, 2025
Never
256
0
C++
-
Tiling Problem M * N Board with M * 1 tile
May 31st, 2025
Never
266
0
C++
-
Tiling With Dominoes 2 * N
May 31st, 2025
Never
245
0
C++
-
Painting Fence 448C Codeforces
May 29th, 2025
Never
822
0
C++
-
LIS Memo (Intuitive memo(index, msf))
May 28th, 2025
Never
1,129
0
C++
-
ChatGPT LIS Discussion
May 27th, 2025
Never
180
0
C++
-
Minimum Cost of Tickets
May 25th, 2025
Never
324
0
C++
-
Minimum Moves to climb stairs
May 22nd, 2025
Never
400
9
C++
-
Count Binary Strings
May 22nd, 2025
Never
330
8
C++
-
Coin Change Permutations
May 20th, 2025
Never
480
0
C++
-
Climbing Stairs Variable Jumps
May 19th, 2025
Never
775
0
C++
-
01Knapsack
May 19th, 2025
Never
749
0
C++
-
Climbing Stairs
May 19th, 2025
Never
717
0
C++
-
Count Encodings
Jun 4th, 2025
Never
281
0
C++
-
Knight Tour Problem
Jun 3rd, 2025
Never
343
0
C++
-
N Queens
Jun 3rd, 2025
Never
352
0
C++
-
Combinations (n C r)
Jun 2nd, 2025
Never
907
0
C++
-
Permutations (n P r)
Jun 2nd, 2025
Never
818
0
C++
-
Air Cownditioning 2 USACO
May 25th, 2025
Never
346
0
C++
-
Maximum number after atmost k swaps
May 11th, 2025
Never
363
10
C++
-
Minimum Subset Difference
May 11th, 2025
Never
361
0
C++
-
Word Break
May 10th, 2025
Never
448
0
C++
-
Word Pattern Matching
May 10th, 2025
Never
425
0
C++
-
Equal Sum K partition
May 10th, 2025
Never
418
0
C++
-
Palindrome Partitioning
May 6th, 2025
Never
408
0
C++
-
Partition in K subsets
May 4th, 2025
Never
366
0
C++
-
Friends Pairing
May 2nd, 2025
Never
402
0
C++
-
Problems Links
May 2nd, 2025
Never
201
0
None
-
Cryptarithmetic Puzzle
May 2nd, 2025
Never
427
0
C++
-
SolveSudoko
May 2nd, 2025
Never
511
0
C++
-
Gold Mine 2
Apr 27th, 2025
Never
577
0
C++
-
Lexicographic Numbers
Apr 27th, 2025
Never
447
0
C++
-
Maximum Score of Words
Apr 23rd, 2025
Never
524
0
C++
-
Sequential Digits
Aug 21st, 2022
Never
481
0
C++
-
Matrix cells in distance order
Aug 21st, 2022
Never
210
0
C++
-
First Bad Version
Aug 18th, 2022
Never
262
0
Java
-
Transition point
Aug 18th, 2022
Never
262
0
C++
-
Facing Sun
Aug 18th, 2022
Never
212
0
C++
-
Count zero XOR pairs
Aug 16th, 2022
Never
238
0
C++
-
Counting Elements in two arrays
Aug 16th, 2022
Never
247
0
C++
-
Count zeroes in sorted matrix
Aug 16th, 2022
Never
256
0
C++
-
Count the triplets
Aug 16th, 2022
Never
225
0
C++
-
Capacity to ship packages within D days
Aug 16th, 2022
Never
337
8
C++
-
Split array largest sum
Aug 16th, 2022
Never
258
0
C++
-
Allocate minimum number of pages
Aug 16th, 2022
Never
280
0
C++
-
Chocolate Distribution
Aug 16th, 2022
Never
278
0
C++
-
Bits Trick
May 27th, 2025
Never
165
0
None
-
Public Pastes
Crypto Exchange Profits
12 min ago | 0.29 KB
Free money using older build [1.3]
25 min ago | 0.29 KB
✅ Changelly Exploit
CSS | 38 min ago | 0.29 KB
I earned $19,000 with this method
51 min ago | 0.29 KB
Untitled
22 hours ago | 0.07 KB
Lifecycle Log as of 1927 PST on 2026-11-21 (i...
1 day ago | 13.75 KB
X Brave Filter
2 days ago | 1.19 KB
S.S.S.S.S.S. - Super Special Sonic Server Sec...
2 days ago | 0.18 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!