The number of line segments required to construct a triangle is:
3
A triangle is a closed figure having 3 sides.
The three sides are basically 3 line segments which intersect at 3 different points called the vertex.
Thus, we can use 3 line segments with suitable lengths to construct a triangle.