## Count the total number of triangles after Nth operation

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… 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… 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… 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 »

Given the vertices of a triangle and length of its sides. A circle is inscribed in a triangle. The task is to find the incenter… Read More »

Given that the area of a right-angled triangle is X times its base b. The task is to find the height of the given triangle.… Read More »

Given two integers X and Y. The task is to find two vertices of an isosceles triangle ABC(right-angled at B) which has one vertex at… Read More »

Given a straight line with equation coefficients as a, b & c(ax + by + c = 0), the task is to find the area… Read More »

Given an array of N integers where arr[i] denotes the number of sticks of length 2i. The task is to find the number of triangles… Read More »

Given the other two sides of a right angled triangle, the task is to find it’s hypotenuse. Examples: Input: side1 = 3, side2 = 4… Read More »

Given numbers in form of an Inverted triangle. By starting at the bottom of the triangle and moving to adjacent numbers on the row above,… Read More »

Given X and Y coordinates of N points on a Cartesian plane. The task is to find the number of possible triangles with the non-zero… Read More »

Given the P, B and H are the perpendicular, base and hypotenuse respectively of a right angled triangle. The task is to find the area… Read More »

Given the length of sides of an equilateral triangle, the task is to find the area and perimeter of Incircle of the given equilateral triangle.… Read More »