That might work if the guy interviewing you have seen it, but I just really want to reply to can "can you write a function to traverse a tree" with "yes, on page 3 of the source code to the compiler I implemented in clojure".
He waved me off, that was good enough for him. The rest of the interview was then about cultural fit and ability to ship software on time without drama.
(And no, what I wrote is not in the same league as Clojure, much less the same ballpark. But it was good enough to demonstrate some basic understanding of Java and familiarity with undergraduate-level Computer Science.)