Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I actually laughed out loud at:

"Improve your Theoretical knowledge" ...followed by... "Learn C"

I obviously have a completely different idea in mind when it comes to computer science theory than the author does.



One of my favorite interview questions is do binary search when the function prototype is this:

int bsearch(int *values, size_t len, int term);

By the time we finish going through this exercise. I have a pretty good idea how they do with basic algorithms and indirection (pointers). In fact, pointers are a great way of testing a candidates ability to deal with indirection.

You can come up with simpler C pointer questions that also do not require tricks but this does the trick for me.

And yes, everybody gets binary search wrong, but that's okay. I learn a lot about a candidate when they are doing the exercise.


Where does the article say "computer science" theory?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: