I am just a student but do interview questions come without any concrete problem to solve? Or are they really like "Which data structure would you use for repetitive look-ups?", "Implement FizzBuzz" and so on instead of something like "You need to look up a words in a English dictionary for a spelling program, how would you solve it?".
It depends. In many cases it's impossible to give sufficient context to provide a real-world problem that will let the candidate show their understanding of algorithms and data structures. Sometimes it's necessary to ask these sorts of questions in isolation, without a concrete problem. Not least, sometimes a real world problem is better solved in a different way anyway, which subverts the intent. Understand, most re…
Computer Science Interview Questions with C++ Solutions
71–73 of 73 posts
Re: Computer Science Interview Questions with C++ Solutions
#72Earlier quoted context omitted.
Maybe they're not commonly used in interviews because too few people refuse to take the sort of interviews where they wouldn't be allowed?
And that will continue to be the case, because the overwhelming majority of programmers even in really cutting-edge areas don't need it, so being able to speak Java is still valuable. Knowing how to write code in functional languages has helped me write Java, too.
Re: Computer Science Interview Questions with C++ Solutions
#73Earlier quoted context omitted.
Maybe they're not commonly used in interviews because too few people refuse to take the sort of interviews where they wouldn't be allowed?
And that will continue to be the case, because the overwhelming majority of programmers even in really cutting-edge areas don't need it, so being able to speak Java is still valuable. Knowing how to write code in functional languages has helped me write Java, too.