I always thought that would have been particularly galling if it had been my interview...
I always thought that would have been particularly galling if it had been my interview...
After the interview I ran the problem by a couple very senior front end devs at fang companies and they wouldn't have gotten it either. Before the rejection I thought I might be ok - it's not about getting it correct, they say, it's about the process - but slow thinking is a very real problem in the context of interviews like this.
Exactly. And it sickens me. I'd like the resumes to be scrubbed, zero knowledge of the school someone went to. I see dynamic programming problems used for the same, either you have had them in an academic setting or you probably going in blind.
A more humane and useful questions starts off easy, if they get that, add in extra conditions to make it more difficult and extract more signal. Almost any easy questions can from duh to omg in a handful of criteria.
Later that evening a much better solution occurred to me so I coded it up and emailed it to the interviewers.
I got an offer the next morning.