Continuous function which has uncountable intersections with each parallel line to $y=x$

88 Views Asked by At

Does there exist a continuous function $f:[0,1]\to [0,1]$ for which the following holds? $$\forall k\in\mathbb{R}, 0<k<1 \: :\:\mathscr{S}_k= \{x\in[0,1]\mid f(x)=x+k\}\: \text{is an uncountable set}$$