interview

Permutations for digits represented by Phone Number

Guys, I have an interview in 2 days and I am having a very hard time finding a solutions for this question: What I want to do is .. for any phone number .. the program should print out all the possible strings it represents. For eg.) A 2 in the number can be replaced by 'a' or 'b' or 'c', 3 by 'd' 'e' 'f' etc. In this way how many possi...

deep copy Linkedlist without destroying original list and extra storage space (using ANSI C)

this linkedlist is different than normal linkedlists is that besides the next pointer, it also has a other pointer that points to another node except itself in the linkedlist. so what's the best way to deep copy this linkedlist without destroying the original and no extra space? My approach was simply doing a O(n^2) loop , but should b...

Open Source Developer

Hiring managers keep saying they want "open-source expertise". What do they mean? Do they want someone who contributes to open source projects (i.e. Spring, Hibernate, MySQL etc.) Or someone who implements those technologies into systems? In all likelihood they want both, but is it okay if to say I have "open-source expertise" if I've i...

Can we use union in hibernate

Guys do u have any idea about unions in hibernate. I got this question in a interview .My guess is yes but not sure where and when ...

Interview questions for an eCommerce website.

Hello I recently graduated with a degree in Computer Science this December and am currently on the Job Hunt looking in the area of web design/programing. I have not had any jobs in a computer science related field. Anyways I got a question-air back from one company that I am suppose to answer. The first question is "Please describe you...

Questions to Determine Maven Knowledge

I requested Maven training at work, and the bosses want to hire someone who knows Maven to come work with us as a consultant so that we'll learn Maven from a real-world perspective instead of a training perspective. I've been tasked with coming up with questions of various difficulty to ask potential hires in order to ascertain their Ma...

Is there any way I can access Private member variable of a class?

Is there any way I can access Private member variable of a class? Editing: Not from a member function or friend function but through an instance. ...

Phone interviews (for a technical position): what should I expect?

Hi everyone, I've got a phone interview coming up later today, and I'm a little nervous. I've done a fair bit of in-person interviewing, but I'm not sure what to expect from this one. The position is a development position for a consulting company. I'm fresh out of college (or rather I will be this May) and they know it. We've schedule...

interview assignment

My company is looking for a new web developer and we are eager to find someone that would be efficient as soon as hired and capable of making quality code. I will have to take interview and I would like to give them an assignment, so I can see their general programming skills if they are able to use CSS the general quality of what they...

shortest digest of a string

[Description] Given a string of char type, find a shortest digest, which is defined as: a shortest sub-string which contains all the characters in the original string. [Example] A = "aaabedacd" B = "bedac" is the answer. [My solution] Define an integer table with 256 elements, which is used to record the occurring times for each ki...

Which guru would you interview in a virtual bonus chapter of "coders at work" book?

I've really enjoyed reading Peter Siebel's Coders at work book. At the end of the last chapter (Don Knuth), i tought that the interviews selection was good but a little bit too old-school oriented. So, in your virtual 16th chapter, which guru would you interview? In my 16th chapter, i would be amazed to read an interview of John Carmack...

What are good resources to learn Coldfusion for a job application...

The job title is "ColdFusion Developer." I have bit's HTML and Javascripting experience, but mostly have worked in the "harder" languages such as C and C++ with occational flurries of assembly. I'm currently employeed, but in the current job climate I figure it can't hurt to be looking around and applying for other positions. Plus acc...

How to make a good programming interview?

I am doing interviews with from time to time to recruit some not bad people. And I really think I AM NOT doing to correct Job. I work in a company when We have to do a lot o DB programming, .NET programming, Java programming, so we need people who are open minded and not focused on a particular tech. Afterall language is a notation, You ...

Best way to do powerOf(int x, int n)?

So given x, and power, n, solve for X^n. There's the easy way that's O(n)... I can get it down to O(n/2), by doing numSquares = n/2; numOnes = n%2; return (numSquares * x * x + numOnes * x); Now there's a O(log(n)) solution, does anyone know how to do it? It can be done recursively. ...

How to conduct an interview for a development position remotely?

Usually we run interviews in office. We have a room with a table, the interviewee and one or two interviewers sit at the table, interviewers ask questions, often accompanied with code snippets on paper, the interviewee (hopefully) answers them, writes code snippets to illustrate his point. Usually it's something like an interviewer write...

Where does static variable work in ASP.NET page?

I had an interview today and every thing was going very good, but then an interviewer asked me a question Where Does Static Variable Work in C#- At Application Level or At Page Level. I was not very much clear about this answer as I only knew that static variables are stored on heap and I didn't knew anything about web related thing. ...

Programming interview : quick ways to ensure that program is correct

Hi, I faced a telephonic interview recently and I was asked to write a program. The program is non-trivial to understand, but I am asked to write the program. I wrote the program and interviewer showed me bugs on some corner cases. I wish, I could have found the corner cases earlier. what does everyone do in this case. Thanks Bala ...

Preparing for a C#, ASP.NET, JavaScript interview

I have an interview I'm prepping for, I've written A LOT of code, specifically in C# and ASP.NET. I've written fair amounts of JavaScript, but no OO stuff in it. So I'm definately going to brush up on that. I remember for a previous job interview, I was asked Java questions, like not super intricate, but detailed stuff. Now I'm lookin...

Any good interview Questions to ask a sybase dba.

Hi, I am a java developer and i will be interviewing sybase dbas along with my boss. I know some basic stuff about sybase. Iam looking for good interview questions that i can ask for a sybase dba. they will be having a min of 4 years of experience. I am looking for them to have really good knowledge in performance and tuning related a...

When knowledge of "multithreading" is specified in a C++ job description, what is the expectation?

I understand it should cover threading primitives (mutex, semaphore, condition variables etc.) plus design patterns (such as those specified in POSA2). But what's more? Every project has its own multithreading scenarios and one may have not dealt with those that the job is expecting?. So how does one build their knowledge and prove that ...