## Number of rectangles in a circle of radius R

Given a circular sheet of radius R and the task is to find the total number of rectangles with integral length and width that can… Read More »

- Number of Isosceles triangles in a binary tree
- Number of triangles that can be formed with given N points
- Maximum path sum in an Inverted triangle | SET 2
- Number of triangles formed from a set of points on three lines
- Program to calculate the Area and Perimeter of Incircle of an Equilateral Triangle
- Area of Incircle of a Right Angled Triangle

Given a circular sheet of radius R and the task is to find the total number of rectangles with integral length and width that can… Read More »

Given four array of 3 numbers each which represents sides and angles of two triangles. The task is to check if two triangles are similar… Read More »

Given an array, we need to find the maximum height of the triangle which we can form, from the array values such that every (i+1)th… Read More »

Given a triangular structure of numbers, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the… Read More »

Given an Array of non-negative integers. Find out three elements from this array which form a triangle of maximum perimeter. Examples : Input : {6,… Read More »

Given a number X which represents the floor of a matchstick pyramid, write a program to print the total number of matchstick required to form… Read More »

Given the length of sides of an equilateral triangle. We need to write a program to find the area of Circumcircle of the given equilateral… Read More »

Given an integer N, we need to find three integers(X, Y, Z) which can form a triangle with the following conditions: Lengths of sides are… Read More »

Sierpinski triangle is a fractal and attractive fixed set with the overall shape of an equilateral triangle. It subdivides recursively into smaller triangles. Examples :… Read More »

Given three sides, check whether triangle is valid or not. Examples: Input : a = 7, b = 10, c = 5 Output : Valid… Read More »

There are ‘n’ points in a plane, out of which ‘m’ points are co-linear. Find the number of triangles formed by the points as vertices… Read More »

Given the value of n, print the pattern. Examples : Input : n = 5 Output : 0 101 21012 3210123 432101234 Input : n… Read More »

Given length of sides of equilateral triangle (s), and velocities(v) of each animal tagged on the vertices of triangle, find out the time after which… Read More »

Find the number of triangles in Nth step, Rules: Draw an equilateral triangle at the start. In the i-th move, take the uncolored triangles, divides… Read More »

Given two sides A, B and angle C. Find the third side of the triangle using law of cosines. Examples: Input : a = 5,… Read More »