Hacker News new | ask | show | jobs
by Strilanc 4677 days ago
I always found tests kind of... interesting. I stressed about missing them, but learned to not worry about taking them. It helped that I was in CS/math/science courses. Questions tended to be semi-fun puzzles instead of memorization.

Actually, one of my favorite memories from university is from an algorithms test. We had to find nearest smallest neighbors, or something like that, in O(n lg n) time. Our professor was good, and an algorithms guy, so I was surprised when I realized it could be done with just two sweeps across the list [O(n)]. When I showed him (I was wondering if the question mentioning 'divide and conquer' was a hint or a restriction), he couldn't believe he'd missed it.