News for hackers. Stuff that matters.
Re:ITA's old “Hiring Puzzles” is still a treasure trove of g... by baron_harkonnen on Saturday October 12, 2019 @09:31PM (#21237662)
Most comments here are misunderstanding these puzzles as some awful alternative to leetcode, but as someone who remembers puzzling over these on the T, still learning to code, it was a very different world when ITA was using these.

These appeared during the post-dotcom bust pre-startup boom period of 2004-2008. If you look at CS enrollment rates of the time you’ll see they were at record lows. Software paid well, but not that well and most engineering jobs were really bad ones resembling Dilbert comics. The culture of treating engineers well, giving them good tools, snacks, unlimited pto didn’t happen until later.

At the time people solving hard problems and keeping up with changes in programming languages and tech were doing it because they loved it. Nearly everyone doing tech was doing it because they where obsessed and passionate about it. This is because if you weren’t there where much more pleasant ways to make about the same money.

These ITA puzzles were a way of signaling “hey! we’re a company of people that love to code and work on hard puzzles too! If you’re the type of person that sees puzzles like this and can’t get it out of your head for the rest of the day, you should check us out!”

These puzzles were not a leetcode like gates (in fact they very explicitly were NOT required for applicants), but rather a way of advertising to programmers that ITA was not just another boring big corp that would suck your passion for coding away.

Re:ITA's old “Hiring Puzzles” is still a treasure trove of g... by dmbaggett on Saturday October 12, 2019 @09:38PM (#21237688)
Absolutely right! While we did suggest that applicants try to solve one of these in whatever language they liked, the main purpose was to attract curious and smart people. And it worked! These puzzles brought us a ton of great candidates along with lots of smart people who weren’t looking for a job, but just wanted to know how their solution to a given problem stacked up. It wasn’t a proxy for 2019 whiteboard hazing; these were simpler times...

-- Dave, ITA cofounder and creator of some of the puzzles, including my personal favorite, “Rebus”.

Re:ITA's old “Hiring Puzzles” is still a treasure trove of g... by ncmncm on Sunday October 13, 2019 @12:40PM (#21241302)
Dave is also known in some circles for coding Crash Bandicoot, a much-loved game of the period. I wonder of anybody remembers it today, and plays it on emulators.
Re:ITA's old “Hiring Puzzles” is still a treasure trove of g... by timClicks on Sunday October 13, 2019 @12:14AM (#21238323)
I'm looking at Rebus now and it looks tantalizingly difficult to work through. So simple, yet very subtle.
Re:ITA's old “Hiring Puzzles” is still a treasure trove of g... by slig on Sunday October 13, 2019 @03:14AM (#21238924)
I see that you're a Rust enthusiast, if you feel like, please share the solution on GH.
Re:ITA's old “Hiring Puzzles” is still a treasure trove of g... by kstenerud on Sunday October 13, 2019 @01:54AM (#21238615)
Yes, the people who were still in tech were obsessed and passionate about it. And then companies like this insisted we act like trained seals, spending days working on irrelevant puzzles for the honor of being maybe possibly considered for a job. And then to top off that shit sandwich, they sprinkle in these wonderful bacon bits:

"When implementing the server, aim for scalability and robustness. (Many submissions fail due to lack of robustness!) Your submission should include a description of the steps you took towards those two goals. Keep in mind that the client may be buggy, or even malicious. For example, if a client connects to the server and sends an infinite stream of the byte 'X' with no line break, the server should deal with this case gracefully. Please do not use an existing networking framework (e.g., Twisted or asyncore for Python, ACE for C++, etc.) to implement the server."

Not only no, but fuck no. I settled for a job in the IT section at a bank working with COBOL and EJBs because of this shit, until I'd finally had enough, co-founded a company, moved to San Francisco and implemented a SANE hiring process that treated candidates like professionals. Most of us did, so I guess in a way these horrible and misguided hiring practices were partly responsible for the next resurgence, because we'd finally had enough.

Re:ITA's old “Hiring Puzzles” is still a treasure trove of g... by matfil on Sunday October 13, 2019 @05:46AM (#21239482)
While I wouldn't necessarily say that problems in this style are the right way to recruit in 2019, something equivalent to:

Please do not use an existing networking framework (e.g., Twisted or asyncore for Python, ACE for C++, etc.) to implement the server.

...would be a massively positive signal to me as a candidate. Places that truly value "full stack" abilities like this seem to be hard to track down.

