Imagine that you are travelling to a village. You happen to reach a point in the road where there is a fork. There are two ways that you can go into but only one amongst them is correct and leads to the village. You happen to see two men standing on the fork and you can ask them for the direction. To your bad luck, one amongst the two men always lies and the other one always says the truth. But you do not know who is a liar and who is not. At that point of the situation you are allowed to ask only one question to any one of the men standing there.
You can ask this question to any one person, "if I ask the man who is next you: which is the correct way and the road to the village, what would the person next to you answer?"
If you happened to ask this question to the liar, he will show you the wrong way.
And if you happened to ask this question to the one who says truth, he will also show you the wrong way.
Once you are done with this, take the other way. This will lead you to the village
There is no reason whatever why the customer's original deposit of Rs.100 should equal the total of the balances left after each withdrawal.
The total of withdrawals in the left-hand colum may equal Rs.100, but is is purely coincidence that the total of the right-hand column is close to Rs.100.
Let us show another example, but starting with Rs.200 in the bank:
Withdrawals Balance left
Moral of this story? Don't Total Balances
You are sitting in front of your interviewer. He gives you three envelopes. One of them contains an offer letter and the other two are empty. You pick up one of them. Now, the interviewer opens up one of the envelope lying on the table and you find out that it is blank.
Now, he gives you a chance to switch your envelope with the one on the table. Would you switch it? Why or why not?
Yes, you should switch the envelope. In the beginning when you picked up the envelope, you had a 1/3 probability of finding an offer letter in the envelope. There was 2/3 chance that the letter was there in the two envelopes on the table.
If you keep your selected envelope, you still have a 1/3 chance of finding an offer letter in that. However, since the interviewer has removed one empty envelope from the table, if you switch, you have a probability of 2/3 that the offer letter is inside that.
Set the first switches on for abt 10min, and then switch on the second switch and then enter the room.
Three cases are possible
1.Bulb is on => second switch is the ans
2.Bulb is off and on touching bulb , you will find bulb to be warm
=>1st switch is the ans.
3.Bulb is off and on touching second bulb , you will find bulb to be normal(not warm)
=>3rd bulb is the ans.
As shown in picture, there are four gears with the following specification
* Gear A has 60 teeth
* Gear B has 40 teeth
* Gear C has 20 teeth
* Gear D has 60 teeth
* Every minute, Gear B makes 15 complete turns.
We have arranged matchsticks in a manner that all the first row, second row, first column and third column contain 12 matchsticks each. Can you remove 4 matchsticks and rearrange all the remaining matchsticks that we are still left with 12 matchsticks in the first row, second row, first column and the third column.
There can be myriad ways to create a palindrome. One day, I thought of making my own palindrome. I thought of a number and then decided to add the reversed number to it. Sadly, I did not get a palindrome.
So I kept repeating this step and eventually I succeeded in creating a palindrome. I don't know if you can always create a palindrome using this method but I was able to generate one of four digits.
A clever robber breaks into a closed bank where he finds a clerk. He asks password of the safe from the clerk while pointing a gun on his forehead. Out of fear, the clerk manages to blurt out, “Every day, the password of the safe is changed. I can help you but please point away the gun as if you kill me, you will never be able to crack the password.
The robber ties the clerk on a chair and insert a cloth in his mouth. He then easily opens the safe after inserting the code and takes all the money before he flees.
You are stuck with the pirates who might even kill you on board. They give you a chance to survive. There are hundred black rocks and hundred red rocks. There are two empty sacks which are labelled as heads and tails respectively. You have to divide the rocks in two bags as per your wish. Then a fair coin will be flipped. If its heads, you will have to pick a rock on random from the sack labelled heads and if its tails, you will pick up from the tails sack. If you pick up a black rock, you will be freed and if you pick up a red rock, you will be killed.
How will you distribute the rocks so that your chances of survival are the best?