I once interviewed at CrunchyRoll a couple of years ago, and every single interviewer asked me to implement some flavor of a tree traversal algorithm. The final guy mixed it up by asking me to solve the Knapsack Problem. At the end of the day, I said to the interviewer, "You must traverse trees a lot, then" and he looked at me like I was crazy and said "No, never."
Being a Netflix for anime company, I'm willing to bet they don't fill boxes/knapsacks with products, either.
Ok, so then WTF am I doing here?
So if you think you are being tested on being able to recite CS algorithms, the answer is "almost never". But if you think you are being tested on, "Can you solve a problem with code, and make it perform well?", the answer is "Every day."
For instance, you may be asked to write a short program to solve some example problem. That problem may be entirely unrelated to the sort of work you'll do in the position, but the point of the exercise isn't to find out if you know how to solve that particular problem, it's to get an insight into your approach to problem-solving and development more generally.
Worse still, the stuff I'm "tested" on in interviews is often unrelated to the job spec.
And of course, the job spec is often not very well aligned with the real job spec (what one actually does every day).