Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
viking817408yI just gotta ask, why is this important in an interview? Do you run the same question to a jr and senior?
I understand some mapping of knowledge is required, but honestly - that can become real obvious just talking to a person asking him to talk about technology and solutions. I've never experienced these challenge interviews, but they seem to distract the interviewee from what really matters. -
atheist98058yWhat really matters in a hire regardless of the level is "can they code worth shit" and "can they learn new shit".
Sure, they know a programming language but if they solve a problem in factorial time and wonder why it takes ages to run then they're no use to us. If they can't explain how they would solve the problem, or worse, can't solve it, they're no fucking use to us at all.
This question gives a candidate opportunity to demonstrate their problem solving skills and their programming skills (write pseudo code, what data structures would you use, how would you test, can you think of a way to make it faster). It also tests their communication and understanding of new concepts (tell us how you might make it faster, we explain sieve, they discuss and implement)
But you're right, this is probably more of a junior question but I'd still want to see a senior write some form of code in an interview. 2 reasons:
Make sure they're not bullshitting their CV and make sure they write good code -
atheist98058yAlso "talking to a person" does not permit gradable criteria. this question has a tangible difference between "does well" and "does not get it". Without gradable criteria there is a massive scope for bias, "I like this guy lets hire him whoops he can't code oh bugger. Stuck with him"
-
atheist98058yAnd no, you're right this is more of a junior question, it requires very little domain knowledge as we explain what the sieve of eratosthenes is and ask them to discuss how it can be optimised.
When recruiting for a more senior role we would use questions that assess aspects of domain knowledge they should have. But again, same questions to everyone so there can be a fair comparison of quality.
Related Rants
-
skiilaa41"Are you familiar with uploading your code to Google Drive?" I left the building at that exact moment.
-
qbalsdon49Got this from a recruiter: We are looking for a **Senior Android Developer/Lead** at Philadelphia PA Hiring ...
-
nikolatesla9At the ending part of the interview, I asked a final question to the HR. Me: "So, what language is mostly use...
wk48 best question:
My go to question for dev interviews is how do you find all prime numbers from 2 to x because there's so much room for optimisation.
Start with the basics, loop over every number and check if it's divisible by any number less than it, then record the prime numbers and check only those, then move to something like the sieve of eratosthenes then reduce the problem space and only iterate through 2 to sqrt(x)
undefined
wk48
best interview question