Re:Harder programming questions do a worse job of predicting...
by kbp on Monday February 18, 2019 @02:21PM
(#19193421)
I think those "easy" examples are too easy to get any meaningful signal from. If they struggle, they have no idea what they're doing, and if they don't, you don't really learn anything about how they work because there's not much to them.
Other people have mentioned Triplebyte using console tic tac toe as a question; that seems like a better sort of "easy" question that still lets the interviewee have a chance to show off their problem solving and factoring skills.
Re:Harder programming questions do a worse job of predicting...
by pps43 on Monday February 18, 2019 @01:33PM
(#19192939)
That's more like small/large than easy/hard.
Re:Harder programming questions do a worse job of predicting...
by akhilcacharya on Tuesday February 19, 2019 @09:42AM
(#19199190)
I'd argue finding the next permutation is actually very difficult if you don't know the standard algorithm.
Hard - implement a subset of regex match in optimal time+space, find the operations required to turn 1 word into another word given a list of transitory words, find the median of 2 sorted arrays in optimal time, find the next permuted value.