Exactly. I get why interviewers want some sort of "can they code" filter. The test can be extremely simple though. If knowing data structures and algorithms were by heart was so central to every developer's work, then they wouldn't be interview questions.