← Quiz: Technical Interviews: all 10 questions
Quiz: Technical Interviews · Question 6 of 10
Why should you ask about input size before solving an interview problem?
Why should you ask about input size before solving an interview problem?
- A.To make the interview longer
- B.Because the size tells you how efficient the solution must be
- C.Interviewers never answer it
- D.Input size does not matter
Answer & explanation
Correct answer: Because the size tells you how efficient the solution must be
A brute force may be fine for 100 elements but too slow for a million.
Can you get the rest right without peeking?
Take the timed Quiz: Technical Interviews quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →