7 ms·
It's actually a huge plus for me if the company takes the time to put a novel programming puzzle in the post. It says a few things: 1. this wasn't posted by a
by cageface 16y ago
It's actually a huge plus for me if the company takes the time to put a novel programming puzzle in the post. It says a few things:
1. this wasn't posted by a recruiter or somebody clueless in h.r.
2. engineers at this company still care about hiring
3. a lot of buzzword bombing b.s. artists aren't going to be applying
4. the company recognizes that raw aptitude is more important than bullet list bingo
In other words, it's a sign that the engineering culture is probably still healthy at this company.
- lzw 16y agoOne of the things I learned nearly 20 years ago is that it sucks to work in shops where the engineers are arrogant, because the more arrogant the less likely any good engineering is tolerated. These kinds of puzzles communicate arrogance to me. They say "We're more interested in excluding you based on a trick question than in getting to know you".
- cageface 16y agoI guess it depends on the question. If it requires previous knowledge of some kind of gimmick then I agree it's a turnoff. A good puzzle that challenges your thinking and tests some basic algorithmic chops is a good sign though, I think. For example, the puzzle in this ad is a good one: http://newyork.craigslist.org/mnh/sof/1927765905.html http://newyork.craigslist.org/mnh/sof/1927765905.html
- blasdel 16y agoA bonus question requiring previous knowledge can be fantastic as a shibboleth if crafted well — it reinforces to the potential applicant that there is a clever compatriot on the other side, and makes the job of screening resumes easier.
- lzw 16y agoYeah, I knew that was a group of arrogant douche bags who are probably incompetent before I even got to the puzzle. I didn't bother to look at the puzzle, it oddest matter how difficult it is, it's presence is just icing on the douchcake.
- cageface 16y agoI think you've got the sensitivity on your douche detector cranked up way too high.
- bugsy 16y agoI'm not sure that he does, I thought the same of the ad and didn't say anything but I was glad someone did. Reading in the graph and putting it in a tree structure is a reasonable problem, but not a 10 minute interview one. Traversing the graph to find the optimal path? Wow, that's known to be a tricky problem. Brute force search will work but will take a while. Now, undoubtedly there must be some very clever proof that discards most of the searches for the special case of a triangle structure. And if you've seen that you're all set. If not, hopefully you have your copy of AoCP at hand to start looking for it. If you are in an interview and haven't seen it, you just need to recreate the conditions from 1 million BC to 1950 or whenever someone had the right insight to come up with a proof. Not really a reasonable assumption. In those circumstances it's only a test of if you've run into this issue before. And figuring out the answer is necessary to determine the email to submit a resume? How foolish that hiring manager is. If he was Google, yeah, you can put the question on a giant billboard ad as a challenge and get some responses. He's not Google. Reasonable question is if someone can parse some data and put it in a tree or graph. Reasonable interview question is to bring this up and talk about approaches. Person mention's Djikstra's algorithm, well he's heard of Djikstra and knew he was big on optimal path searches. Mentions AoCP, he knows a good place to look for clever algorithms. Knows how to solve it on the spot? Probably pretty clever. Finding the optimal 100 node long path in a graph as a screening method to send in a resume? Funny stuff there. Being a bit clever myself though I'll go a bit further here. I'd say you might be the person who posted that ad. But I think more likely is you want to apply for the job and have no idea at all how to solve that problem and are hoping by coming here and pretending it is trivial someone like me will give you some hints. Because if you really knew your stuff, you wouldn't be claiming it was trivial for any competent practitioner to solve and a reasonable screening question. Sure, there is an easy answer out there for doing this search, that's almost certain. That everyone competent would figure it out easily? Nah.
- deleted 16y ago[deleted]
- gyepi 16y agoThis puzzle has a couple of problems: The problem description claims there are 100 rows, but the data only has 99 rows. The example solution shows an "isosceles" triangle, but the data set represents a "right" triangle and the given example solution is impossible with a right triangle (because the left border is a constraint). In order to properly solve the puzzle, one much make assumptions that may turn out to be untrue. Resolving such ambiguities and unspecified detail is something we deal with every day; however, it's less than helpful so early in the process. As others have mentioned, hiring is a two way street.
- bugsy 16y agoIt's actually completely specified. Note that I don't think it's a great test at this position in the hiring process, but it is completely specified and solvable.
- bugsy 16y agoThe puzzle question is an interesting one. I like solving puzzles, that's why I am an engineer. Based on this I used to think that puzzles are a good thing for posts and interviews. In practice, it almost never works out very well. Puzzles are incompletely specified, impossible to answer unless you guess at assumptions that are sure to be wrong, or they take so much time to solve it's just not worth it. Usually companies don't need complex puzzles for screening anyway. Something rather trivial and quick to answer like the fizz buzz problem eliminates 90% of the dud applicants anyway.
- cageface 16y agoI'd never heard of the FizzBuzz problem before. Just looked it up. Do people claiming to programmers really struggle with it? That's disturbing if so. Designing a good problem is hard. Something that's difficult enough to present a challenge but easy enough to be solvable by a good programmer in ~15 minutes or so takes some thought. But this is another reason why I appreciate a good programming problem in a posting.
- bugsy 16y agoNo, they don't struggle with it. More of a blank stare. They have absolutely no idea what to do or how to get started, unless they happened to have seen it on a "famous programming questions" board and memorized a plausible answer character by character. If you do a decent job of publicizing an opening you'll can easily get 1000 resumes. If you narrow this down to what seem to be the top 20, 18 of those won't be able to write a simple loop in the language of their choice. Part of the reason for this phenomenon is that the best developers who applied were in the 980 resumes discarded (this is in part due to unreasonable expectations on the hiring side and outright fabrication on the applying side). But the general idea is that the same duds apply to every job. If you post a job ad for a terrible job with unreasonable parameters, then 100% of the applicants will be the duds as everyone with any sense reasonably ignores the ad. The more reasonable and realistic the ad, the more potentially qualified candidates will apply, but this number is not going to be the majority of applicants. The majority will be the non-english speakers and DeVry Institute grads who are mass spamming every job ad they can find with bogus resumes. There's no point to starting with a challenging programming test because the interviewer's idea of obvious common sense insights is typically some highly domain specific thing that only is known at the particular company. Or even worse, the "challenge project" which will take a week to finish and is obviously a real work project for the company that they want done for free. Furthermore, interviewers seldom have any realistic idea of what could really be solved in 10 minutes by someone who hasn't seen the problem before like the person who selected it. FizzBuzz like problems are again the answer. Ask to reverse a string without calling a library function. This is a reasonable 10 minute question. If 95% of applicants fail, then this is a very useful screen is it not.
- bluehat 16y agoI think these puzzles may be useful, but they do not respect the candidate's time. Candidates apply to many jobs, and it is unfair to expect them to each put half an hour into a problem they may or may not be interested in for a job that may never call them. You can give your candidates this problem during an interview, but only if you are willing to give up time you could have otherwise spent in that interview getting to know the candidate in other ways.