Re:ITA's old “Hiring Puzzles” is still a treasure trove of g... by closeparen on Sunday October 13, 2019 @05:00PM (#21242993)
Same. I had to do this in first-year CS, and got pretty surprised to find out I'd be working with senior backend engineers who've never heard of sockets. Concerns at this layer don't come up much, but when they do, the set of people available to help gets a lot smaller.
Re:ITA's old “Hiring Puzzles” is still a treasure trove of g... by oriolid on Sunday October 13, 2019 @07:19AM (#21239797)
Just out of curiosity, what do you think is a sensible hiring process for people expected to know how program, and why does it work?
Re:ITA's old “Hiring Puzzles” is still a treasure trove of g... by kstenerud on Sunday October 13, 2019 @07:41AM (#21239871)
What I've found worked well is to have a conversation about something they've built in the past. Ask them questions about it, like why certain architectural decisions were made, what constraints they had to work under, what issues came up, and how they dealt with them. I've even hired without seeing a single line of code. You of course have to change tactics when hiring junior devs, and would probably want to see SOME code in such a case, but regardless, just talking about technical subjects they claim knowledge about is usually enough to discover how deep that knowledge goes. If they have any code at all in the wild, I'll look at it to get a fuller picture of their abilities, but I won't require it.

If I want to see code, I'll tell them beforehand that I want to build a little project together with them (less than 50 LOC) that does this one trivial thing, and that they can write beforehand if they want to. Then when they come in, we either build it together if they haven't done it beforehand, or we change the specs if they did. And no, no bonus points for doing it beforehand. That's just so that they can feel more comfortable in the codebase if they feel it's necessary (being nervous in the interview and all). I'm most likely not going to compare their code to others; I'm only interested in whether their code meets the company standards.

I've also fired many people. It's not hard to do, nor does it cost much.

So many of these recruitment processes are predicated on the principle of "what if someone lies to us?" for fear of hiring the dud. But in reality, it's so hard to bullshit someone knowledgeable that the actual risks are tiny.

Yes, I've encountered people who couldn't code. I've had such resumes passed to me by people (usually non-technical, or recruiters) telling me how awesome this person is (because they don't know enough about the subject matter to tell the difference). But it takes very little conversation about any topic one is knowledgeable in to sniff out someone's bullshit.

Think of it this way: You have a leak in your house and hire a plumber. The guy comes and tells you that you need this and that. How do you know he's telling the truth? Now imagine that you're a plumber who's been asked by a friend to sit in on the conversation. How long do you think it would take before you can confidently call bullshit on what he's saying?

If YOU know your shit, you can tell when other people don't. And if you DON'T know your shit, you're going to have a hard time no matter how much code they throw at you.

Re:ITA's old “Hiring Puzzles” is still a treasure trove of g... by oriolid on Sunday October 13, 2019 @11:54AM (#21241049)
Ah, of course. My personal experience from several employers has been that people who believe that they can judge programmer skills by listening to their bullshit end up hiring bullshit artists. I have also worked with programmers who could easily spin a tale that covers all your questions but still couldn't write a single working line of code. Coincidentally, they were masters at explaining why the project is delayed.

I'm in Europe, so it's not easy to fire wrong hires after trial period, but I have never even seen anyone admit that they made a wrong hiring decision.

As an interesting case, one company I worked at hired an architect who had failed their rather trivial coding test but interviewed well. That person, together with company management, ended up driving away several competent engineers.

I won't work any more for employers who don't require a programming test. Your experience may be different.

Re:ITA's old “Hiring Puzzles” is still a treasure trove of g... by ncmncm on Sunday October 13, 2019 @12:58PM (#21241387)
It is amazing, the CVs that come in from people who couldn't code their way out of a wet paper bag.

On Wall Street everybody uses coding puzzles to screen candidates. There is really no other way.

But the online coding-puzzle sites they use are mostly really terrible.

Re:ITA's old “Hiring Puzzles” is still a treasure trove of g... by kstenerud on Sunday October 13, 2019 @12:58PM (#21241383)
I'm also in Europe now (Germany). If you haven't figured out by the end of the trial period that the person can't do their job, it's not he who's the problem.

It has also been my experience (20+ years) that sociopaths and egotists (the ones who will try to bullshit you beyond a few ham-fisted attempts) are in such a minority that they're not worth basing your interview process around.

The only cases of hiring engineers who couldn't code that I've ever heard of directly from colleagues over my entire career (that weren't third-hand re-tellings) have been where he either was not interviewed at all, was only interviewed by someone non-technical, or was hired by someone non-technical over the objections of someone technical.

TBH I think this is a manufactured problem.

Re:ITA's old “Hiring Puzzles” is still a treasure trove of g... by thenewnewguy on Sunday October 13, 2019 @01:14AM (#21238508)
> These puzzles were not a leetcode like gates (in fact they very explicitly were NOT required for applicants), but rather a way of advertising to programmers that ITA was not just another boring big corp that would suck your passion for coding away.

However, from the linked page:

> To be considered for an interview, you may need to solve one of the programming puzzles below.

In fairness, they used the word "may". But I wouldn't call that "explicitly NOT required".

Re:ITA's old “Hiring Puzzles” is still a treasure trove of g... by ecopoesis on Sunday October 13, 2019 @09:37AM (#21240265)
I applied to ITA in 2008ish and was require to complete one of these, something very similar to instant search. Needless to say I failed because the question isn't about your ability to program, it is just if you know what a suffix-tree is.

These are fun puzzles but terrible interview questions.