## Largest cube that can be inscribed within the sphere

Given here is a sphere of radius r, the task is to find the side of the largest cube that can fit inside in it.… Read More »

- Puzzle | Minimum distance for Lizard
- Number of quadrilaterals possible from the given points
- Find a point such that sum of the Manhattan distances is minimized
- Rectangle with minimum possible difference between the length and the width
- Find K Closest Points to the Origin
- Check if it is possible to move from (0, 0) to (x, y) in N steps
- Check if a point lies on or inside a rectangle | Set-2
- Number of triangles that can be formed with given N points
- Intersecting rectangle when bottom-left and top-right corners of two rectangles are given
- Largest Square that can be inscribed within a hexagon
- Minimum squares to cover a rectangle
- Area of a circle inscribed in a regular hexagon
- Area of largest triangle that can be inscribed within a rectangle
- Check whether the point (x, y) lies on a given line
- Check if any square (with one colored cell) can be divided into two equal parts
- Check if a point is inside, outside or on the ellipse
- Program for Area Of Square after N-th fold
- Number of squares of side length required to cover an N*M rectangle
- Maximum number of pieces in N cuts
- Program to find the Radius of the incircle of the triangle
- Check if a point is inside, outside or on the parabola
- Program to find the Circumcircle of any regular polygon
- Area of Largest rectangle that can be inscribed in an Ellipse
- Program to find the angles of a quadrilateral
- Largest sphere that can be inscribed in a right circular cylinder inscribed in a frustum
- Check if it is possible to create a polygon with a given angle
- Find a point that lies inside exactly K given squares
- Find area of triangle if two vectors of two adjacent sides are given
- Circumradius of the rectangle
- Maximum area of rectangle possible with given perimeter

Given here is a sphere of radius r, the task is to find the side of the largest cube that can fit inside in it.… Read More »

Given here is a cube of side length a, the task is to find the biggest sphere that can be inscribed within it. Examples: Input:… Read More »

Given M x N Chessboard. The task is to determine the Maximum numbers of cuts that we can make in the Chessboard such that the… Read More »

Given a perimeter P and area A, the task is to calculate the maximum volume that can be made in form of cuboid from the… Read More »

Given the length of diagonals of a rhombus, d1 and d2. The task is to find the perimeter and the area of that rhombus. A… Read More »

Given here is a regular decagon, inscribed within a circle of radius r, the task is to find the area of the decagon. Examples: Input:… Read More »

Given focus(x, y), directrix(ax + by + c) and eccentricity e of an ellipse, the task is to find the equation of ellipse using its… Read More »

Given the perimeter of a rectangle, the task is to find the maximum area of a rectangle which can use n-unit length as its perimeter.… Read More »

Given an array arr[] of size M. The array represents segment lengths of different sizes. These segments divide a line beginning with 0. The value… Read More »

You are given n straight lines. You have to find maximum number of point of intersection with these n lines. Examples: Input : n =… Read More »

Given a point (x1, y1, z1) in 3-D and coefficients of the equation of plane, we have to find the foot of perpendicular of a… Read More »

We are given focus(x, y) and directrix(ax + by + c) of a parabola and we have to find the equation of parabola using its… 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 the centre of circle (x1, y1) and its radius r, find the equation of the circle having centre (x1, y1) and having radius r.… Read More »

Given two coordinates (x1, y1, z1) and (x2, y2, z2) in 3D, and m and n, find the co-ordinates that divides the line joining (x1,… Read More »