The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [logical-deduction]

A puzzle that requires formal logical deduction to arrive at the solution. This suggests more than merely reasoning through clues to find an answer (you might want [situation] for that).

2,031 questions
Filter by
Sorted by
Tagged with
73k views

In the 100 blue eyes problem - why is the oracle necessary?

The riddle Randall Munroe (of xkcd fame) has, a bit hidden on his site, a logic puzzle: A group of people with assorted eye colors live on an island. They are all perfect logicians -- if a ...
20k views

This is it. This is the one. Find your wife

If you have found her, maybe you could try saving her? You come home one day and find your wife is out. You open your computer and discover an email from her. To xxxxx, / Curiosity killed the ...
42k views

Mensa IQ test question

Which of the 8 tiles below is missing? I've been trying to figure out the answer to this question for quite some time. Can anyone spot the pattern?
37k views

My wife has died

In 1980, a man lives on the 30th floor of his building. Every morning he wakes up, gets ready, kisses his wife, takes the elevator down to the first floor, and goes to work. One morning, he wakes ...
923k views

Two doors with two guards - one lies, one tells the truth

You are a prisoner in a room with 2 doors and 2 guards. One of the doors will guide you to freedom and behind the other is a hangman --you don't know which is which. One of the guards always tells ...
16k views

Five coloured doors, which leads to freedom?

You have been incarcerated in a high-security prison for several nefarious crimes which we need not go into here. The warden, being a kindly logician, offers you a single chance to escape. You are ...
38k views

3 Logicians Walk Into a Bar

Three logicians walk into a bar. The barman says, 'Does everybody want a drink?' The first logician says, 'I don't know.' The second logician says, 'I don't know.' What does the third logician say? ...
16k views

No idea why my dad dragged me into this place. Some guy is performing on the stage. He's reading numbers out loud. I think it's some kind of a sequence puzzle. 1... 8... 9... 16... 17... ...
15k views

Nine gangsters and a gold bar

One night nine gangsters stole a gold bar. When the time came for dividing the bar, they faced a problem: two of the criminals put guns to each other's faces. Now it's up to fate whether one of them ...
21k views

Correct way to add 22 to 4 to get 82

Inspired by this other puzzle, tell me a correct way by which adding 22 to 4 will give 82. As in that other puzzle, these numbers are all expressed in base 10.
12k views

Is a married person looking at an unmarried person?

I remember answering this one incorrectly and when the answer was explained to me I was annoyed with myself. Here is your chance, with the original word phrasing: Jack is looking at Anne, but Anne ...
6k views

4k views

Clever Jack - A logical fairy tale

As so often happens in fairy tales, there once was a king who had an intractable problem, one that even his wisest advisers could not solve. After many years of frustration, the exasperated king ...
8k views

3 doors, three guards, one stone

You are in a room with three doors. Behind two of them, the darkest pit of hell waits for you to make a mistake. The other door leads to heaven and freedom. Each door is guarded by a guard: Michael, ...
29k views

Hats and Aliens

Here's a neat little puzzle taken from a Google interview question: 10 humans are abducted by aliens; each represents 10% of the entire human population. The aliens give each abductee either a ...
2k views

The Persistence Of Memory

You find yourself on the floor, slowly waking up and unable to remember how you got here. As you slowly come to your senses, you realize that another weird guy has trapped you in another unfamiliar ...
30k views

How did the police know?

One night, a man receives a call from the police. The police tell the man that his wife was robbed, murdered, and her body dumped in a remote location, and that he should reach the crime scene as soon ...
5k views

Amnesiac in a ring shaped palace

Related: Turn off all lights in a ring-shaped palace Your boss has trapped you inside a ring-shaped palace, and all you know about the palace is that there are some number* of identical rooms, each ...
6k views

Burning ropes as timers

You have 2 identical ropes which burn at a specific rate, and an unlimited supply of matches. When you light one end of a rope, the fire will take exactly 1 hour to travel to the other end of the rope....
11k views

How many liars are in the room?

There are five people in a room. Each person is either a knight, who always tells the truth, or a liar, who always lies. Each person is asked the following question: How many liars are among you?...
7k views

Hungry lions and a goat

There are 53 lions in a cage and 1 goat. All the lions are very hungry and would want to eat the goat. But the problem here is that any lion who eats the goat can satisfy his hunger but he will ...