3 ms·
In fact now that I think about it, it might be a good test to see if they are passionate enough to be a great problem solver: When was the last time you wrote
by ricksharp 6y ago
In fact now that I think about it, it might be a good test to see if they are passionate enough to be a great problem solver:
When was the last time you wrote a sorting algorithm?
Acceptable answers:
- You mean sorting a list?
- In school
- Why would I write a sorting algorithm?
- Never
- (Glazing eyes and other body language that indicates frustration)
Red Flags:
- Anything that indicates they think writing a sorting algorithm is a perfectly logical thing to do during the course of software development.
(Note: The problem is sorting may seem like a well-understood problem, but it’s actually not. Only a person who studied the algorithms in school as an assignment would feel comfortable with that code.)
- craftinator 6y agoAcceptable answer: it depends on what I'm sorting. Is it a primitive like char strings, numbers, or a more complex data type? Could it have null values and type mismatches, am I using a strongly typed language? Does it need to be cleaned first? I think the ability to come up with relevant and important questions to ask about the task given is more crucial than whether they can solve it. You can look up answers to questions from hundreds of good sources, but you need to be able to generate the right questions that need to be answered first.
- maaaaattttt 6y ago> you need to be able to generate the right questions Completely agree with this statement. I would add that having the proper vocabulary is an important part of generating the right questions.