## Minimum cost to make two strings identical by deleting the digits

Given two strings X and Y consisting of only digits ‘0’ to ‘9’. Find minimum cost required to make the given two strings identical. Only… Read More »

Given two strings X and Y consisting of only digits ‘0’ to ‘9’. Find minimum cost required to make the given two strings identical. Only… Read More »

The test based on HirePro Examination. They had outsourced the first round to HirePro and had asked them for results on the basis of which… Read More »

Introduction to Identity Matrix : The dictionary definition of an Identity Matrix is a square matrix in which all the elements of the principal or… Read More »

In Java, static import concept is introduced in 1.5 version. With the help of static import, we can access the static members of a class… Read More »

What is a superellipse A superellipse, also known as a Lamé curve after Gabriel Lamé, is a closed curve resembling the ellipse, retaining the geometric… Read More »

Convert multibyte sequence to wide character. The multibyte character pointed by pmb is converted to a value of type wchar_t and stored at the location… Read More »

numpy.prod() returns the product of array elements over a given axis. Syntax: numpy.prod(a, axis=None, dtype=None, out=None, keepdims=) Parameters a : array_like Its the input data.… Read More »

We are given a matrix that contains different values in its each cell. Our aim is to find the minimal set of positions in the… Read More »

This is an extended version of subset sum problem. Here we need to find size of maximum size subset whose sum is equal to given… Read More »

Given series 1 2 2 3 3 3 4 4 4 4 …., find n-th term of the series. The “pattern” is obvious. There is… Read More »

Given an alphanumeric string, extract maximum numeric value from that string. Alphabets will only be in lower case. Examples: Input : 100klh564abc365bg Output : 564… Read More »

Hollow rectangle star pattern : The task is print below hollow pattern of given dimension. ******************** * * * * * * * * ********************… Read More »

Normally mean of matrix is the average of all elements present in matrix. Consider a modified mean as floor of mean of row-wise minimum and… Read More »

Prerequisites: Know about Cyclic redundancy, Socket Programming What is CRC? CRC or Cyclic Redundancy Check is a method of detecting accidental changes/errors in the communication… Read More »

Prerequisite: getline(string) in C++ In C++, stream classes support line-oriented functions, getline() and write() to perform input and output functions respectively. getline() function reads whole… Read More »