My primary responsibility is a software developer, but I have also been tasked with doing the first level technical interviews of perspective clients. I enjoy it, so I am glad to do it, but I am finding it challenging to objectively screen candidates. I have a list of programming "trivia" questions and even some programming challenges ...
I'm going to be interviewing for a small team of creative/developers in the next few months. I'm thinking of getting each candidate to put together a short pitch, based on our ideas so I know they get what we're trying to acheive. Of course we'll communicate all that prior to the actual interview, and give them a week or so to prepare.
...
As part of my career plan it has been my intention to infiltrate a number of different employers over an approximate 6/7 year time period, so that I can broaden my depth of knowledge and experience as much as possible.
Many often prefer to stay with their employer for the long term which is fine. However, to my way of thinking I do not ...
I came across a little problem that looks very easy but requires a bit more thought than I first assumed. It can also be solved in many different ways and, I think, would be a perfect interview question. So what solution would you write down?
Your input is a stream of pairs (x, y), with each x and y on a separate line. A short example, ...
This is one of an interview question which I had recently. I would like to know others perception of approach for this problem.
Question:
You are given a structure which holds an employee details with two elements as int Deptartment and string Name.
struct Employee
{
string Name;
int Dept;
}
You are given details of N Emplo...
This is one of an interview question. You need to design a stack which holds an integer value such that getMinimum() function should return the minimum element in the stack.
For example: consider the below example
case #1
5 --> TOP
1
4
6
2
When getMinimum() is called it should return 1, which is the minimum element
in the stack.
...
A similiar question was asked earlier there, but the question here is the reverse of it, using two queues as a stack. The question...
Given two queues with their standard operations (enqueue, dequeue, isempty, size), implement a stack with its standard operations (pop, push, isempty, size).
There should be TWO versions of the solution...
struct ast_channel *(* const requester)(const char *type, int format, void *data, int *cause);
what is the meaning of this line?
what is the advantage of using
static struct hello
{
int a;
chat b;
};
over simply
struct hello
{
int a;
};
also difference between static char p[]and char p[];
As i am very new to c pro...
I have a table called student with two columns:
JoinDate DATE
EmployeeName STRING
The contents of the table are as follows:
EmployeeName | JoinDate
----------------+-----------------
jaison | 1-jan-2008
robin | 2-feb-2008
binoy | 3-mar-2008
rahul | 4-feb-2008
I am looking to prepare the fol...
How can i do subtraction of integers in C without using either the unary or binary '-' operator?
Or can we do the same for other data types like float/double?
...
What kind of answers would you accept to the following question
"Describe the process and/or pitfall of throwing exceptions from constructor and destructors" (C++/C#/java)
What amount of knowledge about this would you consider essential, for a candidate claiming to have several years of experience in any of these languages (if he misse...
I've been looking for a job and landed an interview recently. They asked me to bring some code samples with me to the interview. But I've written tons of code in the past. I've used C#, MS SQL to develop web app, web services including WCF, desktop app and remote fat client.
-What kind of sample code should I bring that will show m...
When you are asked to rank yourself in skills from 1-10. I don't know what to depend on. I know if I rank Jon Skeet as 10, then I probably at 5 even I got 7 years experience. Then employer (HR people) who never heard Jon Skeet definitely won't hire you because they think you are too junior.
But at my day to day practice, I think I am O...
Although I am fairly comfortable (certainly not an expert) with TDD, DDD, and Agile concepts, I am working with some contractors who are not. They're smart guys though and given the limitations of our project they agree that techniques from these schools would increase our chances of success. We are not looking to go full blown but TDD...
A question I got on my last interview:
Design a function f, such that:
f(f(n)) == -n
Where n is a 32 bit signed integer; you can't use complex numbers arithmetic.
If you can't design such a function for the whole range of numbers, design it for the largest range possible.
Any ideas?
...
Design a function f such that:
f(f(x)) == 1/x
Where x is a 32 bit float
Or how about
Given a function f, find a function g
such that
f(x) == g(g(x))
See Also
Interview question: f(f(n)) == -n
...
I am a fairly junior programmer and have the task of interviewing an experienced mainframe COBOL programmer for a position doing C++ development for Windows Mobile. By experienced I mean that the candidate's entire programming career has been COBOL.
I am not biased against any particular language, just slightly concerned about my abil...
I got the question in the interview.
I had a difficulty in answering it.
I was not sure where I should start.
Finally, I discussed how the question is related to compilers and to their construction.
I was not sure what "compilers' integers" mean exactly.
It seems to me now that the word compiler was to confuse candidates.
How would y...
I imagine most of you know what I am getting at. You start a new job and within the first week or so of scanning through the code you realize you are in yet another C shop that throws in the occasional stream or hapless user defined class here and there. You quickly realize that not only aren't you going to learn anything new but it is...
I like to touch on recursion during interviews and am looking for some new ideas. My desired format is to ask the candidate to implement something without any restrictions. Then if he doesn't do it recursively, ask him if it can be done.
Currently, I have Fibonacci and factorial which are a bit too standard for my liking. Recent graduat...