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