## 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 »

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 »

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 »

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 »

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 »

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 N * M grid. It contains exactly three ‘*’ and every other cell is a ‘.’ where ‘*’ denotes a vertex of a… Read More »

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 »

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 »

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 »

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 »

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 »

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 »

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 »

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 »

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 »