Pastebin
API
tools
faq
paste
Login
Sign up
Jain12's Pastebin
4,217
16,900
0
6 years ago
Name / Title
Added
Expires
Hits
Comments
Syntax
Shell Sort
Sep 27th, 2021
Never
1,657
0
Java
-
Dice throw problem by dp
Jun 8th, 2020
Never
248
0
C++
-
Dice throw problem by recursion
Jun 8th, 2020
Never
104
0
C++
-
Maximum product cutting by dp
Jun 8th, 2020
Never
120
0
C++
-
Maximum product by recursion
Jun 8th, 2020
Never
114
0
C++
-
Coin change problem by DP
Jun 7th, 2020
Never
119
0
C++
-
Coin change problem by recursion
Jun 7th, 2020
Never
117
0
C++
-
Cutting a rod by Recursion
Jun 7th, 2020
Never
118
0
C++
-
Cutting a rod by DP
Jun 7th, 2020
Never
107
0
C++
-
partition problem solution 3
Jun 7th, 2020
Never
120
0
C++
-
Partition problem solu. 2
Jun 7th, 2020
Never
105
0
C++
-
partition problem solution 1
Jun 7th, 2020
Never
112
0
C++
-
Shortest Common SuperSequence
Jun 6th, 2020
Never
123
0
C++
-
boolean parenthesization
Jun 6th, 2020
Never
124
0
C++
-
matrix chain multiplication
Jun 6th, 2020
Never
109
0
C++
-
Exception handling doubt 2
Jun 5th, 2020
Never
127
0
Java
-
Exception handling doubt 1
Jun 5th, 2020
Never
141
0
Java
-
kth smallest element in a BST
Jun 5th, 2020
Never
121
0
C++
-
optimal strategy for a game by DP
Jun 1st, 2020
Never
114
0
C++
-
optimal strategy for a game by recursion
Jun 1st, 2020
Never
115
0
C++
-
Maximum subarray
Jun 1st, 2020
Never
112
0
C++
-
0-1 knapsack problem by DP
Jun 1st, 2020
Never
96
0
C++
-
0-1 knapsack problem by recursion
Jun 1st, 2020
Never
131
0
C++
-
Subset some problem by dp
Jun 1st, 2020
Never
117
0
C++
-
Subset sum problem by recursion
Jun 1st, 2020
Never
115
0
C++
-
find longest path in a matrix
May 28th, 2020
Never
124
0
C++
-
Count number of ways to cover a distance by dynamic prog.
May 27th, 2020
Never
112
0
C++
-
Count number of ways to cover a distance
May 27th, 2020
Never
118
0
C++
-
partition set into subsets such that the difference is min.
May 27th, 2020
Never
112
0
C++
-
Edit distance by DP
May 9th, 2020
Never
111
0
C++
-
Edit distance by recursion
May 9th, 2020
Never
127
0
C++
-
longest common subsequence by dp
May 4th, 2020
Never
130
0
C++
-
longest common subsequence by recursion
May 4th, 2020
Never
140
0
C++
-
longest increasing subsequence by dynamic programming
May 1st, 2020
Never
118
0
C++
-
longest increasing subsequence by recursion
May 1st, 2020
Never
123
0
C++
-
minimum cost path by Dynamic programming
Apr 29th, 2020
Never
106
0
None
-
minimum cost path by recursion
Apr 29th, 2020
Never
132
0
C++
-
BFS in graph
Apr 21st, 2020
Never
134
0
C++
-
DFS in graph
Apr 21st, 2020
Never
137
0
C++
-
find least common ancestor in a binary tree(2)
Mar 31st, 2020
Never
114
0
C++
-
find least common ancestor in a binary tree
Mar 31st, 2020
Never
109
0
C++
-
find shortest path between two nodes in BST
Mar 31st, 2020
Never
117
0
C++
-
find least common ancestor in BST
Mar 31st, 2020
Never
101
0
C++
-
convert a sorted doubly linked list into balanced BST
Mar 31st, 2020
Never
120
0
C++
-
convert a sorted singly linked list into balanced BST
Mar 31st, 2020
Never
111
0
C++
-
postorder traversal without recursion in a binary tree
Mar 30th, 2020
Never
119
0
C++
-
inorder traversal without recursion
Mar 30th, 2020
Never
111
0
C++
-
preorder traversal without recursion
Mar 30th, 2020
Never
99
0
C++
-
number of BST possible for n nodes
Mar 30th, 2020
Never
112
0
C++
-
print elements between a given range
Mar 30th, 2020
Never
116
0
C++
-
find floor and ceiling in BST
Mar 30th, 2020
Never
109
0
C++
-
find kth smallest element in BST
Mar 29th, 2020
Never
105
0
C++
-
Convert a sorted array into BST(2)
Mar 29th, 2020
Never
95
0
C++
-
Convert a sorted array into BST
Mar 29th, 2020
Never
101
0
C++
-
convert a BST into circular doubly linked list(2)
Mar 29th, 2020
Never
121
0
C++
-
convert a BST into circular doubly linked list
Mar 28th, 2020
Never
126
0
C++
-
check whether a tree is BST or not(3)
Mar 28th, 2020
Never
111
0
C++
-
check whether a tree is BST or not(2)
Mar 28th, 2020
Never
110
0
C++
-
check whether a tree is BST or not(1)
Mar 28th, 2020
Never
106
0
C++
-
vertical sum in a binary tree(3)
Mar 26th, 2020
Never
112
0
C++
-
print vertical sum in a binary tree
Mar 26th, 2020
Never
98
0
C++
-
vertical sum in a binary tree(1)
Mar 26th, 2020
Never
98
0
C++
-
zig zag traversal in a binary tree
Mar 26th, 2020
Never
114
0
C++
-
print ancestors of a given node in a binary tree (2)
Mar 22nd, 2020
Never
107
0
C++
-
print ancestors of a given node in a binary tree (1)
Mar 22nd, 2020
Never
104
0
C++
-
check whether two trees are mirror of each other or not
Mar 18th, 2020
Never
104
0
C++
-
convert a tree into its mirror
Mar 18th, 2020
Never
101
0
C++
-
check existence of a path having given sum
Mar 18th, 2020
Never
119
0
C++
-
insertion in a binary tree
Mar 18th, 2020
Never
110
0
C++
-
Construct BST from preorder traversal in linear time comp.
Mar 13th, 2020
Never
108
0
C++
-
How to determine if a binary tree is height-balanced (2)
Mar 13th, 2020
Never
116
0
C++
-
How to determine if a binary tree is height-balanced
Mar 13th, 2020
Never
119
0
C++
-
second largest element in BST
Mar 12th, 2020
Never
102
0
C++
-
Check if each internal node of a BST has exactly one child 2
Mar 12th, 2020
Never
111
0
C++
-
delete a node in BST
Mar 12th, 2020
Never
114
0
C++
-
Check if each internal node of a BST has exactly one child
Mar 11th, 2020
Never
110
0
None
-
minimum value in BST
Mar 11th, 2020
Never
117
0
C++
-
Construct BST from preorder traversal
Mar 11th, 2020
Never
113
0
C++
-
insertion and searching in a BST
Mar 9th, 2020
Never
99
0
C++
-
foodie
Mar 8th, 2020
Never
103
0
C++
-
war
Mar 8th, 2020
Never
101
0
C++
-
diameter of a binary tree in linear time complexity
Mar 8th, 2020
Never
109
0
C++
-
Deleting a node in a binary tree
Mar 6th, 2020
Never
103
0
C++
-
Print Paths in a binary tree
Mar 6th, 2020
Never
111
0
C++
-
Diameter of a binary tree
Mar 6th, 2020
Never
106
0
C++
-
Delete binary tree
Mar 6th, 2020
Never
110
0
C++
-
print left view of a binary tree
Feb 29th, 2020
Never
109
0
C++
-
deepest node in binary tree
Feb 29th, 2020
Never
118
0
C++
-
level having maximum sum in a binary tree
Feb 29th, 2020
Never
121
0
C++
-
height of a tree in linear time complexity
Feb 29th, 2020
Never
107
0
None
-
delete a binary tree in linear time complexity
Feb 28th, 2020
Never
115
0
C++
-
reverse level order traversing using stack,queue in a tree
Feb 28th, 2020
Never
113
0
C++
-
level that has maximum sum in a binary tree
Feb 24th, 2020
Never
124
0
C++
-
check whether structures are identical or not
Feb 24th, 2020
Never
126
0
C++
-
check similarity of two structures
Feb 24th, 2020
Never
126
0
C++
-
no. of half nodes with recursion
Feb 24th, 2020
Never
109
0
C++
-
no. of half nodes without using recursion.
Feb 24th, 2020
Never
105
0
C++
-
no. of full nodes in a binary tree with recursion
Feb 24th, 2020
Never
119
0
C++
-
no. of full nodes in a binary tree without recursion
Feb 24th, 2020
Never
121
0
C++
-
no.of leaves in a binary tree with recursion
Feb 24th, 2020
Never
109
0
C++
-
1
2
Oldest
Public Pastes
✅ API Flaw Money Method
CSS | 23 min ago | 1.04 KB
⭐ Exploit Documentation ⭐
CSS | 23 min ago | 1.04 KB
This month smells like money
CSS | 23 min ago | 1.04 KB
DataGrip.desktop
5 hours ago | 0.46 KB
MC:MT Bridge Skill USB
Bash | 6 hours ago | 15.14 KB
Halo Contact Harvest 25
19 hours ago | 1.66 KB
Halo Contact Harvest 24
19 hours ago | 0.36 KB
Halo Contact Harvest 23
19 hours ago | 1.89 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!