Live data from Hacker News

A regex crossword from LinkedIn Engineering

engineering.linkedin.com

11–20 of 41 posts

Re: A regex crossword from LinkedIn Engineering

#11

Can anyone explain what the solution is supposed to look like? What actually goes in the boxes?

You fill the characters that would be matched by the regular expression given. So the character has to match both the row/column expressions at the position where they intersect.

Re: A regex crossword from LinkedIn Engineering

#12

Can anyone explain what the solution is supposed to look like? What actually goes in the boxes?

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.

Re: A regex crossword from LinkedIn Engineering

#13

Can anyone explain what the solution is supposed to look like? What actually goes in the boxes?

You fill the characters that would be matched by the regular expression given. So the character has to match both the row/column expressions at the position where they intersect.

Oh I gotcha. That makes more sense; I was confused since most of the expressions match more than 4 characters. Thanks!

Re: A regex crossword from LinkedIn Engineering

#15
post #10

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 ans…

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.

Re: A regex crossword from LinkedIn Engineering

#17
This is typical of the same crap I see on my linkedIn feed. Solve this if you are a "GENIUS"!!!! popsicle + popsicle = 6 toilet * toilet = 9 popsicle + toilet =???!?!??

I have made heavy use of the block feature. And to those of you thinking of answering those, its a lose-lose proposition, you either get it wrong and look ignorant, or you get it right and look like a slacker...

Re: A regex crossword from LinkedIn Engineering

#20
post #10

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 ans…

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