## Hendecagonal number

Given a number n, the task is to find the nth Hendecagonal number. A Hendecagonal number is a figurate number that extends the concept of… Read More »

## Icosagonal number

Given a number n, the task is to find the nth Icosagonal number. An Icosagonal number is the 20-gon is a twenty-sided polygon. The number… Read More »

## Centered decagonal number

Given a number n, find the nth Centered decagonal number . A Centered Decagonal Number is centered figurative number that represents a decagon with dot… Read More »

## Lexicographically Kth smallest way to reach given coordinate from origin

Given a coordinate (x, y) on a 2D plane. We have to reach (x, y) from the current position which is at origin i.e (0,… Read More »

## Centered Octagonal Number

Given a number n, find the nth centered octagonal number. A centered octagonal number represents an octagon with a dot in the centre and others… Read More »

## Icosahedral Number

Given a number n, find the n-th icosahedral number. The Icosahedral Number is class of figurative number that represents an icosahedron(a polyhedron with 20 faces)… Read More »

## Centered cube number

Given a number n, find the n-th centered cube number. The Centered cube number counts the number of points which are formed by a point… Read More »

Given a number n, the task is to find the nth Enneadecagonal number. An Enneadecagonal number is a nineteen-sided polygon in mathematics. It belongs to… Read More »

Given a number n, the task is to find the nth heptadecagonal number . A heptadecagonal number is class of figurate number. It has seventeen… Read More »

Given a number n, the task is to find the nth hexadecagonal number. A Hexadecagonal number is class of figurate number and a perfect squares.… Read More »

## Centered pentagonal number

Given an integer n, find the nth Centered pentagonal number. A Centered Pentagonal Number is a centered figurate number that represents a pentagon with a… Read More »

## Reflection of a point at 180 degree rotation of another point

Given two points coordinates (x1, y1) and (x2, y2)on 2D plane. The task is to find the reflection of (x1, y1) at 180 degree rotation… Read More »

## Find maximum and minimum distance between magnets

Given coordinates of two pivot points (x0, y0) & (x1, y1) in coordinates plane. Along with each pivot, two different magnets are tied with the… Read More »

## Sum of Areas of Rectangles possible for an array

Given an array, the task is to compute the sum of all possible maximum area rectangles which can be formed from the array elements. Also,… Read More »

## Maximize a value for a semicircle of given radius

We are given a semi circle with radius R. We can take any point on the circumference let it be P.Now, from that point P… Read More »