But I actually did solve some really hard algorithmic questions in my doctoral thesis - they are just of a very different kind than the "algorithmic brainteasers" that seem to be common in job interviews in the Silicon Valley.
The things recruiters told you ("not sufficiently pragmatic" or that you belong in academia)... they didn't tell you this to talk down to you but to give you hints.
I would have loved to stay in academia. The problem, why I left academia is the infamous Wissenschaftszeitvertragsgesetz, which gives you an employment ban on temporary contracts in academia after 6+6 years. Since nearly every employment contract in science is temporary, this actually implies a nearly complete employment ban in science after at most 12 years.
Link in german:
https://www.forschung-und-lehre.de/die-zehn-haeufigsten-irrt...
Nr 3