## Position of a person diametrically opposite on a circle

There are n people standing on the circumference of a circle. Given the position of a persom m, the task is to find the position… Read More »

- How to learn Pattern printing easily?
- Difference between while and do-while loop in C, C++, Java
- Menu-Driven Program for Bank Management System
- Difference between High Level and Low level languages
- Sum of all perfect numbers present in an array
- Program to duplicate Vowels in String
- Sum of all palindrome numbers present in an Array
- Program to parse the Molecules and get the Atoms count
- Sum of all mersenne numbers present in an array
- Difference between for and while loop in C, C++, Java
- Program to find the Encrypted word
- Find number of candidates in the Exam
- Difference between for and do-while loop in C, C++, Java
- Check if the first and last digit of number N is prime and their sum is less than K
- Program to Encrypt a String using ! and @
- Minimum value to be assigned to the elements so that sum becomes greater than initial sum
- Print the season name of the year based on the month number
- What is an Expression and What are the types of Expressions?
- Program to print the Ladder Pattern
- Program to print the Diagonals of a Matrix

There are n people standing on the circumference of a circle. Given the position of a persom m, the task is to find the position… 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 »

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 »