Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
You wanna get graduates who dunno how 2 code for shit? Bc this how you get graduates who dunno how 2 code for shit.
Its certainly not a bad question, but it does not tell me much about the ability of the developer being interviewed.
No really, it doesn't. And I say this from experience, meaning that i have interviewed before.
Basically, I am interested in their thought process and ability to problem solve, and this is a good example for thatand only that...but;
Best practices for setting up an entire new project.
How do you approach being thrown an existing project with no documentation?
How familiar are you with different architectural patterns.
How good are you with reading documentation.
Shit like that is way better for me and I would throw them some obfuscated af code. And if they can tell me what the code does good!
Peraobality and drive matter the most to me. Because everything else can be learned with enough dedication.
It’s good if you want to find out if the candidate has their basics knocked down; list iteration, time complexity analysis, and conditional statements, etc. After seeing dozens of bungled basic test interview questions by candidates over the internet, I’d say it’s a good idea for filtering out the candidates that got through school by copying code online without understanding why it works. But that’s about it.
Brolls32642yNope. Be the one to buck the algorithmic question trend.
Algorithmic problems are googleable and tricky to remember / solve off the bat.
I’d much rather a dev that can confidently configure an environment, get a database working, do unit testing, solve broad architectural problems, and eventually solve algorithmic problems.
If the solution isn’t out there they can work it out, but if they can’t do the higher-level stuff then you’re screwed. I don’t want a bit flipping, list sorting, esoteric coding challenge-solving type dev.
I've been developing software for 15 years. That problem just makes my eyes glaze over. I can't put my finger on it. It just makes me die inside. I suppose I've been fortunate that I've never been asked anything like that in an interview.
I suppose there are types of work where that sort of problem-solving could be relevant. I just haven't encountered it.
matste6972yFirst of all, what about 8,5,3? Don’t confuse the reader with incorrect examples.
This is a variation on the more common problem to find all pairs which sum to a given number.
As such, I think it’s ok. Algorithmic questions are good IQ tests in disguise. A good developer must think of at least sorting the array. And I disagree with badwiring - these kind of optimization tasks happen all the time. Usually they don’t require a perfect algorithm, though.
The problem with such questions is they favour people who learned algorithmics in a good college.
Make sure you also test other aspects of software design - can they write readable, clean code.
Just wondering, a little off-topic: What kind of upper bound have you guys found for finding k-tuples?