# An example of a generalized Cantor set with positive Lebesgue measure [duplicate]

I want to know if there exist a set $X\subset \mathbb R$ such that $X$ is

$i)$ Perfect

$ii)$ Compact

$iii)$ Has empty interior

$iv)$ Totally disconnected

$v)$ Is not countable

But $X$ has positive Lebesgue measure.

The sets that are defined with the above properties are called generalized Cantor sets.

Please could you tell me how to construct an explicit example?