Technical Interview

Home
Technical Interview
Interview Process
Introduction Questions
Quantitative Problems
Google & Microsoft
Google Pages
Algorithms
Object Oriented
C/C++ Questions
Java Questions
Data Structures
Fundamental Questions
Puzzles
Resume Tips
Added Recently
Links
Contact Us
Submit Question/Answer

Added recently: questions, puzzles,....


  •  Data Structures: Teddy Bears Puzzle: the game starts when I give you some bears. You can then give back some bears...


  • Data Structures: binary search of the arrayImplement the body of the following function using a binary search of the array... 

  • Data Structures: spanning Tree: What is a spanning Tree? Does the minimum spanning tree of a graph give...

  • Data Structures: JAVA: Suppose that I have the following declarations...

  • Data Structures: JAVA: What are the steps to inserting a new item at the head...

  • Microsoft: Who is taller: 500 men are arranged in an array of 10 rows and 50 columns according to their heights...

  • VC++: Tuple:  Explain tuple in visual c++


  • Google: arrangement of blocks: You are given N blocks of height 1…N. In how many ways can you arrange these blocks...

  • Glove Selection: There are 22 gloves in a drawer: 5 pairs of red gloves, 4 pairs of yellow, and 2 pairs of green...



 

What is the difference between an Interface and an Abstract class?

Solution

 

Explain different ways of using thread?

 

Solution

 


Three spies, suspected as double agents, speak as follows when questioned:

Albert: "Bertie is a mole."
Bertie: "Cedric is a mole."
Cedric: "Bertie is lying."


Assuming that moles lie, other agents tell the truth, and there is just one mole among the three, determine:

1.) Who is the mole?
2.) If, on the other hand there are two moles present, who are they?

Solution


Given twelve marbles that are identical in size, shape, and color, determine which single marble is heavier in weight than the others. You are supplied with a balance and must conclude your determination in three weighings.

Solution

 

Quantitative Questions 

 

A company with ten production lines can produce 1000 computer in five days.  How many computers can this company produce with five lines in seven days?

Solution 

 

 

Data Structures

 

Which data strucutres algorithm used in solving the eight Queens problem?

Solution 

 

 

What pointer type is used to implement the heterogeneous linked list in C?

Solution