Pastebin
API
tools
faq
paste
Login
Sign up
Imashutosh51's Pastebin
Darbhanga
1,546
21,976
0
4 years ago
Name / Title
Added
Expires
Hits
Comments
Syntax
Subtraction in Linked List
Jul 31st, 2022
Never
95
0
C++
-
Shortest distance in binary maze
Jul 31st, 2022
Never
91
0
Python
-
Maximum sum of Non-adjacent Nodes
Jul 31st, 2022
Never
82
0
C++
-
LRU cache
Jul 31st, 2022
Never
108
0
Python
-
Circular tour
Jul 31st, 2022
Never
99
0
Python
-
Height of spiral tree
Jul 31st, 2022
Never
103
0
C++
-
Kth Smallest element
Jul 31st, 2022
Never
127
0
Python
-
The celebrity problem
Jul 31st, 2022
Never
107
0
C++
-
Find the number of islands
Jul 31st, 2022
Never
99
1
Python
-
Maximum path sum from any node
Jul 31st, 2022
Never
124
0
Python
-
Sum Tree
Jul 31st, 2022
Never
82
0
Python
-
Search in a Rotated Array
Jul 31st, 2022
Never
78
0
C++
-
Sorting Elements of an Array by Frequency
Jul 31st, 2022
Never
75
0
Python
-
ZigZag Tree Traversa
Jul 31st, 2022
Never
74
0
Python
-
Trapping Rain Water
Jul 31st, 2022
Never
97
0
Python
-
Maximum sub-tree sum in a Binary Tree such that the sub-tree is also a BST
Jul 25th, 2022
Never
143
0
Python
-
Partition Equal Subset Sum
Jul 25th, 2022
Never
63
0
C++
-
Subset Sum Problem
Jul 25th, 2022
Never
75
0
C++
-
Longest Palindromic substring
Jul 25th, 2022
Never
76
0
Python
-
Minimum sum partition
Jul 23rd, 2022
Never
98
0
C++
-
Modify Boolean Matrix
Jul 23rd, 2022
Never
95
0
C++
-
Connect Nodes at same level
Jul 23rd, 2022
Never
91
0
Python
-
Partition to K Equal Sum Subsets
Jul 23rd, 2022
Never
94
0
Python
-
Longest Increasing Subsequence
Jul 23rd, 2022
Never
132
0
C++
-
Longest Common Substring
Jul 23rd, 2022
Never
72
0
C++
-
Rotten oranges
Jul 23rd, 2022
Never
95
0
Python
-
Merge K sorted Lists
Jul 23rd, 2022
Never
76
0
Python
-
Generate all valid parenthesis of length k
Jul 23rd, 2022
Never
115
0
Python
-
Maximum rectangle containing 1 in binary matrix
Jul 23rd, 2022
Never
91
0
Python
-
Maximum ractangular area in a histogram
Jul 23rd, 2022
Never
120
0
Python
-
K closest points to origin
Jul 23rd, 2022
Never
70
0
Python
-
Minimum steps to reach end of array
Jul 23rd, 2022
Never
113
0
Python
-
Minimum cost of ropes to join
Jul 23rd, 2022
Never
54
0
C++
-
Step-by-step directions from a binary tree to another
Jul 23rd, 2022
Never
87
0
Python
-
Reverse stack without using extra space
Jul 22nd, 2022
Never
75
0
C++
-
Pascal's triangle
Jul 22nd, 2022
Never
88
0
Python
-
KMP substring mathcing with string
Jul 21st, 2022
Never
71
0
Java
-
Remove Duplicates from Sorted Array II
Aug 16th, 2026
Never
30
0
Python
-
Langgraph_sample_Code
Jun 2nd, 2026
Never
47
0
Python
-
Unique Binary Search Trees
May 25th, 2026
Never
50
1
Python
-
Kth smallest element in BST
May 25th, 2026
Never
41
0
Python
-
Segment tree implementation
May 23rd, 2026
Never
37
0
Python
-
First missing posititve number
May 23rd, 2026
Never
40
0
Python
-
Traveling Salesman problem
May 20th, 2026
Never
42
0
Python
-
Insert Interval
May 16th, 2026
Never
39
0
Python
-
Shortest Common Supersequence
May 11th, 2026
Never
37
0
Python
-
Palindromic Partitioning
May 10th, 2026
Never
36
0
Python
-
Print all the LCS
May 9th, 2026
Never
39
0
Python
-
Nuts and Bolts
May 6th, 2026
Never
40
0
Python
-
Palindrome Partitioning
May 6th, 2026
Never
34
0
Python
-
Find Median from Data Stream
May 5th, 2026
Never
35
0
Python
-
Linked List Cycle detection
Apr 23rd, 2026
Never
41
2
Python
-
Middle of the Linked List
Apr 23rd, 2026
Never
35
0
Python
-
Palindrome Linked List
Apr 23rd, 2026
Never
46
0
Python
-
Container with most water
Apr 23rd, 2026
Never
46
7
Python
-
weighted Random pick
Apr 16th, 2026
Never
45
2
Python
-
reservoir sampling of k items
Apr 16th, 2026
Never
38
0
Python
-
reservoir sampling
Apr 16th, 2026
Never
37
0
Python
-
Fisher–Yates Shuffle (All Permutations Equally Likely)
Apr 16th, 2026
Never
42
0
Python
-
random numbers generation using unfair coin in any range
Apr 16th, 2026
Never
50
0
Python
-
generate 1to7 using a unfair 0/1 function
Apr 16th, 2026
Never
55
0
Python
-
KMP Algorithm
Apr 3rd, 2026
Never
49
0
Python
-
Freshworks product
Apr 1st, 2026
Never
39
0
None
-
Rotten oranges for test
Mar 30th, 2026
Never
50
0
Python
-
Partition Array Into Two Arrays to Minimize Sum Difference
Mar 26th, 2026
Never
80
8
Python
-
Unbounded Knapsack
Mar 26th, 2026
Never
49
0
Python
-
0/1 Knapsack
Mar 26th, 2026
Never
48
0
Python
-
Closest Subsequence sum
Mar 25th, 2026
Never
83
10
Python
-
Find all subsets sum of an array
Mar 25th, 2026
Never
46
0
Python
-
Find all the subsets of the array
Mar 25th, 2026
Never
41
0
Python
-
Climibing stairs
Mar 25th, 2026
Never
50
0
Python
-
Linked List loop detection
Mar 25th, 2026
Never
50
0
Python
-
Happy Number
Mar 24th, 2026
Never
46
0
Python
-
Minimum Size Subarray Sum
Mar 23rd, 2026
Never
44
0
Python
-
Candy
Mar 23rd, 2026
Never
47
0
Python
-
Find H-Index
Mar 23rd, 2026
Never
39
0
Python
-
Minimum Spanning Trees(Prims Algorithm)
Mar 23rd, 2026
Never
50
0
Python
-
Floyd Warshall - all nodes to all nodes distance
Mar 23rd, 2026
Never
42
0
Python
-
Bellman-Ford- distance bw src to all nodes with negative edges
Mar 23rd, 2026
Never
58
0
Python
-
Shortest distance from source node to all the nodes
Mar 22nd, 2026
Never
66
0
Python
-
Strongly connected components(Kosaraju Algorithm)
Mar 22nd, 2026
Never
80
7
Python
-
Bipartite Graph
Mar 22nd, 2026
Never
57
0
Python
-
Detect Cycle in Directed Graph(Kanh's algorithm)
Mar 22nd, 2026
Never
48
2
Python
-
Topological Sort using BFS(Kahn's algorithm)
Mar 22nd, 2026
Never
77
0
Python
-
Topological sort using DFS
Mar 22nd, 2026
Never
60
0
Python
-
Detect a cycle in directed graph using DFS
Mar 22nd, 2026
Never
51
0
Python
-
Detect the cycle in undirected graph using BFS
Mar 22nd, 2026
Never
53
0
Python
-
Detect cycle in undirected graph
Mar 22nd, 2026
Never
56
2
Python
-
BFS
Mar 20th, 2026
Never
53
0
Python
-
DFS
Mar 20th, 2026
Never
47
0
Python
-
Clone Graph
Mar 20th, 2026
Never
57
8
Python
-
Max Sum Increasing Subsequence
Mar 20th, 2026
Never
53
0
Python
-
Palindrome Partition
Mar 20th, 2026
Never
46
0
Python
-
Egg Dropping problem
Mar 20th, 2026
Never
63
0
Python
-
Scrambled String
Mar 20th, 2026
Never
64
7
Python
-
Boolean Parenthesization
Mar 18th, 2026
Never
54
0
Python
-
Matrix Chain Multiplicaiton
Mar 16th, 2026
Never
63
0
Python
-
Longest Increasing Subsequence
Mar 13th, 2026
Never
61
0
Python
-
edit distance
Mar 13th, 2026
Never
48
0
Python
-
Is Subsequence
Mar 13th, 2026
Never
48
0
Python
-
Most Recent
1
2
3
Oldest
Public Pastes
Power of AI
CSS | 9 min ago | 0.44 KB
+12,000$ in 2 days
CSS | 9 min ago | 0.70 KB
✅ Changelly Exploit
9 min ago | 0.44 KB
Instant Profits Method
CSS | 9 min ago | 0.44 KB
$12.OOO in Claim
CSS | 16 min ago | 0.58 KB
✅ Swap sites exploit
CSS | 16 min ago | 0.58 KB
Bonus Swap Exploit
CSS | 16 min ago | 0.58 KB
AI For $$$$
CSS | 16 min ago | 0.58 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!