6 ms·
I think the point is that they're simple. Like binary search, which a 7 yr old can grasp. Or writing a simple hash table, at least in psuedo code. Or shuffling
by MichaelGG 10y ago
I think the point is that they're simple. Like binary search, which a 7 yr old can grasp. Or writing a simple hash table, at least in psuedo code.
Or shuffling an array - anyone can do it, but there's performance and correctness questions.
In practice I'm guessing so many candidates fail out much earlier. The number of people that can't, say, reverse a string, or words in a string (not even getting into Unicode) is staggering.
- bryanrasmussen 10y agoyou definitely know some advanced 7 yr olds.
- MichaelGG 10y agoNot if you explain it as a trick to guess someone's secret number between 1 and 100 in just 7 guesses.
- calenti 10y agoOr that know you can do this with the API. One of my questions for developers is to ask for things like date format or string reversal. If they start writing a function and don't even mention the API, that's a significant red flag. I don't need code written from scratch unless necessary.