D
D W
I recently interview for a job where they asked me how many gas stations
there are in America. I got to an answer (out loud) and the interviewer
sat and worked through my logic with me. Once we were done with that,
he asked me to do it again, but a different way. It actually led to
some pretty interesting conversation. He also asked me to design the
functionality of an elevator, and he wanted to see me write a version of
strrev() (just so he knew I wasn't wasting his time).
One of the more interesting interviews I've ever had.
BTW, there were roughly 121,000 gas stations in America in 2004. The
number I ended up with was 150,000...which wasn't the point, but I still
got pretty close!
there are in America. I got to an answer (out loud) and the interviewer
sat and worked through my logic with me. Once we were done with that,
he asked me to do it again, but a different way. It actually led to
some pretty interesting conversation. He also asked me to design the
functionality of an elevator, and he wanted to see me write a version of
strrev() (just so he knew I wasn't wasting his time).
One of the more interesting interviews I've ever had.
BTW, there were roughly 121,000 gas stations in America in 2004. The
number I ended up with was 150,000...which wasn't the point, but I still
got pretty close!