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

- Eggs dropping puzzle (Binomial Coefficient and Binary Search Solution)
- Egg Dropping Puzzle with 2 Eggs and K Floors
- Find time taken for signal to reach all positions in a string
- Count changes in Led Lights to display digits one by one
- Check if the given chessboard is valid or not
- Delete a Node from linked list without head pointer
- Solve the Logical Expression given by string
- Find number of cavities in a matrix
- Printing all subsets of {1,2,3,...n} without using array or loop
- 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
- Time taken by two persons to meet on a circular track
- Josephus Problem | (Iterative Solution)
- Count Magic squares in a grid
- Assign other value to a variable from two possible values
- Check if number can be displayed using seven segment led
- Program to make Indian Flag in Python | Step by Step
- Number of cells in the right and left diagonals passing through (x, y) in a matrix
- Generate a sequence with the given operations
- Final state of the string after modification
- Minimum amount of lamps needed to be installed
- Find if a molecule can be formed from 3 atoms using their valence numbers
- Distribution of candies according to ages of students
- Why are negative numbers stored as 2's complement?
- Increment a number without using ++ or +
- Final string after performing given operations

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 »