## Find the number of squares inside the given square grid

Given a grid of side N * N, the task is to find the total number of squares that exist inside it. All squares selected… Read More »

## Minimum length of square to contain at least half of the given Coordinates

Given a set of N points in 2-D plane. The task is to find the minimum value of M such that a square centred at… Read More »

## Largest subset of rectangles such that no rectangle fit in any other rectangle

Given height and width of N rectangles. The task is to find the size of the largest subset such that no pair of rectangles fit… Read More »

## Count the number of rhombi possible inside a rectangle of given size

Given a rectangle of height H and width W which has the bottom left corner at (0, 0). The task is to count the number… Read More »

## Shortest path on a Square

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 »

## Find the cordinates of the fourth vertex of a rectangle with given 3 vertices

Given an N * M grid. It contains exactly three ‘*’ and every other cell is a ‘.’ where ‘*’ denotes a vertex of a… Read More »

## Maximum given sized rectangles that can be cut out of a sheet of paper

Given the length L and breadth B of a sheet of paper, the task is to find the maximum number of rectangles with given length… Read More »

## Find the Side of the smallest Square that can contain given 4 Big Squares

Given sides of four small squares. You have to find the side of the smallest square such that it can contain all given 4 squares… Read More »

## Rectangle with minimum possible difference between the length and the width

Given an integer area, the task is to find the length and breadth of a rectangle with the given area such that the difference between… Read More »

## Biggest Square that can be inscribed within an Equilateral triangle

Given here is an equilateral triangle of side length a. The task is to find the side of the biggest square that can be inscribed… Read More »

## Largest hexagon that can be inscribed within a square

Given side of a square a, the task is to find the side of the largest hexagon that can be inscribed within the given square.… Read More »

## Find minimum area of rectangle with given set of coordinates

Given an array of set of points in the X-Y plane. The task is to find the minimum area of a rectangle that can be… Read More »

## Count the number of rectangles such that ratio of sides lies in the range [a,b]

Given the length and breadth of N rectangles and a range i.e. [a, b], the task is to count the number of rectangles whose sides(larger/smaller)… Read More »

## Minimum squares to evenly cut a rectangle

Given a rectangular sheet of length l and width w. we need to divide this sheet in the square sheets such that the number of… Read More »

## Number of squares of side length required to cover an N*M rectangle

Given three numbers , , . Find Number of squares of dimension required to cover rectangle. Note: It’s allowed to cover the surface larger than… Read More »