Problem Statement

Let's look at a problem statement that asks you to design a search relevance system for a search engine.

Problem statement

The interviewer has asked you to design a search relevance system for a search engine.

Clarifying questions

Let’s clarify the problem statement by specifying three aspects: scope, scale, and personalization.

Problem scope

The interviewer’s question is really broad. Your best bet is to avoid ambiguities and ask the interviewer as many questions as you can. This will narrow down your problem space as you are thinking out loud for the best solution.

So, your first question for the ...