## Area of square Circumscribed by Circle

Given the radius(r) of circle then find the area of square which is Circumscribed by circle. Examples: Input : r = 3 Output :Area of… Read More »

Given the radius(r) of circle then find the area of square which is Circumscribed by circle. Examples: Input : r = 3 Output :Area of… Read More »

Given three sides, check whether triangle is valid or not. Examples: Input : a = 7, b = 10, c = 5 Output : Valid… Read More »

Given a number N, find the number of ways you can draw N chords in a circle with 2*N points such that no 2 chords… Read More »

Given four positive integers, determine if there’s a rectangle such that the lengths of its sides are a, b, c and d (in any order).… Read More »

There are ‘n’ points in a plane out of which ‘m points are collinear. How many different straight lines can form? Examples: Input : n… Read More »

Given three points on the x-y coordinate plane. You need to find the no. of line segments formed by making a polyline passing through these… Read More »

Given four points, check whether they form Pythagorean Quadruple. It is defined as a tuple of integers a, b, c, d such that . They… Read More »

Given the edge of the dodecahedron calculate its Volume. Volume is the amount of the space which the shapes takes up. A dodecahedron is a… Read More »

Given two endpoint of diameter of a circle (x1, y1) and (x2, y2) find out the center of a circle. Examples : Input : x1… Read More »

Given diameter and height, find the perimeter of a cylinder. Perimeter is the length of the outline of a two – dimensional shape. A cylinder… Read More »

In a circle, if a chord is drawn then that chord divides the whole circle into two parts. These two parts of the circle are… Read More »

Given two positive integers n and m. The task is to count number of parallelogram that can be formed of any size when n horizontal… Read More »

Given two coordinates of a line starting is (x1,y1) and ending is (x2,y2) find out the mid-point of a line. Examples: Input : x1 =… Read More »

Given a N*M matrix A[][] representing a 3D figure. The height of the building at is . Find the surface area of the figure. Examples… Read More »

Given slant height, height and radius of a frustum of a cone, we have to calculate the volume and surface area of the frustum of… Read More »