Skip to content

Commit 96d3125

Browse files
committed
puzzle
1 parent 004b445 commit 96d3125

File tree

2 files changed

+225
-23
lines changed

2 files changed

+225
-23
lines changed
Lines changed: 137 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,141 @@
11
# Top 100 Puzzle
2-
2+
## Logical Puzzle:
33
|Sr. No| Puzzle | Asked |
44
|:----:|:------:|:-----:|
5-
|1| [Pay with a gold rod of 7 Units](../Top%2020%20Puzzle/Top%2020%20Puzzle.md#pay-a-employee-using-a-gold-rod-of-7-units)| Ola Cabs FAANG|
5+
|1|[Pay with a gold rod of 7 Units](../Top%2020%20Puzzle/Top%2020%20Puzzle.md#pay-a-employee-using-a-gold-rod-of-7-units)| Ola Cabs FAANG|
6+
|2|[find the fastest horses]() | MMT
7+
|3|[Finding the injection for anesthesia]() | Google
8+
|4|[3 Bulbs and 3 Switches]() | MMT
9+
|5|[Camel and Banana Problem]()| Amazon
10+
|6|[Find the Jar with contaminated pills]()| MMT
11+
|7|[100 Prisoners with red/back Hats]()|Google, Microsoft
12+
|8|[10 coins puzzle]()|Google, Yahoo
13+
|9|[Strategy for a 2-Player coin game]()| TCS
14+
|10|[5 Pirates and 100 Gold Coins]()|Microsoft
15+
|11|[Minimum cut puzzle]()|Amazon
16+
|12|[Prisoner and policeman Puzzle]()|Microsoft
17+
|13|[Puzzle -cheating husband]()|Microsoft, Google
18+
|14|[Puzzle- Blind games]()|Bloomberg
19+
|15|[Puzzle-Chameleons go on a data]()|Amazon
20+
|16|[heaven and hell]()|Amazon
21+
|17|[Mislabeled Jars]()|Microsoft, Google
22+
|18|[8 balls Problem]()|Microsoft
23+
|19|[cherly's birthday puzzle]()|Facebook, Whatsapp
24+
|20|[puzzle-The Lion and unicorn]()|The Access Group
25+
|21|[Farmer, Goat, Wolf, and Cabbage]()|infosys
26+
|22|[Water Jug Problem]()|wells Fargo
27+
|23|[Blind man and pills]()|
28+
|24|[The burning candles]()|IBM
29+
|25|[Rat and poisonous Milk Bottles]()|Google
30+
|26|[Measuring 6L water using 4L and 9L buckets]()|Microsoft
31+
|27|[Six Houses P,Q,R,S,T,and U]()|
32+
|28|[Melting candles]()| Faang
33+
|29|[Red hat vs Blue Hat]()| Microsoft
34+
|30|[Joint family of 7 persons]()|
35+
|31|[The circle of Lights]()|Microsoft, Bloomberg
36+
|32|[9 students and Red/Black hats]()|Google
37+
|33|[Light all the bulbs]()|Microsoft, Bloomberg
38+
|34|[Distribute the water]()|Microsoft
39+
|35|[can 2 persons be the same number of hairs on their heads]()|oppo
40+
|36|[Weight of Heavy Ball]()|IBM
41+
42+
43+
## Mathematical Puzzle:
44+
| Sr. No | Puzzle | Asked |
45+
| :----: | :----: | :---: |
46+
|37|[Find the ages of daughters]()|Google, Microsoft
47+
|38|[Calculate total distance travelled by bee]()|yahoo
48+
|39|[Puzzle- 6X6 Grid: How many ways]()|Amazon, Zoho
49+
|40|[Monty hall problem]()|VMWare
50+
|41|[torch and Bridge]()|Google, Microsoft
51+
|42|[2 Eggs and 100 Floors]()| VMWare
52+
|43|[Maximize the probability of white ball]()|Amazon
53+
|44|[Poison and Rat]()|Amazon
54+
|45|[Hourglasses Puzzle]()|Bank of america, yahoo
55+
|46|[The ratio of boys and girls in a country where people what only boys]()|Google, Goldman Sachs
56+
|47|[Car wheel Puzzle]()|MMT
57+
|48|[Maximum Chocolate]()|MMT
58+
|49|[Puzzle-Splitting a cake with a missing piece in two equal portion]()|
59+
|50|[Rs 500 note Puzzle]()|
60+
|51|[Girl or Boy]()| Amazon
61+
|52|[Know Average salary without disclosing indivisual salaries]()|Bloomberg
62+
|53|[max run in cricket]()| FAANG
63+
|54|[Completion of task]()| Reflection Systems
64+
|55|[Find missing row in excel]()|Phillips
65+
|56|[Four people on a rickety bridge]()|sap
66+
|57|[Man fell in well]()|American Express
67+
|58|[50 Red and 50 Blue marbles]()|Google, Microsoft, JP Morgan, Chase
68+
|59|[Form three equilateral triangle]()|Google
69+
|60|[10 identical bottles of pills]()|ZS Associate
70+
|61|[Max pieces that can be cut from a circle using 6 straight lines]()|TCS
71+
|62|[Chain Link Puzzle]()|
72+
|63|[The shopkeeper and the lady who made a purchase of Rs 200 with fake note]()|Persistent Systems
73+
|64|[Egg dropping Puzzle with 2 eggs and K floors]()|Google, Microsoft
74+
|65|[Minimum number of apples to be collected from trees to guarantee M red apples]()| Leetcode
75+
|66|[Snail and Wall]()|TCS
76+
|67|[1000 light bulbs switched on/off by 1000 people passing by]()| UK university interview
77+
|68|[Puzzle Four Alternative Knights]()|Amazon, Google
78+
|69|[Lateral Thinking 2]()|TCS
79+
|70|[Puzzle - 100 cows and milk]()|ZS
80+
|71|[Puzzle- 1 Mile on the globe]()|Microsoft
81+
|72|[Lateral thinking]()|TCS
82+
|73|[The counters and Board]()|JP-morgan
83+
|74|[Camel and banana puzzle]()|Amazon, yahoo
84+
|75|[Two creepers climbing a tree]()|Adobe, Google, Microsoft
85+
|76|[3 cuts to cut a round cake into 8 equal pieces]()|adobe, Citius Tech, blackrock
86+
87+
88+
89+
## Arrangement Puzzle:
90+
| Sr. No | Puzzle | Asked |
91+
| :----: | :----: | :---: |
92+
|77|[10 coins puzzle]()|Google, yahoo
93+
|78|[Days of months using 2 dice]()|Microsoft
94+
|79|[Tic Tac Toe Puzzle]()|Amazon
95+
|80|[Matchstick Puzzle]()|Kirloskar brothers
96+
|81|[Last palindrome date before 10/02/2001]()|Amazon
97+
|82|[10 identical bottles of pills]()|ZS
98+
|83|[10 Balls in 5 Lines]()|Publicis Sapient
99+
|84|[Round table coin game]()|ElectrifAi
100+
|85|[Puzzle - The Circle of Lights]()|Microsoft, Bloomberg
101+
102+
103+
104+
## Shape Puzzle:
105+
| Sr. No | Puzzle | Asked |
106+
| :----: | :----: | :---: |
107+
|86|[Chessboard and domninos]()|Google
108+
109+
110+
## Other Puzzle:
111+
| Sr. No | Puzzle | Asked |
112+
| :----: | :----: | :---: |
113+
|87|[Find the total guests that are present at the party]()|Google
114+
115+
116+
117+
118+
119+
120+
121+
122+
123+
124+
125+
126+
127+
128+
129+
130+
131+
132+
133+
134+
135+
136+
137+
138+
139+
140+
6141

Puzzle/Top 20 Puzzle/Top 20 Puzzle.md

Lines changed: 88 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,93 @@
11
# Top 20 Puzzle
2-
1. [3 Ants and Triangle](#3-ants-and-triangle)
3-
2. [Heaven and Hell](#heaven-and-hell)
4-
3. 10 Coins Puzzle
5-
4. Mislabeled Jars
6-
5. 50 Red marbles and 50 blue marbles
7-
6. Minimum cut problem
8-
7. 100 Doors
9-
8. Find the fastest horses
10-
9. Calculate total distance traveled by bee
11-
10. 3 cuts to cut the round cake into 8 equal pieces
12-
11. Find the last ball to remain after the entire process
13-
12. The Two Water Jug
14-
13. 3 Bulbs and 3 switches
15-
14. How to measure 45min using two identical wires
16-
15. Find age of daughters
17-
16. 10 Balls in 5 Lines
18-
17. [Pay an employee using a gold rod of 7 Units](#pay-a-employee-using-a-gold-rod-of-7-units)
19-
18. Torch and Bridge
20-
19. Poison and Rat
21-
20. Camel and Banana Puzzle
2+
- [3 Ants and Triangle](#3-ants-and-triangle)
3+
- [Heaven and Hell](#heaven-and-hell)
4+
- [10 coins Puzzle](#10-coins-puzzle)
5+
- [Mislabeled Jars](#mislabeled-jars)
6+
- [50 Red marbles and 50 blue marbles](#50-red-marbles-and-50-blue-marbles)
7+
- [Minimum cut Puzzle](#minimum-cut-puzzle)
8+
- [100 Doors](#100-doors)
9+
- [Find the fastest 3 horses](#find-the-fastest-3-horses)
10+
- [Calculate total distance traveled by the bee](#calculate-total-distance-traveled-by-the-bee)
11+
- [3 cuts to cut the round cake into 8 pieces](#3-cuts-to-cut-the-round-cake-into-8-pieces)
12+
- [Find the last ball to remain after the entire process](#find-the-last-ball-to-remain-after-the-entire-process)
13+
- [The Two water Jug](#the-two-water-jug)
14+
- [3 bulbs and 3 switches](#3-bulbs-and-3-switches)
15+
- [How to measure 45min using two identical wires](#how-to-measure-45min-using-two-identical-wires)
16+
- [Find the age of daughters](#find-the-age-of-daughters)
17+
- [10 balls in 5 lines](#10-balls-in-5-lines)
18+
- [Pay an employee using a gold rod of 7 units](#pay-an-employee-using-a-gold-rod-of-7-units)
19+
- [Torch and Bridge](#torch-and-bridge)
20+
- [Poison and Rat](#poison-and-rat)
21+
- [Camel and Banana Puzzle](#camel-and-banana-puzzle)
2222

2323
## 3 Ants and Triangle
24+
There are 3 ants sitting on three corners of a triangle. All ants randomly pick a direction and start moving along the edge of the triangle.
25+
What is the probability that any two ants collide?
2426
## Heaven and Hell
25-
## Pay a employee using a gold rod of 7 Units
27+
There are two gates, one to hell and the other to heaven. Two gatekeepers, one from each gate. One of them always speak the truth and other always lies but you don't know which one guards which gate. you are allowed only one question and you need to find out the gate to heaven.
28+
what is the question?
29+
## 10 coins Puzzle
30+
You are blindfolded and 10 coins placed in front of you on the table. You are allowed to touch the coins but can't tell which way up they are by feel.
31+
you are told that there are 5 coins head up, and 5 coins tail up but not which one are which. can you make two piles of coins each with same number of heads up? you can flip the coins any number of time.
32+
## Mislabeled Jars
33+
There are 3 jars, namely A, B, C. All of them are mislabeled. Following are the labels of each of the jars. A:Candies, B:Sweets, C:Candies and Sweets mixed. you can put your hand in a jar and pick only one eatable at a time. Tell the minimum number of eatable(s) that has/have to be picked in order to label jar correctly.
34+
## 50 Red marbles and 50 blue marbles
35+
Give two boxes B1 and B2 one has 50 red marbles and the other has 50 blue marbles. A ball is selected randomly from any of the boxes and the task is to maximize the probability of selecting a red ball, by reshuffling marbles in the both boxes.
36+
## Minimum cut Puzzle
37+
you have got someone working for you for five days and a gold bar to pay him. You must give them a piece of gold at the end of the every day.
38+
what are fewest number of cuts to the bar of gold that can allow you to pay him 1/5th each day?
39+
## 100 Doors
40+
There are 100 doors in a row, all doors are initially closed. A person walks through all doors multiple times and toggle them in the following way
41+
in the first walk, the person toggles every door in the second walk, the person toggles every second door, i.e. 2th, 4th, 6th, 8th, ... in the third walk. the person toggles every third door i.e. 3rd, 6th, 9th, 12th,.. Likewise, in the 100th walk, the person toggles the 100th door.
42+
which doors are open at the end?
43+
## Find the fastest 3 horses
44+
There are 25 horses among which you need to find out the fastest 3 horses. You can conduct a race among at most 5 to find out their relative speed.
45+
At no point, you can find out the actual speed of the horse in a race. Find out the minimum number of races that are required to get the top 3 horses.
46+
## Calculate total distance traveled by the bee
47+
Two trains are on the same track they are coming towards each other. The speed of the first train is 50km/h and the speed of the second train is 70kmm/h. A bee starts flying b/w the trains when the distance b/w the trains is 100km. The bee first flies from the first train to the second train.
48+
Once it reaches the second train, it immediately flies back to the first train.. and so on the until train collide. Calculate the total distance traveled by the bee. The speed of bee is 80km/h
49+
## 3 cuts to cut the round cake into 8 pieces
50+
you have a birthday cake and have to cut it into 8 equal pieces by making 3 cuts only. How do you do it?
51+
## Find the last ball to remain after the entire process
52+
There are 20 red balls and 16 blue balls in a bag. Any 2 balls are removed at each step and are replaced with a new ball on the basis of the following condition:
53+
if they are of the same color, then they are replaced by a blue ball. if they are of diff color then they are replaced with a red ball.
54+
find the last ball to remain after the entire process.
55+
Here, replacement means that the new ball is inserted into the bag. Once you take out the ball, you do not put them back in the bag - so the balls keep reducing.
56+
## The Two water Jug
57+
You are on the side of the river. You are given an m liter jug and a n liter jug where `0`<`m`<`n`. Both the jug initially empty.
58+
The jugs don't have marking to allow measuring smaller quantities. you have to use the jug measure d liter of water where `d`<`n`. Determine the minimum number of operations to be performed to obtain d liters of water in one of the jugs.
59+
The operations you can perform are:
60+
- Empty jug
61+
- Fill a jug
62+
- Pour water from one jug to the another until one of the jugs is either empty or full.
63+
## 3 bulbs and 3 switches
64+
There is a room with a door(closed) and there light bulbs. Outside the room, there are three switches, connected to the bulb. You many manipulate
65+
the switches as you wish, but once you open the door you can't change them. Identify each switch with its bulb. All bulbs are in working condition.
66+
## How to measure 45min using two identical wires
67+
How do we measure 45min using two identical wires, each of which takes an hour to burn?
68+
we have a matchsticks with us. The wires burn non-uniformly. so for example, the two halves of the wire might burn in 10min and 50min respectively.
69+
## Find the age of daughters
70+
Alok has 3 daughters. His friend Shyam wants to know the ages of his daughters. Alok gives him the first hint.
71+
1. The product of their ages is 72. shyam says more hint
72+
2. The sum of their ages is equal to my house number. shyam says more hint
73+
3. the oldest girl likes strawberry ice cream.
74+
shyam is able to guess after third hint how?
75+
## 10 balls in 5 lines
76+
Given are ten balls, the task is to place these 10 balls in five lines such that each line contains exactly 4 balls.
77+
## Pay an employee using a gold rod of 7 units
78+
An employee works for an employer for 7 days. The employer has a gold rod of 7 units. How does the employer pay the employee,
79+
so that the number of employee's rod units increases by one at the end of each day? the employer can make at most 2 cuts in the rod.
80+
## Torch and Bridge
81+
There are 4 people (A,B,C,D) who wants to cross a bridge at night.
82+
1. A takes 1 min to cross the bridge
83+
2. B takes 2 min to cross the bridge
84+
3. C takes 5 min to cross the bridge
85+
4. D takes 8 min to cross the bridge
86+
## Poison and Rat
87+
There are 1000 wine bottles. One of the bottles contains poisoned wine. A rat dies after one hour of drinking the poisoned wine.
88+
How many minimum rats are needed to figure out which bottle contains poison in hour.
89+
## Camel and Banana Puzzle
90+
A person has 3000 bananas and a camel. The person wants to transport the max number of bananas to a destination which is 1000Km away.
91+
using only the camel as a mode of transportation. The camel cannot carry more than 1000 bananas at a time and eats a banana every km it travels.
92+
What is the maximum number of bananas that can be transferred to the destination using only camel(no other mode of transportation is allowed).
2693

0 commit comments

Comments
 (0)