## Largest Even and Odd N-digit numbers

Given an integer N, the task is to find the largest even and odd N-digit numbers. Examples: Input: N = 4 Output: Even = 9998… Read More »

- Find the Mth element of the Array after K left rotations
- Find temperature of missing days using given sum and average
- Program to print window pattern
- Number of ways to select exactly K even numbers from given Array
- Find indices of all local maxima and local minima in an Array
- Area of a Square | Using Side, Diagonal and Perimeter
- Find maximum of minimums from Layers of Matrix using numbers 1 to N^2
- Perfect Square factors of a Number
- Count of all pairs in an Array with minimum absolute difference
- Find minimum moves to bring all elements in one cell of a matrix
- Check if given string is a substring of string formed by repeated concatenation of z to a
- Smallest number greater than Y with sum of digits equal to X
- Count of integral coordinates that lies inside a Square
- Number of ways to sum up a total of N from limited denominations
- Nth angle of a Polygon whose initial angle and per angle increment is given
- Min operations to reduce N by multiplying by any number or taking square root
- Create matrix whose sum of diagonals in each sub matrix is even
- Check if N contains all digits as K in base B
- Identical Splitting in a rectangular grid
- Check if the given string is linear or not
- Angle between a Pair of Lines in 3D
- Minimum cost to convert given string to consist of only vowels
- Find two numbers whose sum is N and does not contain any digit as K
- Program to Print K using Alphabets
- Find N random points within a Circle
- Divide N into K parts in the form (X, 2X, ... , KX) for some value of X

Given an integer N, the task is to find the largest even and odd N-digit numbers. Examples: Input: N = 4 Output: Even = 9998… Read More »

Given a number N, the task is to find the smallest Even number with N digits. Examples: Input: N = 1 Output: 0 Input: N… Read More »

Given an integer N, the task is to check whether N the given number can be made a perfect square after adding 1 to it.… Read More »

Given an undirected complete graph of N vertices where N > 2. The task is to find the number of different Hamiltonian cycle of the… Read More »

Given two concentric circles with radius X and Y where (X > Y). Find the area between them. You are required to find the area… Read More »

Given an array A of N elements. Find the frequency of the smallest value in the array. Examples: Input : N = 5, arr[] =… Read More »

Given a matrix of size NxN. The task is to count the number of pair of indices (i, j) such that the sum of j-th… Read More »

Given side of a square n and two points (x1, y1) and (x2, y2) on the boundaries of the given square. The task is to… Read More »

Given an integer array marks, which comprises of marks scored by a student (out of 100) in different subjects, the task is to assign a… Read More »

Given here is a frustum of height h, top-radius r & base-radius R, which inscribes a right circular cylinder which in turn inscribes a sphere… Read More »

Given a String of three Colours(G, B, Y) as input, the task is to print the resultant combined colour formed according to the rule given… Read More »

Given here is a semicircle of radius r which inscribes a square which in turn inscribes a reuleaux triangle. The task is to find the… Read More »

Given here is an equilateral triangle of sidelength a which inscribes a square which in turn inscribes a reuleaux triangle. The task is to find… Read More »

A square is a flat shape, in one plane, defined by four points at the four corners. A square has four sides all of equal… Read More »

Given two strings, the task is to check if these two strings are identical(same) or not. Examples: Input: string1 = “GeeksforGeeks”, string2 = “GeeksforGeeks” Output:… Read More »