## Find the minimum number of preprocess moves required to make two strings equal

Given two strings A and B of equal lengths consisting of lower case English letters. The task is to count the minimum number of pre-processing… Read More »

- Eggs dropping puzzle (Binomial Coefficient and Binary Search Solution)
- Delete a Node from linked list without head pointer
- Program for K Most Recently Used (MRU) Apps
- A Sum Array Puzzle
- Find time taken for signal to reach all positions in a string
- Find number of cavities in a matrix
- Printing all subsets of {1,2,3,...n} without using array or loop
- Count changes in Led Lights to display digits one by one
- Check if the given chessboard is valid or not
- Solve the Logical Expression given by string
- Split a number into 3 parts such that none of the parts is divisible by 3
- Minimum queens required to cover all the squares of a chess board
- Count number of trailing zeros in (1^1)*(2^2)*(3^3)*(4^4)*..
- Check if number can be displayed using seven segment led
- Josephus Problem | (Iterative Solution)
- Time taken by two persons to meet on a circular track
- Find the non decreasing order array from given array
- Count Magic squares in a grid
- Buy minimum items without change and given coins
- Generate lexicographically smallest string of 0, 1 and 2 with adjacent swaps allowed
- Distribution of candies according to ages of students
- Why are negative numbers stored as 2's complement?
- Filling diagonal to make the sum of every row, column and diagonal equal of 3x3 matrix
- Assign other value to a variable from two possible values
- Jump in rank of a student after updating marks
- Find the minimum number of preprocess moves required to make two strings equal
- Program to make Indian Flag in Python | Step by Step
- Maximize big when both big and small can be exchanged
- Print n 0s and m 1s such that no two 0s and no three 1s are together
- Number of cells in the right and left diagonals passing through (x, y) in a matrix

Given two strings A and B of equal lengths consisting of lower case English letters. The task is to count the minimum number of pre-processing… Read More »

Given N Big Candies and M Small Candies. One Big Candy can be bought by paying X small candies. Alternatively, one big candy can be… Read More »

Two players are playing a series of games of Rock–paper–scissors. There are a total of K games played. Player 1 has a sequence of moves… Read More »

Given 9 elements in a 3 x 3 matrix where the value of diagonals are 0. We need to find the values in diagonal to… Read More »

Given an integer n, the task is to find the number of trailing zeros in the function i.e. f(n) = 11 * 22 * 33… Read More »

Given an integer K and an array arr[] of N integers which contains the ids of the opened apps in a system where arr[0] is… Read More »

Given an integer N and a pizza which can be cut into pieces, each cut should be a straight line going from the center of… Read More »

Given a matrix mat[][] containing the characters [1 – 9], P and * where P is a person and * is an empty space. An… Read More »

Given a string str containing only characters 0, 1 and 2, you can swap any two adjacent (consecutive) characters 0 and 1 or any two… Read More »

Given a matrix mat[][] containing the characters Z, P and * where Z is a zombie, P is a plant and * is a bare… Read More »

Given two integers n and m where n is the number of 0s and m is the number of 1s. The task is to print… Read More »

Given an array A[] of size N / 2, the task is to construct the array B[] of size N such that: B[] is sorted… Read More »

You have an unlimited number of 10-rupee coins and exactly one coin of r rupee and you need to buy minimum items each of cost… Read More »

Given an array arr[] of n integers, construct a Sum Array sum[] (of same size) such that sum[i] is equal to the sum of all… Read More »

Given three arrays names[], marks[] and updates[] where: names[] contains the names of students. marks[] contains the marks of the same students. updates[] contains the… Read More »