Re:Rob Pike's simple C regex matcher in Go
by naniwaduni on Friday August 12, 2022 @06:40AM
(#32436618)
But Dijkstra's shortest-paths algorithm is, of course, a perfect interview question, having infamously been derived in half an hour over a coffee date with his fiancée.
[ Parent
| on HN ]
Re:Rob Pike's simple C regex matcher in Go
by google234123 on Friday August 12, 2022 @05:08PM
(#32443932)
This is completely unfair comparison. Deriving is not comparable to reciting/applying something... Dijkstra's is pretty intuitive once you know it and about 10 or 12 line of python code? Quantum mechanics took years and multiple geniuses to figure out yet somehow undergrads and graduate students are able to learn it in one or two semesters.
Re:Rob Pike's simple C regex matcher in Go
by IshKebab on Saturday August 13, 2022 @05:48AM
(#32448314)
I'm not sure I follow - interview questions are supposed to be about deriving things, not reciting/applying them. In any case I'm pretty sure he was being sarcastic. You aren't hiring Dijkstra.
Re:Rob Pike's simple C regex matcher in Go
by google234123 on Saturday August 13, 2022 @03:02PM
(#32452734)
You are right. However they also test that you know and are able apply and recite the fundamentals.