Topic
Range Sum Query 2D – Immutable Leetcode Solution
Find Smallest Range Containing Elements from k Lists
Guess Number Higher or Lower II
Maximum sum of pairs with specific difference
Maximum sum of a path in a Right Number Triangle
Maximum number of segments of lengths a, b and c
Maximum subsequence sum such that no three are consecutive
Count all subsequences having product less than K
LCS (Longest Common Subsequence) of three strings
Longest Repeated Subsequence
Sequences of given length where every element is more than or equal to twice of previous
Find maximum length Snake sequence
Minimum sum of multiplications of n numbers
Count ways to reach the nth stair using step 1, 2 or 3
Minimum Sum Path in a Triangle
Count even length binary sequences with same sum of first and second half bits
Longest subsequence such that difference between adjacents is one
Maximum path sum in a triangle
Path with maximum average value
Maximum product of an increasing subsequence
Print Maximum Length Chain of Pairs
Print n terms of Newman-Conway Sequence
Print modified array after executing the commands of addition and subtraction
Newman-Conway Sequence
Moser-de Bruijn Sequence
Range Queries for Longest Correct Bracket Subsequence
Print modified array after multiple array range increment operations
Number of indexes with equal elements in given range
Longest Bitonic Subsequence
Golomb sequence
Newman–Shanks–Williams prime
Difference Array | Range update query in O(1)
Painting Fence Algorithm
Binary array after M range toggle operations
Constant time range add operation on an array
Count Primes in Ranges
Print the Fibonacci numbers in reverse order
Print Fibonacci sequence using 2 variables
Queries on XOR of greatest odd divisor of the range
Compute nCr % p
Cutting a Rod
Largest divisible pairs subset
Queries for GCD of all numbers of an array except elements in a given range
Find whether a subarray is in form of a mountain or not
Mean of range in array
Subset with sum divisible by m
Check if any two intervals overlap among a given set of intervals
Range sum queries without updates
Subset Sum Problem in O(sum) space
Friends Pairing Problem
Gold Mine Problem
Tiling Problem
Permutation Coefficient
Longest Increasing Consecutive Subsequence
Binomial Coefficient
Best Time to Buy and Sell Stock
Number Of Longest Increasing Subsequence
Palindrome Partitioning
Program for Bridge and Torch problem
Boolean Parenthesization Problem
K maximum sums of overlapping contiguous sub-arrays
How to print maximum number of A’s using given four keys
Collect maximum points in a grid using two traversals
Maximum weight transformation of a given string
Word Wrap Problem
The Painter’s Partition Problem
Maximum Subarray Sum Excluding Certain Elements
Mobile Numeric Keypad Problem
Maximum sum bitonic subarray
Largest area rectangular sub-matrix with equal number of 1’s and 0’s
A Space Optimized DP solution for 0-1 Knapsack Problem
Printing brackets in Matrix Chain Multiplication Problem
Size of The Subarray With Maximum Sum
Minimum number of jumps to reach end
Number of palindromic paths in a matrix
Largest rectangular sub-matrix whose sum is 0
Maximum sum rectangle in a 2D matrix
Maximum Sum Increasing Subsequence
Largest Sum Contiguous Subarray
Matrix Chain Multiplication
Super Ugly Number
Divisible Pairs Counting
The Knapsack Problem
Decode Ways
Longest Palindromic Subsequence
Target Sum
Longest Common Subsequence
House Robber
Palindrome Partitioning
New 21 Game
Distinct Subsequences
Climbing stairs
Subset sum problem
Ugly Numbers
Dynamic Programming Basics
Coin Change Problem
Translate »