Order the steps
Order the steps when you are stuck.
- Say that you are stuck and what you have tried
- Write the brute force
- Solve a tiny example by hand
- Ask a focused question about one assumption
Choose an answer, then open Show answer below to check it.
Show answer
Answer: A C B D
- Say that you are stuck and what you have tried It keeps the interviewer involved.
- Solve a tiny example by hand Your own steps often reveal the algorithm.
- Write the brute force Something correct is better than nothing.
- Ask a focused question about one assumption It earns a precise hint.