## Maximum number of squares that can fit in a right angle isosceles triangle

You are given an isosceles (a triangle with at-least two equal sides) right angle triangle with base b, we need to find the maximum number… Read More »

## Check whether right angled triangle is valid or not for large sides

Given three integers a, b and c as triplets. Check if it is possible to make right angled triangle or not. Print Yes if possible,… Read More »

## Number of Triangles that can be formed given a set of lines in Euclidean Plane

Given a set L = {l1, l2, ………, ln} of ‘n’ distinct lines on the Euclidean Plane. The ith line is given by an equation… Read More »

## Program to find Circumcenter of a Triangle

Given 3 non-collinear points in the 2D Plane P, Q and R with their respective x and y coordinates, find the circumcenter of the triangle.… Read More »

## Find other two sides of a right angle triangle

Given one side of right angle triangle, check if there exists a right angle triangle possible with any other two sides of the triangle. If… Read More »

## Find all angles of a given triangle

Given coordinates of all three vertices of the triangle in the 2D plane, the task is to find all three angles. Example: Input : A… Read More »

## Triangle with no point inside

Given N points in 2-dimensional space, we need to find three points such that triangle made by choosing these points should not contain any other… Read More »

## Maximum sum of a path in a Right Number Triangle

Given a right triangle of numbers, find the largest of the sum of numbers that appear on the paths starting from the top towards the… Read More »

## Check if right triangle possible from given area and hypotenuse

Given area and hypotenuse, the aim is to print all sides if right triangle can exist, else print -1. We need to print all sides… Read More »

## Maximum number of 2×2 squares that can be fit inside a right isosceles triangle

What is the maximum number of squares of size 2×2 units that can be fit in a right angled isosceles triangle of a given base… Read More »

## Find coordinates of the triangle given midpoint of each side

Given three coordinates (x, y), which are the midpoint of the sides of the triangle. The task is to find the coordinates of the triangle.… Read More »

## Maximum area of triangle having different vertex colors

Given a matrix of N rows and M columns, consists of three value {r, g, b}. The task is to find the area of the… Read More »

## Possible to form a triangle from array values

Given an array of integers, we need to find out whether it is possible to construct at least one non-degenerate triangle using array values as… Read More »

## Maximum path sum in a triangle.

We have given numbers in form of triangle, by starting at the top of the triangle and moving to adjacent numbers on the row below,… Read More »

## Number of possible Triangles in a Cartesian coordinate system

Given n points in a Cartesian coordinate system. Count the number of triangles formed. Examples: Input : point[] = {(0, 0), (1, 1), (2, 0),… Read More »