Sunday, August 31, 2008
Share or get killed
5 sea pirates have 100 gold coins and want to share it. They propose a plan. The senior most one has to propose an idea, if at least 50 % agree, the coins r shared accordingly. else the senior is killed and the next senior most is asked to present a plan and so on .note, all the guys r very clever and very greedy and dont want to lose the coins, and dont want to die. Form a way to share the money.
R u a Genius?
2 maths geniuses meet after 20 yrs.one says i am married. and have 3 daughters. the product of their ages is 72. the sum is the same as the house no. other says, but I cant find it out. The other says. . simple. ok, my eldest daughter has just started the piano classes.Find their ages.
Zero in
In a train Art is found dead. hours later 4 people are queried,
-Blonde says i am innocent, i didnt speak with Art
-White says i am innocent, Blonde spoke with Art
-Old says i am innocent, the brunette killed Art
-Brunette says i am innocent, one of the men killed Art
-The inspector says simple, 4 true statements, 4 false statements.
-I know the killer, very simple!!!
-Find out the killer. (only one is involved.)
-Blonde says i am innocent, i didnt speak with Art
-White says i am innocent, Blonde spoke with Art
-Old says i am innocent, the brunette killed Art
-Brunette says i am innocent, one of the men killed Art
-The inspector says simple, 4 true statements, 4 false statements.
-I know the killer, very simple!!!
-Find out the killer. (only one is involved.)
Palindrome
If the date is written as MMDDYYYY, and then 10022001, ie) oct 2 2001 is a palindrome. which is the immediate palindrome before that date.?
Thursday, August 28, 2008
Tuesday, August 19, 2008
Tuesday, August 12, 2008
As simple as u wish
If u start writing numbers from 1000, What would be the 100000th digit written by u?
Saturday, August 9, 2008
Beauty Contest
Kamal Babu came home just after judging a beauty contest where there were four
semi-finalists: Ms.Uttar Pradesh, Ms.Maharashtra, Ms.Andhra Pradesh and Ms.West
Bengal. His wife was very keen on knowing who the winner was and kamal Babu replied immediately that it was the one wearing the yellow saree. When his wife asked for more details, he gave the following information:
The four girls were wearing saris of different colors (yellow, red, green, white) and the runner-up was wearing green. The four girls were sitting in a row, and Ms.West Bengal was not sitting at either end. There was only one runner-up and she was sitting next to s.Maharashtra. The girls wearing yellow and white saris occupied the seats at either end. s.West Bengal was neither the winner nor the runner-up. Ms.Maharashtra was wearing white. The winner and the runner-up were not sitting next to each other.
The girl wearing the green sari was not Ms.Andhra Pradesh.
Answer the following questions based on the above information.
1. Who was wearing the red sari?
a) Ms.AP b) Ms.WB c) Ms.UP d) cannot be determined
2 Between which two was Ms.West Bengal sitting?
a) Ms.APand Ms.UP b) Ms.Andhra and Ms.Maharashtra c) Ms.Uttar and Ms. Maharashtra d) Cannot be determined.
3. What was the color of the sari that Ms.Uttar Pradesh was wearing?
a) White b) Green c) Red d) Yellow
4. What was the color if the sari that Ms.Andhra was wearing?
a) White b) Yellow c) Red d) Indeterminate
semi-finalists: Ms.Uttar Pradesh, Ms.Maharashtra, Ms.Andhra Pradesh and Ms.West
Bengal. His wife was very keen on knowing who the winner was and kamal Babu replied immediately that it was the one wearing the yellow saree. When his wife asked for more details, he gave the following information:
The four girls were wearing saris of different colors (yellow, red, green, white) and the runner-up was wearing green. The four girls were sitting in a row, and Ms.West Bengal was not sitting at either end. There was only one runner-up and she was sitting next to s.Maharashtra. The girls wearing yellow and white saris occupied the seats at either end. s.West Bengal was neither the winner nor the runner-up. Ms.Maharashtra was wearing white. The winner and the runner-up were not sitting next to each other.
The girl wearing the green sari was not Ms.Andhra Pradesh.
Answer the following questions based on the above information.
1. Who was wearing the red sari?
a) Ms.AP b) Ms.WB c) Ms.UP d) cannot be determined
2 Between which two was Ms.West Bengal sitting?
a) Ms.APand Ms.UP b) Ms.Andhra and Ms.Maharashtra c) Ms.Uttar and Ms. Maharashtra d) Cannot be determined.
3. What was the color of the sari that Ms.Uttar Pradesh was wearing?
a) White b) Green c) Red d) Yellow
4. What was the color if the sari that Ms.Andhra was wearing?
a) White b) Yellow c) Red d) Indeterminate
Milk and Poison
You have 15 bottles of milk and 1 bottle of poison. 4 persons can be tested on, just by giving one sample to each. You have to find out which bottles contains poison. Either all or no one or any 3 or any 2 or any 1 can die in any combination.
Wednesday, August 6, 2008
Out of ur thoughts!!!
Lets start with a simple one...
A man goes into a bar and asks for water. The waiter points the gun at him. The man says "Thank You" and returns. For wat reason did the man ask water...
A man goes into a bar and asks for water. The waiter points the gun at him. The man says "Thank You" and returns. For wat reason did the man ask water...
c simple
Explain how to implement two stacks in one array in such a way that neither stack overflows unless the total number of elements in both the stacks together is n. The push operation must run in O(1) time...
Monday, August 4, 2008
Bouncer
Mr.Ocean recently took up a job of a booking clerk at the local railway station. The station falls on a track which has 25 stations in all. At each of the 25 stations a passenger can get tickets for any of the other 24 stations.How many different types of tickets should Ocean keep to serve any possible booking request?
Free Hit!!!
x
85 90
29 67 0
83 33 69 2
1 81 91 57 36
60 55 61 29 35 6
29 42 45 23 13 5 16
23 13 44 7 39 69 47 98
61 41 91 82 1 37 27 71 36
85 90
29 67 0
83 33 69 2
1 81 91 57 36
60 55 61 29 35 6
29 42 45 23 13 5 16
23 13 44 7 39 69 47 98
61 41 91 82 1 37 27 71 36
6 4 6 9 0 8 9 5 9 6
find x???
Subscribe to:
Posts (Atom)