0% found this document useful (0 votes)
89 views2 pages

Top 20 Job Interview Questions and Answers

HR.c

Uploaded by

Richa kashyap
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
89 views2 pages

Top 20 Job Interview Questions and Answers

HR.c

Uploaded by

Richa kashyap
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

6/15/2014 Programming Interview Questions | CareerCup

Questions Forum Salaries Resume Tips RSS Sign In ▼

Recent Interview Questions


More Questions »
Given the following two tables
Student{studentID, name, address} //<studentID> is primary key 0
Answers
StudentSubject{subjectID, studentID} //<subjectID, studentID> are primary key
0 course{subjectID, subName} //<subjectID> is primary key.
of 0 v otes

Question: write a SQL query to list all students who did not enroll in any subject. (sub query is not allowed)

- snigda.2000 on June 15, 2014 in United States Report Duplicate | Flag

Suppose you have a million integer numbers.


Return all possible values of a,b and c such that 9
Answers
a+b+c<=d.
0 d will be provided to you.
of 0 v otes
ex: if the numbers are 1,2,3,4,5,6,7
and d=7
[1,2,3]
[1,2,4]

[1,2,3] will be same as [1,3,2] and [3,2,1]...

follow up:

Return all such parts that satisfy the above condition if d is not provided.

- anuj.l33t on June 14, 2014 in United States for Hangouts Report Duplicate | Flag

Given a number, you have to replace digits of the number with a given character 'a' and print all such possible
strings(replacing only 1 digit or more at a time). The constraint is that no 2 consecutive digits should be replaced. 1
Answer

0 - amish.cusat on June 14, 2014 in India Report Duplicate | Flag


of 0 v otes

http://www.careercup.com/ 1/2
6/15/2014 Programming Interview Questions | CareerCup
How we can implement final classes in C++, We should be able to create
1
Answer
.object but other class if try to inherit compiler should flag error...
0
of 0 v otes
- CodeWithMe on June 13, 2014 in India Report Duplicate | Flag

When compiler fails to write a copy constructor for u even if u not write any copy constructor
0
Answers
Test t1 = Test();
0 Test t2 = t1; //error
of 0 v otes

- CodeWithMe on June 13, 2014 in India Report Duplicate | Flag

More Questions »

Books Videos
The Google Resume is a comprehensive CareerCup's interview videos give you a
book walking you through getting a job at real-life look at technical interviews. In
a top tech company, while Cracking the these unscripted videos, watch how other
Coding Interview focuses on dev candidates handle tough questions and
interviews and Cracking the PM Interview how the interviewer thinks about their
does this for PMs. performance.

Learn More Learn More

Resume Review Mock Interviews


Most engineers make critical mistakes on Our Mock Interviews will be conducted "in
their resumes -- we can fix your resume character" just like a real interview, and
with our custom resume review service. can focus on whatever topics you want.
And, we use fellow engineers as our All our interviewers have worked for
resume reviewers, so you can be sure Microsoft, Google or Amazon, you know
that we "get" what you're saying. you'll get a true-to-life experience.

Learn More Learn More

Information Products Services Social


Team, Contact & About Cracking the Coding Interview Mock Interviews CareerCup on Facebook
Salaries Cracking the PM Interview Resume Review CtCI on Facebook
RSS The Google Resume Acquisition Interview Consulting Gayle McDowell on Facebook
Behavioral Preparation Grid Videos CareerCup on Twitter
Sample Resumes Gayle on Twitter
CareerCup Blog

CareerCup.com © 2012

http://www.careercup.com/ 2/2

You might also like