I find it incredibly depressing that the current state of interviews for many companies is still a bunch of algorithm problems that test how much time you've spent grinding through leetcode. Like many other things we've optimized on what is easy to test, rather than what is relevant.

Totally agree. There are a lot of companies that are trying to improve this: https://github.com/poteto/hiring-without-whiteboards.