5 ms·
To implement it or describe what it's for?
by mdaniel 11y ago
To implement it or describe what it's for?
- eli 11y agoI was asked to implement it on a whiteboard for a developer gig at an ad agency in like 2009. I thought it seemed disproportionately hard compared to what the job was likely to require.
- InclinedPlane 11y agoReally? It seems like a trivial programming exercise to me.
- jarcane 11y agoI've actually done it myself for fun in Haskell; it's one of the CodeWars challenges.
- cbd1984 11y agoIt's trivial if you are told what the algorithm is. If you're expected to randomly remember it perfectly and implement it that way, it's hard.
- InclinedPlane 11y agoCertainly. That's a very poor interview process.
- justinzollars 11y agoimplement in both cases, after a clear definition.