3 ms·
Reminds me of a question one interviewer asked me to do at the very beginning of the session when I did my first onsite at Google - write a regex for emails. I
by Bahamut 9y ago
Reminds me of a question one interviewer asked me to do at the very beginning of the session when I did my first onsite at Google - write a regex for emails. I told him no, and explained why. He then asked me to write a naive email regex to catch a simple situation, which I subsequently did.
- aaronchall 9y agoThis makes sense as an interview question. Will the interviewee push back when asked to do something impossible? Will they then demonstrate that they can do some simpler case (which will minimize mental switching costs for both the interviewee and interviewer)?
- akhilcacharya 9y agoWriting a regex at a Google onsite? For SWE?