4 ms·
the problem isn't the algorithms but the whiteboard. in my last interview I couldn't remember which of the various top/parent/offset variables defined the dist
by Jack000 10y ago
the problem isn't the algorithms but the whiteboard.
in my last interview I couldn't remember which of the various top/parent/offset variables defined the distance from the top of the document to the top of the viewport. It's a trivial thing that you can just google so I just used a placeholder. One interviewer was fine with it and another wasn't.
coding on a whiteboard from nothing but memory under time constraint has nothing to do with actual coding and amounts to a hazing ritual imo.