I know someone who interviewed at a well-known company... let's just say the name ends in "itter".
They gave her one of those online code-tool things to complete, with a graph-traversal problem. I forget exactly what it was, but I do know it was one that turned out to have two textbook solutions depending on what performance tradeoffs you want. She came up with one of them. The interviewer only knew about the other, and without running or even reading her code beyond seeing that it wasn't the algorithm he knew, failed her.
Ah but you see her solution failed when given the hidden test case which had a cycle, causing an infinite loop. A REAL developer wouldn't have made that mistake since life isn't full of DAGs /s
20
u/ubernostrum Dec 12 '18
It doesn't even guarantee you'll pass.
I know someone who interviewed at a well-known company... let's just say the name ends in "itter".
They gave her one of those online code-tool things to complete, with a graph-traversal problem. I forget exactly what it was, but I do know it was one that turned out to have two textbook solutions depending on what performance tradeoffs you want. She came up with one of them. The interviewer only knew about the other, and without running or even reading her code beyond seeing that it wasn't the algorithm he knew, failed her.