Find all functions $f\colon \Bbb R\to \Bbb R$ such that $f(1-f(x)) = x$ for all $x \in \Bbb R$.
This is a question from the national olympiad in Germany 2018.
All i could do is to try with some linear functions like $f(x) = x+1$
I am very good at calculus but I don't know how to approach the problems where I have to find a particular function. Is there a specific algorithm I should use?

This is a partial answer.
Any solution of the functional equation must be bijective.
Injectivity is easy: $$f(x)=f(y) \quad \Rightarrow \quad 1-f(x)=1-f(y) \quad \Rightarrow \quad f(1-f(x))=f(1-f(y)) \quad \Rightarrow \quad x=y$$
Surjectivity is even easier: that's because $x=f(1-f(x))= f(\mathrm{something})$.
If we look for "nice" functions, we could start by looking for continuous ones. However, there is no continuous function which solves $f(1-f(x))=x$.
Indeed, if $f$ is continuous, then $f$ must be monotone (that's because it's bijective!). Suppose that $f$ is increasing. Then, for $x<y$ you have $$x<y \quad \Rightarrow \quad f(x)<f(y) \quad \Rightarrow \quad 1-f(x) > 1-f(y) \quad \Rightarrow \quad f(1-f(x)) > f(1-f(y))$$ which implies $x>y$. A similar contradiction shows that $f$ cannot be decreasing.
Thus, there is no continuous solution.