## Check if number can be displayed using seven segment led

Given a string str representing an integer and an integer led which is the count of LEDs available. The task is to check if it… Read More »

- Program for K Most Recently Used (MRU) Apps
- A Sum Array Puzzle
- Find the minimum number of preprocess moves required to make two strings equal
- Solve the Logical Expression given by string
- Count number of trailing zeros in (1^1)*(2^2)*(3^3)*(4^4)*..
- Split a number into 3 parts such that none of the parts is divisible by 3
- Check if number can be displayed using seven segment led
- Find the non decreasing order array from given array
- Time taken by two persons to meet on a circular track
- Distribution of candies according to ages of students
- Generate lexicographically smallest string of 0, 1 and 2 with adjacent swaps allowed
- Buy minimum items without change and given coins
- Filling diagonal to make the sum of every row, column and diagonal equal of 3x3 matrix
- Jump in rank of a student after updating marks
- Maximize big when both big and small can be exchanged
- Count the number of survivors
- Print n 0s and m 1s such that no two 0s and no three 1s are together
- Find safe cells in a matrix
- Final string after performing given operations
- Minimum amount of lamps needed to be installed
- Generate a sequence with the given operations
- Pizza Problem
- Number of wins for each player in a series of Rock-Paper-Scissor game

Given a string str representing an integer and an integer led which is the count of LEDs available. The task is to check if it… Read More »

You are given a number ‘N’. Your task is to split this number into 3 positive integers x, y and z, such that their sum… Read More »

Given integers L, S1 and S2 where L is the length of a circular track in meters, S1 and S2 are the speeds of two… Read More »

Given a string str representing a logical expression which consists of the operators | (OR) , & (AND) , ! (NOT) , 0 , 1… Read More »

Given a string str containing only characters x and y, the task is to perform the following operations while possible: Find an index such that… Read More »

Given a string which contains only (increase) and (decrease). The task is to return any permutation of integers [0, 1, …, N] where N ≤… Read More »

Given a string containing only dots and asterisk. A dot represents free spaces and represents lamps. A lamp at position can spread its light at… Read More »

Given two integer arrays and where stores the ages of different students and an element of stores the number of candies that packet has (complete… Read More »

Given a string S of length n representing n boxes adjacent to each other. A character R at index i represents that i-th box is… Read More »

Given four integers row, col, x and y where row and col are the number of rows and columns of a 2-D Matrix and x… Read More »

Given an string of ‘x’ and ‘o’. From each ‘x’ a signal originates which travels in both direction. It takes one unit of time for… Read More »

Suppose a variable x can have only two possible values a and b, and you wish to assign to x the value other than its… Read More »

Given an Grid of integers. The task is to find total numbers of 3 x 3 (contiguous) Magic Square subgrids in the given grid. A… Read More »

Count the number of the cavity in the 2d matrix, a cavity is defined as all the surrounding number are greater than the mid number.… Read More »

You are given a singly linked list and pointer which is pointing to the node which is required to be deleted. Any information about head… Read More »