What is interval notation?

A notation for representing an interval as a pair of numbers. Parentheses and/or brackets are used to show whether the endpoints are excluded or includeded.
For example: