| Posted: The answer is that you need to store all possible configurations of the board and the move that is associated with that. Then it boils down to just accessing the right element and getting the corresponding move for it. Do some analysis and do some more optimization in storage since otherwise it becomes infeasible to [...] |
| Give a very good method to count the number of ones in a “n” (e.g. 32) bit number. Posted: Given below are simple solutions, find a solution that does it in log (n) steps. Iterative function iterativecount (unsigned int n) begin int count=0; while (n) begin count += n & 0×1 ; n >>= 1; end return count; end Sparse Count function sparsecount (unsigned int n) begin int count=0; while (n) begin count++; n [...] |
| Posted: I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer was not too pleased and asked me to give a solution which did not need the array |
| Posted: There are 45 different 3-digit numbers. The last digit can not be 0. If the last digit is 1, the only possible number is 101. (Note that 011 is not a 3-digit number) If the last digit is 2, the possible numbers are 202 and 112. If the last digit is 3, the possible numbers are 303, [...] |
| Posted: Assume that you start counting on 1 January 2001. 9 Years, 187 Days, 5 Hours, 20 minutes As you can count 200 per minute, to count 1 billion you require = 1,000,000,000/200 minutes = 5,000,000 minutes gy majors, & 62% are business majors. If there are 200 students, how many of them are majoring in both [...] |
| Posted: Divide the number of juniors (187) by the total number of student (981), & then multiply the number by 100 to convertto a percentage. Hence the answer is (187/981)*100 = 19% |
| Posted: They played total of 9 games. Jack won 3 games and Jill won6 games. If Jack has won three games and Jill has won $3, she lost adollar for each loss, therefore she has won 6 and lost 3 to make $3 and he won the other 3 that she lost |
| Posted: 24.(logical xpln) assume 100 rs & 30 apples.i.e 3.33/ apple. for 20 % profit i.e 20 rs, each apple 2 b sold at 4 rs. but he has to sell it in rs 100 therefore no of apples shud b reduced. to earn 20 rs =3.33*(6) approx.therefore 6 less apples thus 24 apples |
| Posted: Rate should be Rs 150 per meter (not sqm). (Rs 150 / m) * circumference = (Rs 150 / m) * pi * diameter = (Rs 150 / m) * (22/7) * 70 m = Rs 150 * 22 * 10 = Rs 33000 |
|
Posted: Could you please explain me how you got 6 as your answer. I could do it in a minimum of 11 races. There has to be atleast 5 races to select 15 horses. The 15 horses then compete among themselves and best 9 horses are chosen. The 9 horses then run in groups of 5 [...] |
| Find out the smallest four digit number which is divisible from 1 to 10? Posted: 1050. I multiplied all the prime numbers from 1 - 10 and then found its(210) smallest 4 digit multiple which is 1050 |
| I can take a bca student instead of you then why should i hire you Posted: You can get a uneducated person for 1/4 to 1/10 of salary why don’t you hire him. Answer is quality, understanding, future value addition etc. |
| Posted: Here the realative speed is 60+60=120kms/hr…. The distance between them was 18kms when the shuttle begins to fly in between them….. To cover 18 kms with a relative velocity of 120 kms/hr the time would be 18/120,ie,=3/20 so shuttle can fly ((3/20)*80) kms before the two trains crashes,so the answer is 12 kms… |
| Posted: Break the gold bar at 3 position then u will get 2(1,2),1(3),4(4,5,6,7) combination gold bar and break at middle in 4 segment (4,5,6,7)in middle so that there will be 2 segment combination(4,5)and (6,7) at 1st day the owner gives 1 the 2nd day he gives 2 and takes 1 and 3rd day he gives 1,4th [...] |
| Posted: Take 3 and 3 balls in each of balance and keep other 2 aside.If there is any defective ball in 3 balls either there will beunbalance.if so take those 3 balls aside which has no defective ball. |
| Posted: Join the centers of the original and the removed rectangle. It works for cuboids too! BTW, I have been getting many questions asking why a horizontal slice across the middle will not do. Please note the “any size or orientation” in the question! Don’t get boxed in by the way you cut your birthday cake [...] |
| Can you tell who is the Doctor and the Engineer? Posted: Mr. Bajaj’s wife and mother are not blood relatives. So from 3, if the Engineer is a female, the Doctor is a male. But from 1, if the Doctor is a male, then the Engineer is a male. Thus, there is a contradiction, if the Engineer is a female. Hence, either Mr. Bajaj or his [...] |
| Posted: The last person covered 120.71 meters. It is given that the platoon and the last person moved with uniform speed. Also, they both moved for the identical amount of time. Hence, the ratio of the distance they covered - while person moving forward and backword - are equal. Let’s assume that when the last person reached the [...] |
| Posted: Assume that initial there were 3*X bullets. So they got X bullets each after division. All of them shot 4 bullets. So now they have (X - 4) bullets each. But it is given that,after they shot 4 bullets each, total number of bullets remaining is equal to the bullets each had after division i.e. X Therefore, the equation [...] |
| You have to draw 3 concentric circles with a line passing thru their centerwithout lifting hand. Posted: Start the line complete one circle move inside circles along the line and then draw second circle. Like wise rest. |
Blog Archive
-
▼
2008
(46)
-
▼
November
(28)
- RARE QUESTIONS
- TECHNICAL QUESTIONS
- TECHNICAL QUESTIONS
- LATEST TECHNICAL QUESTIONS
- TACKLING CAMPUS INTERVIEWS
- TECHNICAL QUESTIONS
- TECHNICAL QUESTIONS
- IMPROVE YOUR SELF CONFIDENCE
- KEYS TO SUCCESSFUL JOB INTERVIEWING
- FACING AN INTERVIEW IS AN ART
- MAKE A BIG IMPRESSION AT YOUR INTERVIEW !!
- INTERVIEWS:WHAT DO THEY LOOK FOR?
- HOW TO FACE TOUGH INTERVIEW QUESTIONS
- INTERVIEW ETIQUETTES
- TIPS FOR INTERVIEW
- BASICS OF AN INTERVIEW
- 2000 INTERVIEW QUESTIONS:SERIES 1
- 2000 INTERVIEW QUESTIONS:SERIES 2
- GD TOPICS:SERIES 1
- 10 SIMPLE WAYS TO CRACK GD
- WHAT IS GROUP DISCUSSION?
- GD TOPICS:SERIES 2
- GD TOPICS:SERIES 3
- GROUP DISCUSSION TIPS FOR FRESHERS
- SOFT SKILLS
- TECHNICAL QUESTIONS
- TECHNICAL QUESTIONS
- LATEST INTERVIEW QUESTIONS
-
▼
November
(28)
Tuesday, November 18, 2008
RARE QUESTIONS
Subscribe to:
Post Comments (Atom)



No comments:
Post a Comment