News for hackers. Stuff that matters.
Re:Interview like an asset, not a beggar by sreque on Saturday November 21, 2020 @02:04PM (#25171897)
I can confirm this with recent interviewing experience. I interviewed at a top tech company and got asked puzzle coding questions I wasn't prepared for. Testing whether I can find the longest palindrome subsequence of a string optimally via a tabular or memoized dynamic programming solution in 20 minutes has practically zero ability to measure how effective I am on the job. That said, after that interview I studied the algorithm and am now slightly prepared for the next big tech company I interview with, I guess.

In contrast, at another interview I got given a take-home assignment that I almost didn't want to do because it felt like the kind of work I would do in my day job and I didn't want to do that in the evening or my time off. That task, on the other hand, probably measures infinitely better how effective I am on the job.

Re:Interview like an asset, not a beggar by vanusa on Saturday November 21, 2020 @04:11PM (#25172805)
Testing whether I can find the longest palindrome subsequence of a string optimally via a tabular or memoized dynamic programming solution in 20 minutes has practically zero ability to measure how effective I am on the job.

Not just "practically zero" - but like, "for sure zero". As in, there is absolutely zero chance you would need to solve a problems like this (or Sudoku, etc) in the course of actual engineering work.

It's a bullshit question, essentially.

Re:Interview like an asset, not a beggar by icedchai on Saturday November 21, 2020 @06:47PM (#25173607)
Generally, interview puzzles have almost zero applicability to real world work. It's similar to many colleges: the hardest part is getting in. One coding test involved a math formula I hadn't seen in 20+ years. It was simple, but if you "forgot" that, you were stuck.

You're better off giving someone a more realistic take home test and have them walk you through it during the interview. You'd get a better feel for what their "real" code looks like when they're under less pressure, how they communicate while presenting their solution, etc.

Re:Interview like an asset, not a beggar by maest on Saturday November 21, 2020 @02:14PM (#25171963)
> zero ability to measure how effective I am on the job

I'm assuming you were hired to write code, so I suspect your ability to write code in an interview is at least somewhat relevant.

Re:Interview like an asset, not a beggar by StavrosK on Saturday November 21, 2020 @03:15PM (#25172441)
Sure, in the same way you ask your house painter to paint you a picture. Both are about putting paint on a surface, after all.
Re:Interview like an asset, not a beggar by maest on Saturday November 21, 2020 @03:59PM (#25172719)
I don't think that's accurate - your example is closer to asking a programmer to take a typing test and hire them based on wpm. Both are hitting keys on a keyboard after all.

I agree that, if you're hiring someone who will primarily be managing others or, maybe, architecting some systems, without doing the actual implementation (which, btw, I think is a suboptimal way of doing things), then you shouldn't test their coding. But if you're hiring someone to code, you need to check they understand how strings, memory, dynamic programming etc works.

Re:Interview like an asset, not a beggar by StavrosK on Saturday November 21, 2020 @04:02PM (#25172731)
I don't agree, of all the jobs I had, I've never had to do anything close to a typical coding puzzle. There are much more real-world scenarios you can test people on.
Re:Interview like an asset, not a beggar by icedchai on Saturday November 21, 2020 @06:52PM (#25173634)
I think it depends on where you are located, the culture, how competitive the current market is, etc. In the early 2010's, it seems the US had a shift towards these sorts of "puzzle" interviews. Before that it was more laid back, maybe a take home test as part of the filter...
Re:Interview like an asset, not a beggar by maest on Saturday November 21, 2020 @05:12PM (#25173133)
We might be arguing besides each other. The puzzles I'm arguing for are e.g. simplified toy versions of problems solved in the existing code base. That solves a real-world problem, so it fits your requirement.
Re:Interview like an asset, not a beggar by StavrosK on Saturday November 21, 2020 @05:18PM (#25173167)
That's not a puzzle, it's an exercise. A puzzle is what the OP describes:

> Testing whether I can find the longest palindrome subsequence of a string optimally via a tabular or memoized dynamic programming solution in 20