2 ms·
It was a combinatorial sum-of-n problem. Given a sequence of integers, can you produce a target by summing N of the values. He used Excel to put the expected re
by erichurkman 9y ago
It was a combinatorial sum-of-n problem. Given a sequence of integers, can you produce a target by summing N of the values. He used Excel to put the expected return value in column A, the target in B, and C+ were values. Saved as a CSV which his program ingested. It was neat, actually: the rationale he gave was that it made it easy for anyone to add test cases.
(The candidate was previously in the accounting biz, so his navigation of Excel to do this was wizardlike to produce a few dozen test cases in about a minute.)
- azinman2 9y agoSounds like you appreciated his solution, but your first post made it sound like he was incompetent. I’m confused.
- erichurkman 9y agoNot incompetent. Doing it via screen share lets you see their approach to problems — sometimes those approaches are poor. Had it been a take home test, I would have never seen him do that, and never had the opportunity to discuss the approach.