3 ms·
Yes, my math grad student time ws an excellent preparation for coding interviews. In addition to the oral exams, I found TA'ing was also an excellent preparatio
by sdenton4 3y ago
Yes, my math grad student time ws an excellent preparation for coding interviews. In addition to the oral exams, I found TA'ing was also an excellent preparation. Students show up with lots of questions, which you get to solve on your toes at a board...
Classes and competitions also generally have an allowed 'bag of tricks' from which you build your solutions. White-board coding interviews are the same. If you want to do well, you get to know what the 'atomic' operations are in your bag of tricks, how they combine into useful tools, and how to spot when they might be useful in the 'wild.'
Restating/reworking a problem into a form where some tricks are more obviously applicable is also a useful skill. These are general problem solving skills, which are pretty independent of what's actually in the bag of tricks... Draw a picture, try a concrete example, identify the pen-ultimate step, etc.
When I give whiteboard interviews, I have a favorite question with about four reasonable stopping points. My general approach is to work with the candidate until they get stuck, and then see how handle being stuck and getting un-stuck. So, even if you have trouble with the 'easiest' part of the problem, I can still get a good read on the general problem solving skills. (And if you sail through to the hardest level solution without getting stuck, you're probably worth hiring anyway...)
- selecsosi 3y agoYour experience matches my own with TA'ing being a fertile training ground for solving problems from a variety of perspectives on your toes. I also appreciate your resultant interview approach with which I've also found great success. The point for me that is most revealing is the adaptation to the sticking point, as the questions are engineered to zig, when a candidate zags more than from solving any particular software problem.