Hacker Newsnew | past | comments | ask | show | jobs | submit | yadamo's commentslogin

The solution is a 4x4 grid of letters where each row and column match the corresponding regexes.

So the 4 letters descending from the column marked (LN|K|D)* should match the regex ^.(LN|K|D)*$ entirely. Hope that helps.


OP has posted this link before, both here https://news.ycombinator.com/item?id=10990206 (with the title "Get an interview at LinkedIn by solving this puzzle") and on the Who's Hiring threads https://news.ycombinator.com/item?id=11014173

As an exercise, I wrote a quick and dirty python script to solve this back in February (albeit it's not the most elegant solution but far better than brute force) and submitted my answer and subsequent contact info hoping to eventually hear back about said interview, and never did.

Which is quite frustrating from the perspective of someone on the job hunt. Why use something like this as a hiring tool and not follow up on it?

</rant>


I completed it too just for fun. I never was contacted either. At the very least, an email saying 'congrats' would have been nice.


Is LinkedIn a desired place to work? I've never heard anyone clamoring to work there.


I work at LinkedIn. Let me be the first one to tell you that it is an amazing place to work at! Everyone is super smart and talented. The infra teams have some really amazing projects under their belt - a lot of which are open sourced. I work on the applications team and I love the culture in our org - everyone is super friendly, helpful and it's a privilege to be working on products that are used by hundreds of millions of people and being able to call shots on them. Also as a relatively inexperienced dev, I'm given ample responsibilities to drive my projects and mould them that I feel are helping me grow. The perks are absolutely amazing - pretty comparable to the ones you get at FB/Google. My favorite ones are $2k reimbursement for fitness related expenses per year, an entire week off during Independence day and Christmas, a day off to yourself and your team each month (search for InDays), and frequent company and team outings (there was a screening for the last Star Wars movie and is another one for Batman vs Superman soon). I'll probably never work for another big company again after this for an entirely different set of reasons, but I am absolutely glad about my decision to join LinkedIn.


Are you in the Bay Area? In my circles they are known as a good place to work.

That said, I don't understand why they've hired so aggressively nor what all those employees do, but they have a nice campus, good pay, and good perks.


> not the most elegant solution but far better than brute force

Actually, brute force works just fine for such a small matrix:

https://gist.github.com/aexaey/3657fa39cc35c861f6d6


This seems to be a common pattern. I suspect there could be a business opportunity here for someone to outsource intermediated job applications and keep track of both applicant and employer communications.

Plenty of sites try to match up the two sides but it seems most fall down at the point of initial contact.


Let's stop and think. This is a good thing. The truth is, none of us know whether or not it's snake oil. Just because we don't have enough information to prove it isn't a farce (besides the founders' insistence on their good health), does not mean we have enough information to prove that it is. Is it dangerous? Highly unlikely. The vast majority of early adopters will probably be people at least somewhat characteristic of this community, meaning smart enough to know that if something makes you feel awful, you should probably stop eating it. If you bought a month's supply, maybe you get burned a few hundred bucks and it wasn't the best decision. If you bought a week's supply, you tried it for a few days and felt terrible, just make the intelligent decision and stop eating it (or drinking or whatever the process of consumption should be called). Whether or not the people behind this are looking out for everyone else, we don't know. But let's be honest, neither is McDonald's or even the businesses stocking microwave dinners in grocery stores. They're in it to make a profit, not to fill you with the proper nutrition. Frankly, the goal of many of the businesses in the food industry is to cause customers to crave the product, often at the expense of nutrition (i.e. by loading with sugar, conditioning the brain to crave more). To say that they know better than these 20-somethings who have been collecting some actual data besides "hm, tastes good" is exceptionally naive. Your average gym rat eats far healthier than a microwave dinner diet. This could be bad. But none of us have the data to prove it. Until then, I'm hopeful. Innovation in this industry is long overdue. To say that these 'kids' are too young or inexperienced to make a real innovation and prove us all wrong, is a shame, especially in this community. Is it perfect for everyone? Doubtful. Is it better, on average, than the diet many of us are consuming? Well, that just might be true. Who are we to say it isn't?


Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: