imashutosh51

Imashutosh51's Pastebin

Darbhanga    686 6,746 0 2 years ago
Name / Title Added Expires Hits Comments Syntax  
Painter's partition problem Mar 13th, 2025 Never 138 0 Python -
Minimum Operations to Make a Uni-Value Grid Jun 19th, 2023 Never 183 0 C++ -
Minimum Operations to Reduce X to Zero Jun 19th, 2023 Never 58 0 C++ -
Removing Minimum Number of Magic Beans Jun 14th, 2023 Never 30 0 C++ -
Jump Game May 2nd, 2023 Never 58 0 C++ -
Lexicographically Smallest String After Applying Operations Jan 15th, 2023 Never 71 0 C++ -
Erect the Fence(Monotone chain convex hull) Nov 19th, 2022 Never 75 0 C++ -
Check if the end of the Array can be reached from a given position Nov 10th, 2022 Never 61 0 C++ -
Select a random element from the stream of elements Nov 8th, 2022 Never 57 0 C++ -
Estimating the value of Pi using Monte Carlo Nov 7th, 2022 Never 48 0 C++ -
Maximum sum such that no two elements are adjacent Nov 3rd, 2022 Never 51 0 C++ -
Median of two sorted arrays Oct 31st, 2022 Never 52 0 C++ -
Longest Substring with At Least K Repeating Characters Oct 30th, 2022 Never 77 0 C++ -
Regular Expression Matching Oct 30th, 2022 Never 51 0 C++ -
Maximum points on a line Oct 29th, 2022 Never 46 0 C++ -
Longest Increasing Path in a matrix Oct 29th, 2022 Never 52 0 C++ -
Count of smaller number after self Oct 29th, 2022 Never 41 0 C++ -
Minimum Window substring Oct 29th, 2022 Never 43 0 C++ -
Sliding Window Maximum Oct 29th, 2022 Never 55 0 C++ -
Serialize and Deserialize Binary Tree Oct 25th, 2022 Never 109 0 C++ -
The skyline Problem Oct 25th, 2022 Never 46 0 Python -
Binary Exponentiation or Pow(x,y) Oct 18th, 2022 Never 54 0 C++ -
basic calculator II Oct 18th, 2022 Never 52 0 C++ -
Top K Frequent elements Oct 18th, 2022 Never 32 0 C++ -
Top K frequent elements Oct 18th, 2022 Never 37 0 C++ -
Find the Duplicate Number Oct 18th, 2022 Never 67 0 C++ -
Game of Life Oct 16th, 2022 Never 66 0 C++ -
Kth smallest element in a sorted matrix Oct 16th, 2022 Never 55 0 C++ -
4 sum II Oct 16th, 2022 Never 47 0 C++ -
Search a 2D matrix II Oct 16th, 2022 Never 43 0 C++ -
Perfect squares Oct 16th, 2022 Never 52 0 C++ -
Evaluate reverse polish notation Oct 16th, 2022 Never 49 0 C++ -
Merge Sort for Linked List Oct 16th, 2022 Never 53 0 C++ -
Letter Combination of a phone number Oct 16th, 2022 Never 52 0 C++ -
Odd Even Linked List Oct 16th, 2022 Never 42 0 C++ -
Surrounded regions Oct 16th, 2022 Never 60 0 C++ -
Product of Array Except self Oct 16th, 2022 Never 62 0 C++ -
Sum of Two Integers Oct 16th, 2022 Never 51 0 C++ -
Find peak element Oct 16th, 2022 Never 57 0 C++ -
Set Matrix Zeroes Oct 16th, 2022 Never 50 0 C++ -
Merge Intervals Oct 16th, 2022 Never 47 0 C++ -
Kth largest Element Oct 8th, 2022 Never 34 0 C++ -
Wiggle sort II Oct 8th, 2022 Never 57 0 C++ -
Largest Number Oct 8th, 2022 Never 47 0 C++ -
Maximum product subarray Oct 8th, 2022 Never 40 0 C++ -
Steps to make Array non-decreasing Oct 8th, 2022 Never 45 0 C++ -
Word break Oct 8th, 2022 Never 51 0 C++ -
Coin change with minimum coins Oct 8th, 2022 Never 50 0 C++ -
Minimum Sum of Squared Difference Oct 8th, 2022 Never 58 0 C++ -
Non-decreasing Array Oct 6th, 2022 Never 50 0 C++ -
K-Concatenation Maximum Sum Oct 6th, 2022 Never 46 0 C++ -
Total Decoding Messages Oct 6th, 2022 Never 45 0 C++ -
Max Circular Subarray Sum Oct 6th, 2022 Never 62 0 C++ -
Rotate Array Oct 6th, 2022 Never 40 0 C++ -
Find first and Last position of Element in sorted array Oct 6th, 2022 Never 42 0 C++ -
Factorial Trailing Zeroes Oct 6th, 2022 Never 42 0 C++ -
Increasig Triplet Subsequence Oct 6th, 2022 Never 56 0 C++ -
Spiral Matrix Oct 6th, 2022 Never 46 0 C++ -
3Sum Oct 6th, 2022 Never 55 0 C++ -
Find Palindrome With Fixed Length Aug 29th, 2022 Never 83 0 Java -
Paint House II Nov 8th, 2022 Never 45 0 C++ -
Minimum Number of Operations to Move All Balls to Each Box Aug 30th, 2022 Never 54 0 Java -
Wildcard Pattern Matching Aug 14th, 2022 Never 93 0 C++ -
Split the string into prime segments Aug 14th, 2022 Never 41 0 C++ -
Minimum Steps by Knight to reach target Aug 11th, 2022 Never 77 0 C++ -
Duplicate Zeros Aug 11th, 2022 Never 44 0 C++ -
Longest zig-zag path in a binary tree Aug 11th, 2022 Never 42 0 C++ -
Search in a matrix whose elements are sorted in insertion order Aug 11th, 2022 Never 52 0 C++ -
search in a matrix whose each row and column is sorted Aug 11th, 2022 Never 26 0 C++ -
Nth node from end of linked list Aug 10th, 2022 Never 259 0 C++ -
Diameter of the tree Aug 10th, 2022 Never 38 0 C++ -
Count inversions Aug 10th, 2022 Never 46 0 C++ -
Snake and Ladder Problem Aug 10th, 2022 Never 91 0 C++ -
Absolute linked list sorting Aug 10th, 2022 Never 33 0 C++ -
First non-repeating character in a stream Aug 10th, 2022 Never 29 0 C++ -
Top k numbers in a stream Aug 9th, 2022 Never 35 0 C++ -
Basic calculator with +,-,(,) and unary operator Aug 9th, 2022 Never 37 0 C++ -
Valid parenthesis in O(n) space and O(1) space Aug 8th, 2022 Never 33 0 C++ -
Paint house Aug 8th, 2022 Never 53 0 C++ -
Binary Search Tree Iterator / Implementing Forward Iterator in BST Aug 5th, 2022 Never 58 0 C++ -
K’th largest element in a stream Aug 5th, 2022 Never 39 0 C++ -
K Max Sum Combinations Aug 5th, 2022 Never 40 0 C++ -
Boundary Traversal of binary tree Aug 4th, 2022 Never 67 0 C++ -
Check if subtree Aug 4th, 2022 Never 37 0 C++ -
Fixing Two nodes of a BST Aug 4th, 2022 Never 133 0 C++ -
Burning Tree Jul 31st, 2022 Never 89 0 C++ -
Maximum profits in stock Jul 31st, 2022 Never 46 0 C++ -
Prerequisite Tasks Jul 31st, 2022 Never 50 0 C++ -
Number of occurrence of x in array Jul 31st, 2022 Never 40 0 C++ -
Smallest distinct window Jul 31st, 2022 Never 49 0 C++ -
Subtraction in Linked List Jul 31st, 2022 Never 39 0 C++ -
Shortest distance in binary maze Jul 31st, 2022 Never 33 0 C++ -
Maximum sum of Non-adjacent Nodes Jul 31st, 2022 Never 35 0 C++ -
LRU cache Jul 31st, 2022 Never 44 0 C++ -
Circular tour Jul 31st, 2022 Never 48 0 C++ -
Height of spiral tree Jul 31st, 2022 Never 52 0 C++ -
Kth Smallest element Jul 31st, 2022 Never 68 0 C++ -
The celebrity problem Jul 31st, 2022 Never 52 0 C++ -
Find the number of islands Jul 31st, 2022 Never 42 1 C++ -
Maximum path sum from any node Jul 31st, 2022 Never 67 0 C++ -