# Tag Archives: triangle

## Find the dimensions of Right angled triangleNovember 14, 2017

Given H (Hypotenuse) and A (area) of a right angled triangle, find the dimensions of right angled triangle such that the hypotenuse is of length… Read More »

## Maximum number of squares that can fit in a right angle isosceles triangleSeptember 20, 2017

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 sidesAugust 23, 2017

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 PlaneJuly 7, 2017

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 TriangleJune 29, 2017

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 triangleJune 10, 2017

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

## Find all angles of a given triangleMay 21, 2017

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 insideMay 7, 2017

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 TriangleApril 16, 2017

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 hypotenuseApril 14, 2017

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 triangleApril 8, 2017

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 sideFebruary 24, 2017

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 colorsFebruary 11, 2017

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 valuesFebruary 10, 2017

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.February 9, 2017

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 »