Skip to content

Category Archives: Geometric

Given two coordinates, find the slope of a straight line. Examples:  Input : x1 = 4, y1 = 2, x2 = 2, y2 = 5… Read More
Given two sides A, B and angle C. Find the third side of the triangle using law of cosines.Examples:   Input : a = 5, b… Read More
Given a division of a circle into n pieces as an array of size n. The ith element of the array denotes the angle of… Read More
A pyramid is a 3-dimensional geometric shape formed by connecting all the corners of a polygon to a central apex. There are many types of pyramids.… Read More
An equilateral triangle is a triangle in which all three sides and angles are equal. All three internal angles of equilateral triangle measures 60 degree.… Read More
A regular octagon is a closed figure with sides of the same length and internal angles of the same size. It has eight lines of… Read More
Given two integers a and b, find the smallest possible height such that a triangle of atleast area “a” and base “b” can be formed. … Read More
Given slant height, height and radius of a cone, we have to calculate the volume and surface area of the cone.  Cone : Cone is a… Read More
Definition of Trapezoid : A Trapezoid is a convex quadrilateral with at least one pair of parallel sides. The parallel sides are called the bases of… Read More
A hexagon is a 6-sided, 2-dimensional geometric figure. The total of the internal angles of any hexagon is 720°. A regular hexagon has 6 rotational… Read More
Given three points of a regular polygon(n > 3), find the minimum area of a regular polygon (all sides same) possible with the points given.Examples: … Read More
The circumference of a figure is the sum of all the side lengths. To calculate the circumference of square, length of one of the side… Read More
Given radius of sphere, calculate the volume and surface area of sphere.Sphere: Just like a circle, which geometrically is a two-dimensional object, a sphere is defined… Read More
Given H (Hypotenuse) and A (area) of a right angled triangle, find the dimensions of right angled triangle such that the hypotenuse is of length… Read More
Find the all the possible coordinate from the given three coordinates to make a parallelogram of a non-zero area.Let’s call A,B,C are the three given… Read More

Start Your Coding Journey Now!