## Reduce the fraction to its lowest form

Given two integers x and y and where x is divisible by y. It can be represented in the form of a fraction x/y. The… 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
- Area of a Square | Using Side, Diagonal and Perimeter
- Find indices of all local maxima and local minima in an Array
- Find maximum of minimums from Layers of Matrix using numbers 1 to N^2
- Count of all pairs in an Array with minimum absolute difference
- Perfect Square factors of a Number
- Check if given string is a substring of string formed by repeated concatenation of z to a
- Find minimum moves to bring all elements in one cell of a matrix
- Count of integral coordinates that lies inside a Square
- Number of ways to sum up a total of N from limited denominations
- Smallest number greater than Y with sum of digits equal to X
- Nth angle of a Polygon whose initial angle and per angle increment is given
- Check if N contains all digits as K in base B
- 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 the given string is linear or not
- Identical Splitting in a rectangular grid
- Minimum cost to convert given string to consist of only vowels
- Angle between a Pair of Lines in 3D
- 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 two integers x and y and where x is divisible by y. It can be represented in the form of a fraction x/y. The… Read More »

Given that a certain amount of money becomes T1 times itself in N1 years. The task is to find the number of years i.e. N2… Read More »

Given here is a rectangle of length l & breadth b, the task is to find the area of the biggest ellipse that can be… Read More »

Given an array arr[] that contain the lengths of n sides that may or may not form a polygon. The task is to determine whether… Read More »

Given an array arr[], the task is increment all the odd positioned elements by 1 and decrement all the even positioned elements by 1. Examples:… Read More »

Given a regular polygon of N sides with side length a. The task is to find the area of the Circle which inscribed in the… Read More »

Given an array arr[] of n elements, the task is to replace all the odd positioned elements with their cubes and even positioned elements with… Read More »

Given 2 endpoints (x1, y1) and (x2, y2) of a line, the task is to determine the number of squares of the unit area that… Read More »

Write a program to calculate double integral numerically. Example: Input: Given the following integral. where Output: 3.915905 Recommended: Please try your approach on {IDE} first,… Read More »

Given a string str, the task is to count how many times the keys will be pressed in total if there is a mobile like… Read More »

Given a NxN matrix. The task is to check if after reversing all of the rows of the given Matrix, the matrix remains same or… Read More »

Given a number N. The task is to find the smallest and largest palindromic number possible with N digits. Examples: Input: N = 4 Output:… Read More »

Given two integers a and b. The task is to find the number of digits before the decimal point in a / b. Examples: Input:… Read More »

Given a number N. The task is to find the smallest N digit ODD number. Examples: Input: N = 1 Output: 1 Input: N =… Read More »

Given an integer N, the task is to find the smallest and the largest N digit numbers which are also perfect cubes. Examples: Input: N… Read More »