RainX_69

RainX_69's Pastebin

The Promised Neverland    1,060 12,040 0 3 years ago
Name / Title Added Expires Hits Comments Syntax  
Minimum cost to reach destination from source using two modes of transport | MUST DO | OA May 15th, 2023 Never 673 0 C++ -
Minimum Subset sum difference problem with Subset partitioning | meet in the middle | MUST DO | OA May 13th, 2023 Never 179 0 C++ -
OA question asked in a company | Count number of pairs query | MUST DO | OA | Medium May 13th, 2023 Never 173 0 C++ -
Minimum Time to Visit a Cell In a Grid following Rules | OA | MUST DO | Dijkstra Graph May 11th, 2023 Never 192 0 C++ -
Minimum steps to reduce string to empty by deleting consecutives | OA | TRICKY May 9th, 2023 Never 119 0 C++ -
Find the Divisibility Array of a String | OA | TRICKY May 9th, 2023 Never 96 0 C++ -
Count subsequences where AND of elements consists of k set bits | OA | TRICKY | HARD May 9th, 2023 Never 133 0 C++ -
Codeforces DIV 4F. Must do | Maths | OA May 8th, 2023 Never 123 0 C++ -
Make Costs of Paths Equal in a Binary Tree | HARD | TRICKY | MUST DO | OA May 8th, 2023 Never 121 0 C++ -
Number of Adjacent Elements With the Same Color | HARD | GREEDY | OA | MUST DO May 8th, 2023 Never 109 0 C++ -
Find lexographically largest character in a substring in range [l,r] for q queries| Segment Tree| OA May 5th, 2023 Never 288 0 C++ -
Minimum Cost of a Path With Special Roads | MUST DO | TRICKY | OA May 2nd, 2023 Never 120 0 C++ -
Count number of duplicate trees in the tree | OA |MUST DO | TRICKY May 2nd, 2023 Never 114 0 C++ -
Minimize count of divisions by D to obtain at least K equal array elements | HARD | OA | READ IT Apr 26th, 2023 Never 279 0 C++ -
Maximum Value at a Given Index in a Bounded Array | MUST DO | NUMBER THEORY | OA | HARD Apr 26th, 2023 Never 190 0 C++ -
The Number of Good Subsets | PRIME PRODUCT SUBSETS | MUST DO | OA | TRICKY | HARD Apr 26th, 2023 Never 94 0 C++ -
Smallest Number in Infinite Set | MUST DO | OA | TRICKY Apr 26th, 2023 Never 95 0 C++ -
Maximum Candies You Can Get from Boxes | MUSTDO | OA | TRICKY | SIMULATION Apr 19th, 2023 Never 97 0 C++ -
Minimize the Total Price of the Trips | OA | MUST DO | HARD RECURSION PROBLEM Apr 19th, 2023 Never 90 0 C++ -
Shortest Path to Get All Keys | MUST DO | OA LEVEL | HARD AND TRICKY BFS Apr 19th, 2023 Never 82 0 C++ -
Minimum Time required to process all modules with interdependencies | OA | MUST DO | TRICKY Apr 18th, 2023 Never 120 0 C++ -
Longest ZigZag Path in a Binary Tree | OA | MUST DO | TRICKY | OA Apr 18th, 2023 Never 105 0 C++ -
Number of Ways to Form a Target String Given a Dictionary | HARD | OA | MUST DO | TRICKY Apr 16th, 2023 Never 116 0 C++ -
CONNECTED COMPONENTS TO UNDERSTAND | MUST DO | TRICKY | OA Apr 16th, 2023 Never 91 0 C++ -
Count Subarrays With Score Less Than K | OA LEVEL | TRICKY | MUST DO Apr 15th, 2023 Never 87 0 C++ -
Find the Maximum Number of Marked Indices | Two Pointers | MUST DO | TRICKY | OA Apr 14th, 2023 Never 113 0 C++ -
Frog Jump II | leetcode | MUST DO | TRICKY | OA LEVEL Apr 14th, 2023 Never 88 0 C++ -
Count substrings having atmost one letter odd number of times | HARD | OA | MUST DO Apr 8th, 2023 Never 127 0 C++ -
Minimum Insertions to Balance a SPECIAL Parentheses String | OA | MUST DO | TRICKY Apr 6th, 2023 Never 112 0 C++ -
Swap For Longest Repeated Character Substring | OA LEVEL | TRICKY Apr 4th, 2023 Never 194 0 C++ -
Find the Longest Substring Containing Vowels in Even Counts | TRICKY | MUST DO Apr 4th, 2023 Never 120 0 C++ -
Sum of Absolute Differences in a Sorted Array | TRICKY | OA LEVEL | MUST DO Mar 30th, 2023 Never 109 0 C++ -
Minimum Cost to Make Array Equal | HARD OA LEVEL Mar 30th, 2023 Never 99 0 C++ -
Count Subarrays with Equal 0, 1 and 2 | OA | MUST DO Mar 24th, 2023 Never 107 0 C++ -
Number of pairs from two array with kth bit set on XOR Mar 21st, 2023 Never 109 0 C++ -
Count Ways to Group Overlapping Ranges | MUST DO | OA LEVEL Mar 18th, 2023 Never 116 0 C++ -
Queries on subarray INCREASING/DECREASING | MUST DO | HARD | SEGMENT TREE | OA Mar 9th, 2023 Never 97 0 C++ -
NUMBER OF OPERATIONS TO EXHAUST A STRING DELETING ONLY PALINDROMES | HARD | MUST DO Mar 8th, 2023 Never 114 0 C++ -
Design a search query autocomplete system | hard | MUST DO Mar 7th, 2023 Never 102 0 C++ -
PRINT LARGEST SUBMATRIX WITH SUM ZERO | HARD | OA Mar 6th, 2023 Never 112 0 C++ -
Maximise the minimum height of the flower | Binary Search | Hard | MUST DO Mar 5th, 2023 Never 128 0 C++ -
Count Number of Substrings have count of 1s more than 0s | Hard | Segment Tree Mar 5th, 2023 Never 101 0 C++ -
Important problems from Partition DP | MUST DO Mar 3rd, 2023 Never 119 0 C++ -
HACKEREARTH SEGMENT TREE PROBLEMS Mar 1st, 2023 Never 112 0 C++ -
Minimum Number of Increments on Subarrays to Form a Target Array | MUST DO | HARD | SEGMENT TREE Feb 28th, 2023 Never 107 0 C++ -
PARTITION ARRAY INTO K SUBARRAYS TO MAXIMIZE BEAUTY | INFOSYS POWER PROGRAMMER OA Feb 28th, 2023 Never 112 0 C++ -
Problem on Queries | Solved using Line Sweep | MUST DO PROBLEM Feb 28th, 2023 Never 113 0 C++ -
ONE EDIT DISTANCE | TRICKY | OA PROBLEM | MUST DO Feb 26th, 2023 Never 102 0 C++ -
Shortest Path Using Atmost One Curved Edge | ASKED IN AN INTERVIEW Feb 25th, 2023 Never 141 0 C++ -
Count the Number of Square-Free Subsets | HARD LEETCODE PROBLEM | MATHY | OA Feb 20th, 2023 Never 95 0 C++ -
LAZY PROPAGATION QUERIES PROBLEM | HARD | MUST DO Feb 19th, 2023 Never 79 0 C++ -
INFOSYS POWER PROGRAMMER | HARD PROBLEM | Binary Srch Feb 17th, 2023 Never 116 0 C++ -
Find count of good stones (Dynamic Programming) (graph cycles) HARD Feb 16th, 2023 Never 102 0 C++ -
NUMBER OF LONGEST INCREASING SUBSEQ. SEGMENT TREE HARD Feb 12th, 2023 Never 89 0 C++ -
INTUIT OA PROBLEM BASED ON DP+BITMASK Feb 10th, 2023 Never 110 0 C++ -
COMPANY INTERVIEW PROBLEM Feb 9th, 2023 Never 140 0 C++ -
RANGE ADDITION (MUST DO) LINE SWEEP PROBLEM Feb 7th, 2023 Never 110 0 C++ -
Maximize Score From Two Segments (MUST DO) ASKED IN OA Feb 6th, 2023 Never 115 0 C++ -
Minimum Cost to Split an Array in SPECIAL WAY (IMPORTANT) HARD Feb 4th, 2023 Never 123 0 C++ -
Count Special Increasing Quadruplets (HARD PROBLEM) LEETCODE Feb 4th, 2023 Never 138 0 C++ -
Count K increasing subsequences Feb 4th, 2023 Never 104 0 C++ -
Maximum of | arr[ i ] - arr[ j ] | + | i - j | . HARD AMAZON OA QUESTION Feb 3rd, 2023 Never 115 0 C++ -
FIND MINIMUM LIGHT BULBS TO SATISFY (HARD TREE PROBLEM) Jan 30th, 2023 Never 112 0 C++ -
MERGE Data Stream as Disjoint Intervals (IMPORTANT) Jan 29th, 2023 Never 127 0 C++ -
Maximum Segment Sum After Removals (IMPORTANT) Jan 28th, 2023 Never 121 0 C++ -
MEET DEMANDS OF NEIGBOURING ELEMENTS (IMPORTANT OA) Jan 23rd, 2023 Never 101 0 C++ -
Find the maximum value of G that can be obtained after K splits ( IMPORTANT QUE ) Jan 23rd, 2023 Never 104 0 C++ -
count minimum number of possible anagrams after atmost k change (IMPORTANT OA) Jan 22nd, 2023 Never 98 0 C++ -
Count substrings with K 1's (CODEFORCES IMPORTANT) Jan 21st, 2023 Never 116 0 C++ -
FIND MAXIMUM CONTINOUS SEGEMENT AFTER ATMOST K REMOVALS (IMPORTANT) Jan 19th, 2023 Never 356 0 C++ -
Print all nodes which are the endpoint of the diameter of a tree (IMPORTANT) Jan 19th, 2023 Never 178 0 C++ -
play game, BINARY SEARCH (IMPORTANT) Jan 17th, 2023 Never 111 0 C++ -
Interval Minimum Coverage (IMPORTANT) Jan 17th, 2023 Never 76 0 C++ -
Count Lucky Permutations (IMPORTANT GRAPH PROBLEM) Jan 14th, 2023 Never 84 0 C++ -
UNION FIND (MERGE ACCOUNTS) IMPORTANT Jan 14th, 2023 Never 153 0 C++ -
Find XOR Sum of All Pairs Bitwise AND (IMPORTAN) Jan 13th, 2023 Never 96 0 C++ -
output the kth smallest number in sub-array between l and r. Jan 12th, 2023 Never 86 0 C++ -
1938. Maximum Genetic Difference Query Jan 3rd, 2023 Never 103 0 C++ -
COUNT K LENGTH INCREASING SUBSEQUENCES Jan 2nd, 2023 Never 103 0 C++ -
2407. Longest Increasing Subsequence II Jan 2nd, 2023 Never 88 0 C++ -
PRINT DISTINCT PALINDROMIC PERMUTATIONS OF A STRING Dec 30th, 2022 Never 120 0 C++ -
CODEFORCES DIV-841 C/ IMPORTANT QUESTION Dec 28th, 2022 Never 96 0 C++ -
Minimize squared sum in K ops, Binary search Dec 26th, 2022 Never 94 0 C++ -
Fermat Little Theorem , Anagrams Dec 26th, 2022 Never 107 0 C++ -
LEETCODE- Take K of Each Character From Left and Right Dec 26th, 2022 Never 118 0 C++ -
2518. Number of Great Partitions Dec 26th, 2022 Never 105 0 C++ -
Spanning tree with max degree Dec 24th, 2022 Never 126 0 C++ -
Amazon OA question related to LCA( binary lifting) Dec 23rd, 2022 Never 260 0 C++ -
DE_SHAW OFF-CAMPUS OA QUESTION Dec 23rd, 2022 Never 149 0 C++ -
LCA Queries using BINARY LIFTING Dec 19th, 2022 Never 120 0 C++ -
CODECHEF-TALCA , BINARY LIFTING LCA Dec 19th, 2022 Never 108 0 C++ -
Maximum XOR of two elements in an array Dec 17th, 2022 Never 98 0 C++ -
MINIMIZE XOR Dec 17th, 2022 Never 112 0 C++ -
JUG FILL PROBLEM USING BFS Dec 16th, 2022 Never 139 0 C++ -