which of the following function are reimann integrable on the interval $[0,1].$?
$1)$ $f(x) =\begin{cases} 1, &\text{if x is rational }\\ 0, &\text{if x is irrational } \end{cases}$
$2)$ $f(x) =\begin{cases} 1, &\text{if x } \in \{\alpha_1,\alpha_2,.......,\alpha_n\}\\ 0, &\text{otherwise } \end{cases}$
i know that option $1) $ will not reimann integrable because it is not bounded.
im confused about option $2)$
Any hints/solution