interview-questions

What's a good non-programming interview question when hiring a programmer?

What is a good non-programming question to ask a candidate during a job interview? I'll post my two favorites below, but I'd like to hear others. Clarification: By "non-programming," I mean you are not asking them to solve a problem by writing or describing code. ...

What is wrong with DateTime.Parse(myString)?

I was browsing Scott Hanselman's Developer Interview question list, and ran across this question: What is wrong with DateTime.Parse(myString)? While I know there are inherent risks in parsing a string of unknow format or origin, are there other reasons? Is it to use DateTime.ParseExact instead? Should it be myString.ToString() fi...

Asking to see employer's code/database in an interview

I've been asked to write code/design things in an interview. Sometimes even to provide code samples. Very reasonable and very wise (always surprised when this DOESN'T happen) I had a job a year or so back where the code was so awful that I would not have taken the job, if I'd seen the mess I had to deal with ahead of time. And I can'...

How Should a Non-Designer Interview a Web Designer?

As a hardcore developer and not a graphic designer, I always struggle when interviewing graphic designers/web producers. I know CSS and HTML pretty well theoretically, but couldn't design a single decent-looking page from scratch. During a face-to-face interview, we can review the candidate's portfolio, but beyond that, what are some go...

Algorithm to determine if array contains n...n+m?

I saw this question on Reddit, and there were no positive solutions presented, and I thought it would be a perfect question to ask here. This was in a thread about interview questions: Write a method that takes an int array of size m, and returns (True/False) if the array consists of the numbers n...n+m-1, all numbers in that range a...

Interview Questions on Socket Programming and Multi-Threading

Please anybody can tell me the questions, that can be asked in an interview for below topics Socket Programming Multi-Threading An advance thanks goes to everybody who provide their time ...

How did you find your "dream job" (or great place to work)?

I'm a senior developer and consider myself very good at what I do. I have high expectations for how I believe software should be developed. I'm having a hard time finding a place to work that shares a similar view on the software development process. Here's my modified version of The Joel Test that I ask potential employers during a...

How long does it take to become reasonably proficient in Orcle given SQL Server

In applying for jobs via agents I sometimes get blocked by an agent who says do you know software package X. When I reply that I know the similar package Y they might say unless you know X I cannot put you forward. The problem is that some of these agents don't know what they talking about, they are merely being used by their clients as...

How long to get up to speed with ASP.NET?

This question is similar to my earlier question. I have used ASP .Net in Visual Studio 2005 about 4 years ago. How long would it take to get back up to speed with the latest versions? ...

What do you think about using the Project Euler website as a candidate profiling tool?

I've read a thread around here about people using FizzBuzz to filter out completely clueless candidates for programming positions. To be honest, I find it hard to believe many candidates won't pass that (although i CAN believe it), but one way or another, even for a very simple first filter, it seems like that bar it set too low. I rec...

For interviews, how do you gauge whether the candidate would be a good coworker?

As has been often stressed, people skills count for a lot in software development. While it's great to have smart and skilled coworkers, someone who communicates well and has the technical chops to contribute is invaluable to a project. How do you gauge whether a candidate would be great to work with? For me: 1) I look at how they exp...

How do you reverse a string in place in C or C++?

How do you reverse a string in C or C++ without requiring a separate buffer to hold the reversed string? ...

SharePoint interview questions

Let's have a list of some good interview questions for SharePoint developers. Please provide one question per entry, and if possible, the answers. Also, please feel free to suggest corrections if the provided answers are wrong. I will go first: Q: How does SharePoint store pages? A: How-to-locate-sharepoint-document-library-source-p...

How would you improve this algorithm? (c string reversal)

Working through some programming interview challenges I found online, I had to write an algorithm to reverse a const char * and return a pointer to a new char *. I think I have it, but to make it work properly I had to do some wonky stuff - basically having to account for the null-terminating character myself. Somehow I feel this is wron...

Solve the memory alignment in C interview question that stumped me

I just finished a test as part of a job interview, and one question stumped me - even using google for reference. I'd like to see what the stackoverflow crew can do with it: The “memset_16aligned” function requires a 16byte aligned pointer passed to it, or it will crash. a) How would you allocate 1024 bytes of memory, and align it to a...

How to check that a string is a palindrome using regular expressions?

That was an interview question that I was unable to answer: How to check that a string is a palindrome using regular expressions? p.s. There is already a question "How to check if the given string is palindrome?" and it gives a lot of answers in different languages, but no answer that uses regular expressions. ...

How do you determine your C# and/or C++ "skills" on a scale of 1-10?

In my experience this is a common question (not limited to just C# and C++) asked during phone screens and on pre-interview questionnaires. So how do you do it? I'm usually reluctant to say anything over 5-6 since I can name entire language areas/libraries etc I'm not familiar with. But this low rating can cause recruiters to skip y...

What is the best way to tell an excellent programmer in a job interview?

In the setting of an interview: What is the best way to reliably identify when somebody is an excellent programmer. By this I mean he is one of those that is 10-15 times more efficient / rapid / better than his peers towards the lower end of the spectrum. Many of us have heard of the FizzBuzz Problem as a way to weed out the weak ones...

Dealbreakers for new programming jobs?

What might be said or implied at an interview or job posting that should set off alarm bells for a coder? I'm still only a few years in the industry but I already know to look out for excessive red tape and bureaucracy. Cubes and a noisy office also tell me that I'll be both miserable and unproductive and that management does not apprec...

What are some important interview questions to ask prospective game testers?

I've been handed the task of interviewing a candidate for a position I don't know much about. Call it bad management, the fact is I need to do the best I can. The testing position doesn't require any technical ability besides entering bugs in a very intuitive bug tracker system. I don't know much about the process, but I'm sure qualit...