I have been researching about Partition of an Interval, and I'm quite confused.
Some articles(Peoples) say Partition of $[a,b]$ is a finite sequence of $ a = x_0 < x_1 < \cdot\cdot\cdot < x_n=b$ which is $P={\{x_0, x_1, \cdot\cdot\cdot, x_n}\}$ and $[x_0, x_1], [x_1, x_2], \cdot\cdot\cdot, [x_{n-1}, x_n]$ is the subintervals of Partition P
while others say its a set of subdivided subintervals $P={\{[x_0, x_1], [x_1,x_2]}, \cdot\cdot\cdot, [x_{n-1}, x_n\}$
so as in the title, what exactly is a Partition of $[a,b]$