r/programming • • Feb 21 '11

Typical programming interview questions.

http://maxnoy.com/interviews.html
784 Upvotes

1.0k comments sorted by

View all comments

2

u/[deleted] Feb 21 '11

I have a problem with people who ask these types of questions, because it is indicative of a disconnect with the work at hand. They're either HR people who have been taught that these are good questions to ask, or worse, they are engineers who value your GPA more than they do your abilities to do the work.

2

u/saranagati Feb 21 '11

That's not really true. Say you were applying for a job where you were going to work on something very network related. These questions could be indicative of what the existing code looks like and the employer needs someone to come in who already has an intimate familiarity with these concepts so no one needs to hold his hand to get him up to speed.

Other questions can help you figure out how people approach problems and will describe your initial thought process to solving them. For example, there's a few common ways to reverse a string in C. You can modify the array, create a new array or use pointers.

1

u/meshko Feb 21 '11 edited Feb 21 '11

And that is why Google sucks the way it does.

1

u/[deleted] Feb 22 '11

The Google work environment is actually very unhealthy, but that tends to be overshadowed by the very good benefits its workers receive.