[1] https://www.reddit.com/r/taoism/comments/38h66v/liezi_book_8...
Anyway, I had a couple of off by errors. The interviewer asked me if I was sure I didn't have any, so I had a look through, stepped through the code, and lo and behold, I did. While I was doing this process, we ended up having a discussion about how unit testing would help avoid problems like off by 1 errors, and would make iterating through the code and refactoring a lot easier.
That's what a good tech interview should look like, not expecting someone to write perfect code, first time.
On a side note, I didn't end up getting the job, since they had apparently hired someone the day before I came in for the interview. Apparently I managed to apply for the job the day they closed applications, but they asked if I wanted to interview anyway, out of courtesy.
i did one "field of dreams" project using a stack that i was mostly familiar with already and several "effort" project to learn and demonstrate skills in a different language/stack (Clojure).
totally agree that once the interview screens started, that side-project time got scaled back to vanishing. however, i'm really thankful that i had enough time to do the side project milestone as well as the interview proper, because i wound up finding a role developing in Clojure. i don't think that would've been possible had i not invested the time in side projects before starting in on interviews.