4 ms·
"rote"? Are you seriously suggesting that anyone has code for a line of pascal's triangle memorized? Why would they? Just in case they got asked for it in an
by dspeyer 15y ago
"rote"?
Are you seriously suggesting that anyone has code for a line of pascal's triangle memorized? Why would they? Just in case they got asked for it in an interview?
This is one of the advantages of this over something like quicksort: it's obscure enough that the candidate won't be able to recite it.