Can anyone explain what the solution is supposed to look like? What actually goes in the boxes?
A regex crossword from LinkedIn Engineering
11–20 of 41 posts
Re: A regex crossword from LinkedIn Engineering
#12Can anyone explain what the solution is supposed to look like? What actually goes in the boxes?
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
#13Can 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
#14Re: A regex crossword from LinkedIn Engineering
#15OP 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…
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
#16Re: A regex crossword from LinkedIn Engineering
#17I 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
#18Usually crossword answers make sense. This ended up just looking like a jumble of letters.
Re: A regex crossword from LinkedIn Engineering
#19Re: A regex crossword from LinkedIn Engineering
#20OP 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…