Track TypeScript
TypeScript track

Pythagorean Triplet

An exercise from the TypeScript track
medium

About this exercise

There exists exactly one Pythagorean triplet for which a + b + c = 1000. Find the product a * b * c.

algorithms
control flow conditionals
control flow loops
integers
math
View all solutions