## 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 »

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 »