## Minimum value to be added to X such that it is at least Y percent of N

Given three integers N, X and Y, the task is to find the minimum integer that should be added to X to make it at… Read More »

- Find the total guests that are present at the party
- Programs for printing pyramid patterns using recursion
- Count the number of holes in an integer
- Program to check if an Array is Palindrome or not
- Count how many times the given digital clock shows identical digits
- Replace array elements by sum of next two consecutive elements
- How to concatenate two Integer values into one?
- Cost of painting n * m grid
- Program to check if a number is divisible by sum of its digits
- Count Odd and Even numbers in a range from L to R
- Check whether the given character is in upper case, lower case or non alphabetic character
- Program to calculate product of digits of a number
- Position of a person diametrically opposite on a circle
- Check if the given array is mirror-inverse
- Print last character of each word in a string
- Find the sum of digits of a number at even and odd places
- Difference between while and do-while loop in C, C++, Java
- Check if it is possible to create a polygon with given n sides
- Check if a binary string contains consecutive same or not
- Difference between High Level and Low level languages
- Python | Linear search on list or tuples
- Number of character corrections in the given strings to make them equal
- Print multiples of Unit Digit of Given Number
- Reorder the position of the words in alphabetical order
- Remove first X rows and columns from a matrix
- Sum of all perfect numbers present in an array
- Print the first and last character of each word in a String
- Increasing sequence with given GCD
- Smallest integer greater than n such that it consists of digit m exactly k times
- Given number of matches played, find number of teams in tournament

Given three integers N, X and Y, the task is to find the minimum integer that should be added to X to make it at… Read More »

Given an array arr[] where arr[i] is the concentration of juice in ith glass. The task is to find the concentration of the resultant mixture… Read More »

Given two integers N and X. The task is to print the absolute difference between the first X and last X digits in N. Considering… Read More »

Given two numbers L and R, the task is to count the number of odd numbers in the range L to R. Examples: Input: l… Read More »

Given two integers n and m which are the dimensions of a grid. The task is to find the cost of painting the grid cell… Read More »

Given a binary string str consisting of characters ‘0’ and ‘1’. The task is to find whether the string is valid or not. A string… Read More »

Given three integer n, m and k, the task is to find the smallest integer > n such that digit m appears exactly k times… Read More »

Given two integers n and g, the task is to generate an increasing sequence of n integers such that: The gcd of all the elements… Read More »

Given two integers a and b. Now, c can be found as a + b = c. The task is to check if the equation… 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 an integer N, the task is to check whether the number is divisible by the sum of its digits or not. If divisible, then… Read More »

Given an integer num, the task is to count the number of holes in that number. The holes in each digit are given below: Digit… Read More »

Given an integer X and a square matrix mat[][], the task is to remove the first X rows and columns from the given matrix and… Read More »

Given an empty glass, this glass has to be filled with water and the task is to find the maximum amount of water that the… Read More »

Let’s see a basic linear search operation on Python list and tuples. A simple approach is to do linear search, i.e Start from the leftmost… Read More »