News for hackers. Stuff that matters.
Re:Hiring Is Broken – My interview experience in the tech in... by zappo2938 on Wednesday April 27, 2016 @11:29AM (#11581260)
"Write a maze solving algorithm" I just solved that in less than 3 seconds. Here is the solution in a Fiddle[0] and the discussion on Stack Exchange.[1]Sorry, I'm too busy solving problems which haven't been solved yet to bother with problems that have been solved.

[0]: http://jsfiddle.net/5g7se8qL/7/

[1]: http://stackoverflow.com/questions/16173259/javascript-maze-...

Re:Hiring Is Broken – My interview experience in the tech in... by yes_or_gnome on Wednesday April 27, 2016 @12:57PM (#11582220)
The simplest algorithm for solving a maze is to pick between 'left' or 'right'; I'll pick 'left'. Then the algorithm is: Whenever you are presented with a choice on which direction to go, then follow the 'left' wall. In the worst case, you'll hit every square and there will be a lot of retracing, but it'll get the job done. It's the equivalent of bubble sort for solving mazes.

(My apologies, to zappo2938, I didn't dive into your code, though I did skim it. I didn't want to create a new top-level comment about the maze problem.)

Re:Hiring Is Broken – My interview experience in the tech in... by wlesieutre on Wednesday April 27, 2016 @11:49AM (#11581504)
And then when they ask you to solve a real problem they're working on instead of a contrived algorithm, you can complain about how they're expecting you to do work they can profit off of but aren't paying you for the interview.

Or they could find some obscure (and unrelated to their product) algorithmic problem that's been solved before but isn't posted on StackOverflow, and you can complain about how it's just trivia and not a useful problem.

No matter what the question is, there will always be some reason that the job interview is a waste of your time and you could have spent your afternoon off curing cancer instead.

They want to know if you can solve problems. The maze is an (imperfect) test from which they hope to extrapolate whether you could solve future problems. The future problems will not all be written up word-for-word on a Q&A site.

Re:Hiring Is Broken – My interview experience in the tech in... by LaurenceW1 on Wednesday April 27, 2016 @11:33AM (#11581312)
You wrote that in 3 seconds huh
Re:Hiring Is Broken – My interview experience in the tech in... by tgeo on Wednesday April 27, 2016 @11:41AM (#11581408)
To be fair, I think he meant he "solved" it by googling and finding a stack overflow link. He wasn't being literal (I thought he was as well at first).
Re:Hiring Is Broken – My interview experience in the tech in... by zo1 on Wednesday April 27, 2016 @12:05PM (#11581669)
Maybe he's poking fun at the fact that in 3 seconds of searching he can solve the problem? A problem that would, without prior maze-solving knowledge/experience, have taken far longer than 3 seconds.
Re:Hiring Is Broken – My interview experience in the tech in... by kefka on Wednesday April 27, 2016 @11:41AM (#11581394)
"Solved that".

There was nothing about being a new creative and novel solution. And in terms of time gained and effort expended, this "LMGTFY" technique is the best.

Again, I like working on things that aren't on StackExchange.

Re:Hiring Is Broken – My interview experience in the tech in... by metaphorm on Wednesday April 27, 2016 @11:39AM (#11581374)
and what does that have to do with the author's point? or did you just want to show off...