🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← 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?

  1. A.To make the interview longer
  2. B.Because the size tells you how efficient the solution must be
  3. C.Interviewers never answer it
  4. 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 →