Welcome To Tutorialspoint.dev
Officially launched 18th May 2019

# Count number of unique Triangles using STL Set 1 (Using set)

We are given n triangles along with length of their three sides as a,b,c. Now we need to count number of unique triangles out of these n given triangles. Two triangle...

# p5.js triangle() Function

The triangle() function is an inbuilt function in p5.js which is used to draw a triangle in a plane. This function accepts three vertices of triangle. Syntax: triangl...

# Floyd’s triangle in PL/SQL

Prerequisite &#x2013; PL/SQL introduction In PL/SQL code groups of commands are arranged within a block. A block group related declarations or statements. In declare ...

# Rendering a Triangle using OpenGL(using Shaders)

In this article we&#x2019;ll see how to render a triangle using OpenGL. A triangle is probably the simplest shapes you can draw in OpenGL after points and lines and a...

# Number of triangles in a plane if no more than two points are collinear

Given n points in a plane and no more than two points are collinear, the task is to count the number of triangles in a given plane. Examples: Input : n = 3 Output : ...

# 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, find the maximum total from top to ...

# Minimum Sum Path in a Triangle

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 row below. Examples : Input :...

# 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 base, so that on each path the ne...

# Check whether a given point lies inside a triangle or not

Given three corner points of a triangle, and one more point P. Write a function to check whether P lies within the triangle or not. For example, consider the followin...

# Maximum height when coins are arranged in a triangle

We have N coins which need to arrange in form of a triangle, i.e. first row will have 1 coin, second row will have 2 coins and so on, we need to tell maximum height w...