Pastebin
API
tools
faq
paste
Login
Sign up
Jain12's Pastebin
2,260
12,654
0
4 years ago
Name / Title
Added
Expires
Hits
Comments
Syntax
Shell Sort
Sep 27th, 2021
Never
1,426
0
Java
-
Dice throw problem by dp
Jun 8th, 2020
Never
221
0
C++
-
Dice throw problem by recursion
Jun 8th, 2020
Never
76
0
C++
-
Maximum product cutting by dp
Jun 8th, 2020
Never
92
0
C++
-
Maximum product by recursion
Jun 8th, 2020
Never
88
0
C++
-
Coin change problem by DP
Jun 7th, 2020
Never
88
0
C++
-
Coin change problem by recursion
Jun 7th, 2020
Never
85
0
C++
-
Cutting a rod by Recursion
Jun 7th, 2020
Never
86
0
C++
-
Cutting a rod by DP
Jun 7th, 2020
Never
80
0
C++
-
partition problem solution 3
Jun 7th, 2020
Never
85
0
C++
-
Partition problem solu. 2
Jun 7th, 2020
Never
77
0
C++
-
partition problem solution 1
Jun 7th, 2020
Never
77
0
C++
-
Shortest Common SuperSequence
Jun 6th, 2020
Never
92
0
C++
-
boolean parenthesization
Jun 6th, 2020
Never
88
0
C++
-
matrix chain multiplication
Jun 6th, 2020
Never
89
0
C++
-
Exception handling doubt 2
Jun 5th, 2020
Never
98
0
Java
-
Exception handling doubt 1
Jun 5th, 2020
Never
99
0
Java
-
kth smallest element in a BST
Jun 5th, 2020
Never
92
0
C++
-
optimal strategy for a game by DP
Jun 1st, 2020
Never
86
0
C++
-
optimal strategy for a game by recursion
Jun 1st, 2020
Never
90
0
C++
-
Maximum subarray
Jun 1st, 2020
Never
84
0
C++
-
0-1 knapsack problem by DP
Jun 1st, 2020
Never
76
0
C++
-
0-1 knapsack problem by recursion
Jun 1st, 2020
Never
97
0
C++
-
Subset some problem by dp
Jun 1st, 2020
Never
85
0
C++
-
Subset sum problem by recursion
Jun 1st, 2020
Never
83
0
C++
-
find longest path in a matrix
May 28th, 2020
Never
97
0
C++
-
Count number of ways to cover a distance by dynamic prog.
May 27th, 2020
Never
82
0
C++
-
Count number of ways to cover a distance
May 27th, 2020
Never
89
0
C++
-
partition set into subsets such that the difference is min.
May 27th, 2020
Never
76
0
C++
-
Edit distance by DP
May 9th, 2020
Never
78
0
C++
-
Edit distance by recursion
May 9th, 2020
Never
87
0
C++
-
longest common subsequence by dp
May 4th, 2020
Never
96
0
C++
-
longest common subsequence by recursion
May 4th, 2020
Never
111
0
C++
-
longest increasing subsequence by dynamic programming
May 1st, 2020
Never
96
0
C++
-
longest increasing subsequence by recursion
May 1st, 2020
Never
103
0
C++
-
minimum cost path by Dynamic programming
Apr 29th, 2020
Never
75
0
None
-
minimum cost path by recursion
Apr 29th, 2020
Never
105
0
C++
-
BFS in graph
Apr 21st, 2020
Never
110
0
C++
-
DFS in graph
Apr 21st, 2020
Never
103
0
C++
-
find least common ancestor in a binary tree(2)
Mar 31st, 2020
Never
88
0
C++
-
find least common ancestor in a binary tree
Mar 31st, 2020
Never
82
0
C++
-
find shortest path between two nodes in BST
Mar 31st, 2020
Never
79
0
C++
-
find least common ancestor in BST
Mar 31st, 2020
Never
72
0
C++
-
convert a sorted doubly linked list into balanced BST
Mar 31st, 2020
Never
83
0
C++
-
convert a sorted singly linked list into balanced BST
Mar 31st, 2020
Never
82
0
C++
-
postorder traversal without recursion in a binary tree
Mar 30th, 2020
Never
81
0
C++
-
inorder traversal without recursion
Mar 30th, 2020
Never
84
0
C++
-
preorder traversal without recursion
Mar 30th, 2020
Never
77
0
C++
-
number of BST possible for n nodes
Mar 30th, 2020
Never
82
0
C++
-
print elements between a given range
Mar 30th, 2020
Never
82
0
C++
-
find floor and ceiling in BST
Mar 30th, 2020
Never
84
0
C++
-
find kth smallest element in BST
Mar 29th, 2020
Never
81
0
C++
-
Convert a sorted array into BST(2)
Mar 29th, 2020
Never
75
0
C++
-
Convert a sorted array into BST
Mar 29th, 2020
Never
77
0
C++
-
convert a BST into circular doubly linked list(2)
Mar 29th, 2020
Never
95
0
C++
-
convert a BST into circular doubly linked list
Mar 28th, 2020
Never
88
0
C++
-
check whether a tree is BST or not(3)
Mar 28th, 2020
Never
80
0
C++
-
check whether a tree is BST or not(2)
Mar 28th, 2020
Never
82
0
C++
-
check whether a tree is BST or not(1)
Mar 28th, 2020
Never
80
0
C++
-
vertical sum in a binary tree(3)
Mar 26th, 2020
Never
86
0
C++
-
print vertical sum in a binary tree
Mar 26th, 2020
Never
78
0
C++
-
vertical sum in a binary tree(1)
Mar 26th, 2020
Never
74
0
C++
-
zig zag traversal in a binary tree
Mar 26th, 2020
Never
86
0
C++
-
print ancestors of a given node in a binary tree (2)
Mar 22nd, 2020
Never
80
0
C++
-
print ancestors of a given node in a binary tree (1)
Mar 22nd, 2020
Never
80
0
C++
-
check whether two trees are mirror of each other or not
Mar 18th, 2020
Never
77
0
C++
-
convert a tree into its mirror
Mar 18th, 2020
Never
77
0
C++
-
check existence of a path having given sum
Mar 18th, 2020
Never
91
0
C++
-
insertion in a binary tree
Mar 18th, 2020
Never
85
0
C++
-
Construct BST from preorder traversal in linear time comp.
Mar 13th, 2020
Never
82
0
C++
-
How to determine if a binary tree is height-balanced (2)
Mar 13th, 2020
Never
85
0
C++
-
How to determine if a binary tree is height-balanced
Mar 13th, 2020
Never
91
0
C++
-
second largest element in BST
Mar 12th, 2020
Never
75
0
C++
-
Check if each internal node of a BST has exactly one child 2
Mar 12th, 2020
Never
83
0
C++
-
delete a node in BST
Mar 12th, 2020
Never
87
0
C++
-
Check if each internal node of a BST has exactly one child
Mar 11th, 2020
Never
82
0
None
-
minimum value in BST
Mar 11th, 2020
Never
83
0
C++
-
Construct BST from preorder traversal
Mar 11th, 2020
Never
87
0
C++
-
insertion and searching in a BST
Mar 9th, 2020
Never
79
0
C++
-
foodie
Mar 8th, 2020
Never
79
0
C++
-
war
Mar 8th, 2020
Never
79
0
C++
-
diameter of a binary tree in linear time complexity
Mar 8th, 2020
Never
83
0
C++
-
Deleting a node in a binary tree
Mar 6th, 2020
Never
78
0
C++
-
Print Paths in a binary tree
Mar 6th, 2020
Never
84
0
C++
-
Diameter of a binary tree
Mar 6th, 2020
Never
80
0
C++
-
Delete binary tree
Mar 6th, 2020
Never
83
0
C++
-
print left view of a binary tree
Feb 29th, 2020
Never
80
0
C++
-
deepest node in binary tree
Feb 29th, 2020
Never
87
0
C++
-
level having maximum sum in a binary tree
Feb 29th, 2020
Never
90
0
C++
-
height of a tree in linear time complexity
Feb 29th, 2020
Never
87
0
None
-
delete a binary tree in linear time complexity
Feb 28th, 2020
Never
85
0
C++
-
reverse level order traversing using stack,queue in a tree
Feb 28th, 2020
Never
86
0
C++
-
level that has maximum sum in a binary tree
Feb 24th, 2020
Never
97
0
C++
-
check whether structures are identical or not
Feb 24th, 2020
Never
98
0
C++
-
check similarity of two structures
Feb 24th, 2020
Never
92
0
C++
-
no. of half nodes with recursion
Feb 24th, 2020
Never
85
0
C++
-
no. of half nodes without using recursion.
Feb 24th, 2020
Never
81
0
C++
-
no. of full nodes in a binary tree with recursion
Feb 24th, 2020
Never
86
0
C++
-
no. of full nodes in a binary tree without recursion
Feb 24th, 2020
Never
90
0
C++
-
no.of leaves in a binary tree with recursion
Feb 24th, 2020
Never
86
0
C++
-
1
2
Oldest
Public Pastes
update-twitter-to-x-icon
PHP | 6 min ago | 1.15 KB
CASHAPP Free Amazon Giftcard
GetText | 19 min ago | 0.29 KB
Untitled
PHP | 23 min ago | 476.44 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 43 min ago | 0.39 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 💰
GetText | 1 hour ago | 0.38 KB
Untitled
Bash | 1 hour ago | 0.06 KB
Untitled
JavaScript | 1 hour ago | 0.79 KB
Untitled
Python | 1 hour ago | 3.80 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!