4 ms·
I've asked it as an interview question many times; it works really well. The only bad part is that most candidates can't even write a correct strstr(3), so it
by jemfinch 13y ago
I've asked it as an interview question many times; it works really well.
The only bad part is that most candidates can't even write a correct strstr(3), so it becomes incredibly depressing.