interview-questions

Phone interviews for a software engineering internship, being performed by non-developers.

My department is hiring a software engineering intern. Previously all of our employees have been cross-bred electronics engineers and "novice" programmers. Now we're actually building a software team and looking to start by getting someone familiar with C and C# (C++ is a plus). Seeing as this is a new position, none of us really know ...

What is wrong in my concatenation function mystrcat(char*, char*, char*) ?

I was interviewed recently and asked to write mystrcat(*s1, *s2, *s3) where s1 and s2 are source string and the concatenated results are given by s3. I was told, don't worry about memory allocation of s3 and assume s1 and s2 are not null / invalid strings. So I wrote the following lame (crude) program. I was told there is something wrong...

Programming Interview Preparation Book

Which programming book prepared you the most of interview questions? My friend recommended these: Interview Questions Exposed Career Cup's Book What does this community recommend for someone preparing for an entry level software development/ internship interview questions? ...

How do I figure out the least number of characters to create a palindrome?

Given a string, figure out how many characters minimum are needed to make the word a palindrome. Examples: ABBA : 0 (already a palindrome) ABB: 1 FAE: 2 FOO: 1 ...

Algorithm to determine indices i..j of array A containing all the elements of another array B

I came across this question on an interview questions thread. Here is the question: Given two integer arrays A [1..n] and B[1..m], find the smallest window in A that contains all elements of B. In other words, find a pair < i , j > such that A[i..j] contains B[1..m]. If A doesn't contain all the elements of B, then i,...

What Hibernate interview questions do you ask?

We are interviewing new developers looking for someone with some hibernate experience. We are trying to put together a list of questions to test an interviewee’s hibernate knowledge. We’re basically using the test to verify that someone has a good grasp of how Hibernate works. Seems like these days people will list anything on their resu...

given a tree structure, how do you use recursion to make it into a simple linked list in-place?

Given a binary tree (with left and right child only), how do you write a recursive function to make it into a simple linked list in-place? (no new data structure should be created. Pseudo code is ok). Suppose each node has an integer value, like 123, or 2, or 3. The final link list should have all the nodes in the tree. The order is n...

Interview Questions for Director of Software Engineering

Hello. I am a software team lead and have been asked to participate in interviewing a candidate for Director of Software Engineering. I've participated in many interviews for developers in which I've administered programming assignments, asked technical questions, reviewed resume/experience, and generally followed the advice in Smart & G...

How to sugar coat that you don't have work experience with a particular tool or language?

When I get interviews for jobs, there's typically 1 language/tool out of the job requirements that i don't have professional experience working with. Languages such as Java, C, Visual and Basic, tools such as Nant and protocols such as HTTP/HTTPS, DNS, SMTP are technologies that are familiar but not too experienced. I'm tired of saying ...

Should we hire someone who writes C in Perl?

One of my colleagues recently interviewed some candidates for a job and one said they had very good Perl experience. Since my colleague didn't know Perl, he asked me for a critique of some code written (off-site) by that potential hire, so I had a look and told him my concerns (the main one was that it originally had no comments and it'...

Are these good interview questions for Flex developer?

I am responsible for creating a team, which will build a Flex application. Unfortunately I have zero experience with Flex. So I found an expert within our company to interview candidates. Our expert came up with the following questions: how to write item renderers explain methods commitProperties, updateDisplayList, measure binding pos...

Questions about a career in the IT/Programming industry

I'll be upfront with everyone this is supposed to be an interview, a short one at least, only 10 questions. This is for my high school English class where I have to interview someone who is in a career field that I would like to be in myself. I would have done a "real" in person interview but I don't know anyone in the IT/Programming fie...

Is this regular expression interview question a fair question for a Senior Programmer position?

Which of the following regular expressions cannot be transformed into one using just the base operators of | and * (Kleene star) and grouping ( () ) * /adt[ui]t+\S?/ /b[^e]ac?h+\s\s\sBALL/i /he{5}[Ly]+o\bwo[^r]L(?!d)/ /ab?c+(de{1,3})/ Would this be a fair question to administer for a Senior Programmer position? ...

what interview questions should you ask of a user experience (ux) developer/designer

We are hiring a UX consultant, had a broadstrokes session with the company, liked their work, think the candidates are ok and now want a more concentrated interview with the specific UX consultant that will be embedded into the scrum team. What questions should be asking that could weed out any dead weight candidates. Thanks. ...

ReverseString, a C# interview-question

I had an interview question that asked me for my 'feedback' on a piece of code a junior programmer wrote. They hinted there may be a problem and said it will be used heavily on large strings. public string ReverseString(string sz) { string result = string.Empty; for(int i = sz.Length-1; i>=0; i--) { result += sz[i] ...

Singleton code excerpt, an interview-question

I had another interview question. I thought this was silly, but maybe there is something I am missing. The question asked which GoF pattern this is (answer: singleton), and, if there are any problems, how I solve them. I don't see any problems. I mentioned this is never freed and I expect that from this pattern. That is all I said. Am I...

Hiring a project or development manager: what are good interview questions?

What questions would you ask a candidate applying for a software project or development manager position? Please could you submit one question per answer (with multiple answer if necessary) or a sequence of related questions. This way eventually all questions will get ordered by how good we all think they are. Please also provide a sho...

Phone screen questions for Mac OS X developer positions?

Can anyone suggest a few basic phone screen interview questions for prospective Mac OS X desktop application developers? Just something to help determine if the candidate has really done real development on the Mac as opposed to someone who knows some buzzwords and is trying to fake his way into an in person interview. TIA. ...

What would be a good sample project to ask a prospective programmer to code during the hiring process?

My understanding is that asking for a work sample is a good way to determine if someone has the skillset you are looking for, as some people just interview well. So I want to ask potential developers to write some sample code for me. I'm looking for ideas on what kind of small project would be something they could do in an hour or two, ...

Should "inability to code under pressure" be a valid excuse when writing code in an interview?

I've come up with what I believe are realistic problems to work on during an interview. Frequently I have candidates respond that they cannot code under the pressure of me watching them code (via Live Meeting or Locally). Is this a valid excuse for inability to complete the task (or taking too long) during the interview? If so, what c...