|
|
|
|
|
by sireat
4108 days ago
|
|
Is this supposed to be a bad interview question? To me this seems like a good one only because it gave me immediately some talking points to put on a whiteboard. - Build graph with vertices being words and edges being all words differing by one character
- search graph for shortest path between given two words Implementation would be another matter as there are a number of complexity gotchas. This would be a job for hitting CLRS. This seems like something most people could come up with to start as it seems pretty obvious but a single graph theory course I took some years ago must have biased me a bit. |
|
I interviewed at an internet darling company. They had the main interviewer (who was a bit rude) and another shadow interviewer who takes notes on everything you do an say. All interviews are like this.
The coding gotchas quickly make you super nervous as everything you do and say is recorded. You have 15 minutes. Plus whiteboard is not an editor. I don't code linearly like writing a text book.
I have come to a realization that fresh out of university me performs better at interviews than 7 year experienced me.