## Biggest Reuleaux Triangle inscribed within a square which is inscribed within a hexagon

Given a regular hexagon of side length a which inscribes a square which in turn inscribes a reuleaux triangle. The task is to find the… Read More »

- Make all numbers of an array equal
- Reach the numbers by making jumps of two given lengths
- Largest palindromic number in an array
- Check if a number is perfect square without finding square root
- Sum of XOR of all subarrays
- Minimum operations required to make all the array elements equal
- Generate all rotations of a number
- A Sum Array Puzzle
- Puzzle | Neighbors in a round table
- Check if it is possible to reach a number by making jumps of two given length
- Find the number in a range having maximum product of the digits
- Find K Closest Points to the Origin
- Count of pairs (x, y) in an array such that x < y
- Count pairs in array whose sum is divisible by K
- Number of array elements derivable from D after performing certain operations
- Find the Nth term of the series 14, 28, 20, 40,.....
- Count rotations of N which are Odd and Even
- Color N boxes using M colors such that K boxes have different color from the box on its left
- Minimum number of sets with numbers less than Y
- Midpoint ellipse drawing algorithm
- New Algorithm to Generate Prime Numbers from 1 to Nth Number
- Distribute N candies among K people
- Given two arrays count all pairs whose sum is an odd number
- Sum of all Submatrices of a Given Matrix
- Find elements of array using XOR of consecutive elements
- Sum of the multiples of two numbers below N
- Sum of bitwise AND of all subarrays
- Remove characters from a numeric string such that string becomes divisible by 8
- Find the number of distinct pairs of vertices which have a distance of exactly k in a tree
- Represent n as the sum of exactly k powers of two | Set 2

Given a regular hexagon of side length a which inscribes a square which in turn inscribes a reuleaux triangle. The task is to find the… Read More »

Given a starting position ‘k’ and two jump sizes ‘d1’ and ‘d2’, our task is to find the minimum number of jumps needed to reach… Read More »

Given initial values of two positive integers X and Y, Find the final value of X and Y according to below alterations: 1. If X=0… Read More »

For a given differential equation with initial condition find the approximate solution using Predictor-Corrector method. Predictor-Corrector Method : The predictor-corrector method is also known as… Read More »

Given an integer N where . The task is to check whether the number is not divisible by any of its digit. If the given… Read More »

Given an integer N, the task is to print all the multiplicative primes ≤ N. Multiplicative Primes are the primes such that the product of… 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 »

Given a number N, the task is to find the largest positive integer less than or equal to N/2 which is coprime to N. Note:… Read More »

Given an ellipse, with major and minor axis length 2a & 2b respectively. The task is to find the area of the largest circle that… Read More »

Given an array arr[] and the task is to print the additive primes in an array. Additive primes: Primes such that the sum of their… Read More »

Given a list of points on the 2-D plane and an integer K. The task is to find K closest points to the origin and… 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 numbers in form of an Inverted triangle. By starting at the bottom of the triangle and moving to adjacent numbers on the row above,… Read More »

Given two line segments AB and CD having A(x1, y1), B(x2, y2), C(x3, y3) and D(x4, y4). The task is to check whether these two… Read More »