Pastebin
API
tools
faq
paste
Login
Sign up
Iam_Sandeep's Pastebin
8,889
195,941
0
5 years ago
Name / Title
Added
Expires
Hits
Comments
Syntax
Median in a row-wise sorted Matrix
Jun 14th, 2022
Never
1,379
0
Python
-
Divide Two Integers with out using multiplication
Jun 14th, 2022
Never
1,001
0
Python
-
Given an integer array nums, in which exactly two elements appear only once and all the other elemen
Jun 13th, 2022
Never
186
0
Python
-
Range bitwise and
Jun 13th, 2022
Never
641
0
Python
-
Reverse bits of a given 32 bits unsigned integer. reverse bits
Jun 13th, 2022
Never
228
0
Python
-
Find the largest power of 2 (most significant bit in binary form), which is less than or equal to th
Jun 13th, 2022
Never
526
0
Python
-
Count set bits count no of 1 bits bit mapping
Jun 13th, 2022
Never
522
0
Python
-
Kth Largest element in array
Jun 13th, 2022
Never
529
0
Python
-
M coloring graph backtracking
May 14th, 2022
Never
995
0
Python
-
Permutation of a string backtracking
May 13th, 2022
Never
777
0
Python
-
Untitled
May 11th, 2022
Never
951
0
Python
-
Word Break Problem
May 7th, 2022
Never
754
0
Python
-
Longest Alternatin Subsequence DP MEMO STATE ITERATIVE
May 7th, 2022
Never
965
0
Python
-
Coin change, Reach a given score DP
May 6th, 2022
Never
795
0
Python
-
Pairs with specific difference
May 5th, 2022
Never
176
0
Python
-
Minimum number of jumps DP VVIMP HARD
May 5th, 2022
Never
653
0
Python
-
Count all subsequences whose product is less than K
May 2nd, 2022
Never
1,174
0
Python
-
Maximum sum increasing subsequence
May 2nd, 2022
Never
146
0
Python
-
Longest Increasing Subsequence O(nlog n) O(n**2)
May 2nd, 2022
Never
191
0
Python
-
Optimal Strategy For a Game DP
Apr 28th, 2022
Never
1,087
0
Python
-
Palindrome Partitioning DP
Apr 28th, 2022
Never
1,901
0
Python
-
Optimal Binary Search Tree DP cost
Apr 27th, 2022
Never
1,383
0
Python
-
largest rectangle sum in matrix largest submatrux with given sum
Apr 26th, 2022
Never
944
0
Python
-
Largest Submatrix with Equal Number of 0's and 1's
Apr 25th, 2022
Never
1,033
0
Python
-
No of Ways of Boolean Paranthesis DP
Apr 23rd, 2022
Never
1,360
0
Python
-
Paint Fences
Apr 22nd, 2022
Never
1,217
0
Python
-
Check whether given preorder is BST or not
Apr 21st, 2022
Never
892
0
Python
-
1008. Construct Binary Search Tree from Preorder Traversal
Apr 20th, 2022
Never
1,022
0
Python
-
Inorder successor predecessor in BST
Apr 20th, 2022
Never
720
0
Python
-
Convert Sorted array to BST
Apr 18th, 2022
Never
972
0
Python
-
Count pairs from two BSTs whose sum is equal to a given value x
Apr 17th, 2022
Never
938
0
Python
-
Morris inorder preorder O(n) O(1) space traversals threaded binary tree
Apr 16th, 2022
Never
768
0
Python
-
Delete a node in BST
Apr 12th, 2022
Never
611
0
Python
-
Quick sort on linked list
Apr 10th, 2022
Never
440
0
Python
-
Reverse a doubly linked list
Apr 4th, 2022
Never
202
0
Python
-
QuickSort
Apr 3rd, 2022
Never
1,655
0
Python
-
Merge Sort for linked list
Apr 2nd, 2022
Never
1,164
0
Python
-
Remove loop in linked list
Apr 2nd, 2022
Never
1,286
0
Python
-
Detect lloop in linked list
Apr 2nd, 2022
Never
129
0
Python
-
Reverse a Linked List in groups of given size.
Mar 24th, 2022
Never
925
0
Python
-
Boundary traversal of Binary tree
Mar 23rd, 2022
Never
1,414
0
Python
-
Kth ancestor of a node in binary tree
Mar 23rd, 2022
Never
107
0
Python
-
Min distance between two given nodes of a Binary Tree
Mar 23rd, 2022
Never
1,158
0
Python
-
Least common ancestor LCA
Mar 22nd, 2022
Never
154
0
Python
-
K Sum Paths
Mar 14th, 2022
Never
633
0
Python
-
Check whether given graph is valid tree bfs and dfs
Mar 14th, 2022
Never
300
0
Python
-
Construct Tree from Inorder & Preorder
Mar 12th, 2022
Never
950
0
Python
-
Minimum Swaps To Convert Binary Tree Into BST
Mar 12th, 2022
Never
1,341
0
Python
-
Binary tree from string
Mar 12th, 2022
Never
1,494
0
Python
-
Diagonal traversal of binary tree
Mar 9th, 2022
Never
1,009
0
Python
-
four sum 4sum
Mar 8th, 2022
Never
1,016
0
Python
-
Bottom view of binary tree
Mar 8th, 2022
Never
958
0
Python
-
Top view of binary tree
Mar 8th, 2022
Never
829
0
Python
-
Sum of minimum and maximum elements of all subarrays of size k.
Feb 23rd, 2022
Never
665
0
Python
-
implement n stacks in single array optimal solution
Feb 19th, 2022
Never
1,039
0
Python
-
check redundant braces in valid math expression
Feb 15th, 2022
Never
762
0
Python
-
ALllocate minimum number of pages
Feb 11th, 2022
Never
716
0
Python
-
kth smallest of two sorted arrays
Feb 10th, 2022
Never
156
0
Python
-
Minimum number of swaps to sort array using graph
Jan 31st, 2022
Never
845
0
Python
-
Longest Palindrome in String
Dec 15th, 2021
Never
880
0
Python
-
Untitled
Dec 12th, 2021
Never
152
0
Python
-
KMP pattern search algorithm
Dec 9th, 2021
Never
752
0
Python
-
Factorial of Large number using array
Nov 26th, 2021
Never
156
0
Python
-
no of pairs x^y greater than y^x
Nov 13th, 2021
Never
1,212
0
Python
-
subarray with given sum
Nov 9th, 2021
Never
932
0
Python
-
iterative pre order in order post order
Oct 28th, 2021
Never
856
0
Python
-
subset sum dynamic programming
Sep 23rd, 2021
Never
1,138
0
Python
-
Boyer-Moore voting algorithm more than one third size of element
Sep 16th, 2021
Never
790
0
Python
-
Moores voting algorithm . number which is repeating more than half the size of array
Sep 16th, 2021
Never
163
0
Python
-
count no of inversions
Sep 16th, 2021
Never
919
0
Python
-
Merge sort
Sep 16th, 2021
Never
1,021
0
Python
-
MULTIPLY STRINGS
Sep 16th, 2021
Never
901
0
Python
-
MAXIMUM PRODUCT SUBARRAY
Sep 16th, 2021
Never
864
0
Python
-
reverse a linked list
Sep 7th, 2021
Never
1,174
0
Python
-
counting sort for strings of letters
Sep 2nd, 2021
Never
311
0
Python
-
segment trees implementation
Sep 1st, 2021
Never
1,148
0
Python
-
kruskolls algorithm mst
Jul 25th, 2021
Never
1,267
0
Python
-
find no of strongly connected components using kosaraju algorithm
Jul 13th, 2021
Never
1,272
0
Python
-
check cycle directed graph : graph coloring method
Jun 6th, 2021
Never
432
0
Python
-
bipartite graph
Jun 5th, 2021
Never
268
0
Python
-
topological sort using kahns algorithm bfs + dfs
Jun 1st, 2021
Never
904
0
Python
-
check cycle directed graph : graph coloring method
Jun 6th, 2021
Never
1,235
0
C++
-
bipartite graph
Jun 5th, 2021
Never
807
0
C++
-
topological sort using kahns algorithm
Jun 1st, 2021
Never
877
0
C++
-
Untitled
Apr 22nd, 2024
Never
748
0
Python
-
Untitled
Apr 6th, 2024
Never
681
0
Python
-
cf1
Jul 6th, 2023
Never
699
0
Python
-
Untitled
May 9th, 2023
Never
819
0
Java
-
Untitled
May 9th, 2023
Never
890
0
Java
-
Untitled
May 9th, 2023
Never
761
0
Java
-
Untitled
May 9th, 2023
Never
626
0
Java
-
Untitled
May 9th, 2023
Never
599
0
Java
-
Untitled
May 9th, 2023
Never
611
0
Java
-
Untitled
May 8th, 2023
Never
621
0
Java
-
Untitled
Sep 19th, 2022
Never
801
0
Python
-
Untitled
Sep 14th, 2022
Never
843
0
Python
-
Untitled
Sep 14th, 2022
Never
701
0
Python
-
Untitled
Sep 14th, 2022
Never
719
0
Python
-
Untitled
Sep 14th, 2022
Never
686
0
Python
-
Untitled
Sep 14th, 2022
Never
689
0
Python
-
Most Recent
1
2
3
Oldest
Public Pastes
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 5 min ago | 0.39 KB
sharelatex_overleaf_docker_compose
YAML | 8 min ago | 6.20 KB
repeat the function
Python | 15 min ago | 0.94 KB
AttributeError: 'NoneType' object h...
Python | 19 min ago | 0.55 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🎁
GetText | 27 min ago | 0.38 KB
verifica fisiere PDF corupte (care nu se pot...
Python | 53 min ago | 1.32 KB
ESP32 Influxdb
C++ | 3 hours ago | 3.13 KB
Untitled
C++ | 3 hours ago | 6.45 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!