Here is an interview question:
$f:[0,1]\rightarrow [0,1],$ a 'almost' monotone increasing function. Given 10 inputs and their outputs, how can you find the best estimation of $f(x) = 0.5?$
I think using interpolation is best here. However almost monotone increasing seems very tricky. Is there any good idea behind it?