This is an unfortunately common, but misguided assumption that one must have X knowledge, or be able to solve Y, else you're not a programmer.
This isn't the1980s, diversity of talent is so vast today, many work the career without ever knowing what a binary tree is, and this, is, a, good, thing.