Skip to content

Tag Archives: triangle

Given three Cartesian coordinates, the task is to check if a right-angled triangle can be formed by the given coordinates. If it is possible to… Read More
Given three integers A,B and C which denotes length of the three medians of a triangle, the task is to calculate the area of the… Read More
Given two integers A, B representing the length of two sides of a triangle and an integer K representing the angle between them in radian,… Read More
Given the length of all three sides of a triangle as a, b and c. The task is to calculate the length of the median… Read More
Given the median of the Equilateral triangle M, the task is to find the area of the circumcircle of this equilateral triangle using the median… Read More
Given the length of a side a of a triangle and its adjacent angles B and C, the task is to find the remaining two… Read More
Given four integers A, B, C, and D, the task is to find the number of distinct sets (X, Y, and Z) where X, Y… Read More
Given coordinates of three points in a plane P1, P2 and P3, the task is to check if the three points form a triangle or… Read More
Given a number K, the task is to find the sum of numbers at the Kth level of the Fibonacci triangle.Examples:   Input: K = 3… Read More
Given an integer R which denotes the radius of a circle, the task is to find the area of an equilateral triangle inscribed in this… Read More
Given an equilateral triangle, the task is to compute the total number of triangles after performing the following operation N times. For every operation, the uncolored… Read More
Given an integer S, the task is to find the coordinates of a triangle whose area is (S / 2). Examples:  Input: S = 4 Output: (0,… Read More
Given a square with N points on each side of the square and none of these points co-incide with the corners of the square. The… Read More
Given three coordinates of a triangle (x1, y1), (x2, y2), (x3, y3). The task is to find out if the triangle can be transformed to… Read More
Given three integers A, B and C which are the three angles of a possible triangle in degrees, the task is to check whether the… Read More