Given a rectangle [(x1, y1), (x2, y2)] denoting the coordinates of bottom-left corner and top-right corner whose sides are parallel to coordinates axes and N… Read More

# Tag Archives: triangle

Given an array arr[] consisting of N integers, the task is to find the size of the largest subset of the array such that a… Read More

In Mathematics, there are plethora of shapes and sizes, and Triangles are known to be one of the most important shapes. Triangles in real life… Read More

Given a rectangle of length L and breadth B, the task is to print the maximum integer altitude possible of the largest triangle that can… Read More

Given a positive integer N representing the side of a square, the task is to find the area of a triangle formed by connecting the… Read More

The basic construction techniques allow constructing perpendicular bisectors, angle bisectors, and so on. These basic techniques can be used for more complex constructions. These constructions… Read More

Things are often referred similar when the physical structure or patterns they show are having similar properties, Sometimes two objects may vary in size but… Read More

Given two integers A and B, representing the length of the semi-major and semi-minor axis of an ellipse with the equation (x2 / A2) +… Read More

Triangles are three-sided polygon which have three vertices. Basic construction techniques allow us to construct triangles. An important property of the triangle is that sum… Read More

While solving and finding the Area of a Triangle, Certain parameters are expected to be provided beforehand, for example, the height and the base of… Read More

We know that a closed figure formed by three sides is known as a triangle. A triangle has three sides, three vertices, and three angles.… Read More

Given six integers representing the vertices of a triangle, say A(x1, y1), B(x2, y2), and C(x3, y3), the task is to find the coordinates of… Read More

Given two 2D arrays rectangle[][] and triangle[][], representing the coordinates of vertices of a rectangle and a triangle respectively, and another array points[][] consisting of… Read More

An angle is made of, when two lines intersect to each other. We denote an angle by this symbol “∠”. An angle involves two legs… Read More

Given three integers P, Q, and R representing 3 non-collinear points on a 2D plane with their respective x and y-coordinates, the task is to… Read More