Problem Statement: Number of Longest Increasing Subsequences Prerequisite: Longest increasing subsequence, Printing Longest Increasing subsequence Problem Link: Given an array,

Continue reading## Longest Bitonic Subsequence | (DP-46)

Problem Statement: Longest Bitonic Subsequence Prerequisite: Longest increasing subsequence, Printing Longest Increasing subsequence Problem Link: Given an array, ‘Arr’ of

Continue reading## Distance of Nearest Cell having 1

Problem Statement: Given a binary grid of N*M. Find the distance of the nearest 1 in the grid for each

Continue reading## Minimum Window substring

Problem Statement: Given two strings s and t of lengths m and n respectively, return the minimum window substring of

Continue reading## Product of Array Except Itself

Problem Statement: Given an array arr[] of integers, you need to return the product of given array elements except including

Continue reading## Python DateTime

Problem Statement: To understand Python DateTime. In python, anything that has to do with date and time is handled by

Continue reading## Palindromic substrings

Given a string s, return the number of palindromic substrings in it. A string is a palindrome when it reads the

Continue reading## Detect Cycle in an Undirected Graph (using DFS)

Problem Statement: Given an undirected graph with V vertices and E edges, check whether it contains any cycle or not.

Continue reading## Detect Cycle in an Undirected Graph (using BFS)

Problem Statement: Given an undirected graph with V vertices and E edges, check whether it contains any cycle or not.

Continue reading## Rotten Oranges

Problem Statement: Given a grid of dimension N x M where each cell in the grid can have values 0,

Continue reading