|
|
|
|
|
by xtracto
1467 days ago
|
|
The problem with the "easy leetcode" problems is that a lot of them are "gotcha" type of problems: you either know the formula/puzzle-logic/solving-strategy or you'll fail. I remember asking the typical "traverse an array in spiral" or "traverse this array in diagonals" a long time ago. The problem is that, if the candidate solved it, I just knew they knew how to play with array indexes. And if they didn't do it, I just knew that they got nervous and were not good using indexed arrays... it didn't give me anything. That's why FizzBuzz is good: it has no false negatives. If a developer candidate can't do it, it means thay cannot code. |
|