Posts

Showing posts with the label words

Puzzle : The Password Challenge by Evil Troll

A bridge was guarded by an evil troll. The troll was very intelligent, but he was also a coward. He was afraid of anyone smarter than him. So every time anyone tried to cross the bridge, the troll would set up a test. If the traveler passed the test, he would be allowed to cross. Otherwise, the troll would eat him.

Three travelers, Al, Ben and Carl, came across the bridge. 

The troll told them, "You may only cross my bridge if you know the password." 
He wrote five three-letter words on a rock. The five words were HOE, OAR, PAD, TOE, and VAT.

He then said, "I will tell each of you a different letter from the password. If you know what the password is, I will let you pass. But don't tell anyone else your letter." 

He then whispered a letter from the password to each traveler so that neither of the other two could hear him.

Then the troll asked Al, "Do you know what the password is?" "Yes," said Al, and the troll let him pass.


Then the troll asked Ben, "Do you know what the password is?" "Yes," said Ben, and the troll let him pass.

 
Then the troll asked Carl, "Do you know what the password is?" "Yes," said Carl, and the troll let him pass.


So, what is the password?


THIS is the correct password! 

One more such challenge by an evil troll! 



Solution : Intelligent Response to an Evil Troll


What was the challenge?

The list of words given by evil troll is - 

HOE, OAR, PAD, TOE, and VAT

Remember, all travelers i.e. Al, Ben and Carl knew the correct password straightaway as soon as evil troll whispered a letter from the password to each traveler.

STEPS : 

1] The unique letters (i.e. letters appearing only once) in above list of words are D, H, P, R and V. The evil troll must have one of these letters to Al, as Al could guess the correct password straightaway. 

The word TOE doesn't have any unique letter, hence, TOE is eliminated straightaway. 

Had Evil troll whispered any letter from TOE (i.e. T, O or E), then Al wouldn't have an idea whether the correct password is TOE or VAT, HOE or TOE or OAR,  HOE or TOE.

2] Now, Ben is smart enough to know that TOE is eliminated from the race after Al's response. He has to think about only four words i.e. about HOE, OAR, PAD, VAT.

The unique letters appearing in rest of words list are D, E, H, P, R, T, and V. One of these letters must be with Al and other must be with Ben. 

But the word OAR has only one unique letter i.e. R. If OAR was the password then only 1 of 3 travelers would have guessed the password correctly while other 2 would have been confused.

Therefore, OAR can't be the password.

3] Carl too smart enough to recognize that OAR and TOE are not the correct passwords. So, he has to think of only 3 words -  HOE, PAD, VAT.

Here, unique letters from the list of words are - D, E, H, O, P, T, and V.

Every traveler must have one unique letter from the above list. In fact, the password itself must be formed by only unique letters from the above list.

Words PAD and VAT has only 2 unique letters ( P & D, V & T respectively).

So, if PAD or VAT was the correct password then the one with letter A wouldn't have been able to guess the correct password.

Hence, HOE must be the correct password. 

4] The letter H must be with Al as T, O, E can't be with him. Similarly, Ben can't have letter O, so he must had letter E and he knows TOE is not the password after hearing Al's response. And the letter O must be with Carl and he knows TOE or OAR are not the passwords.

Intelligent Response to an Evil Troll

Puzzle : An Evil Troll on A Bridge

A bridge was guarded by an evil troll. The troll was very intelligent, but he was also a coward. He was afraid of anyone smarter than him. So every time anyone tried to cross the bridge, the troll would set up a test. If the traveler passed the test, he would be allowed to cross. Otherwise, the troll would eat him.

A traveler came across the bridge. 


The troll said, "You may only cross my bridge if you know the password." 

He then wrote thirteen pairs of letters on a rock:

A-V
B-W
C-Q
D-M
E-K
F-U
G-N
H-P
I-O
J-R
L-X
S-T
Y-Z


"These thirteen pairs consist of all 26 letters of the alphabet," said the troll. 


"The password contains thirteen letters, no two of which are the same. Each pair consists of one letter that is in the password and one other letter. If you wrote out the "other" letters in alphabetical order and then wrote each "password" letter under each one's corresponding "other" letter, you would have the correct spelling of the password."

Then the troll wrote five short words on the rock: FACE, QUEST, QUICK, SWITCH, and WORLD. 


"Each short word contains exactly the same number of letters with the password," he said.

So, what is the password? 

Solution : An Evil Troll on A Bridge Puzzle : Solution


The thirteen pairs of letters given by an evil troll are -

A-V
B-W
C-Q
D-M
E-K
F-U
G-N
H-P
I-O
J-R
L-X
S-T
Y-Z


And 5 short words given by troll are -  FACE, QUEST, QUICK, SWITCH, and WORLD.  

As described in the given details, we'll refer letter from password as PASSWORD letter & other as OTHER letter.

As per troll, those short words are having same number of PASSWORD letters.

STEPS :

1] Both S & T are appearing in the pair with each other. Hence, either S or T must be a PASSWORD letter but not both. Since, both letters are appearing in short word QUEST, that is QUEST having at least 1 PASSWORD letter for sure hence, all 5 must have at least 1 PASSWORD letter.

2] Suppose every short word has 1 PASSWORD letter. With S or T as 1 PASSWORD letter from QUEST, other letters Q, U, E can't be PASSWORD letters. 

If Q, U, E are not PASSWORD letters then C (from C-Q pair), F (from F-U pair) and K (from E-K pair) must be PASSWORD letters. 

In that case, FACE will have 2 PASSWORD letters viz. C & E which goes against our assumption of having exactly 1 PASSWORD letter in each short word. 

3] Let's assume along with S or T the second PASSWORD letter is E i.e each short word has 2 PASSWORD letters. Again, Q, U can't be PASSWORD letters but C (from C-Q pair) & F (from F-U pair) must be. Still then FACE will have 3 PASSWORD letters which goes against our assumption of exactly 2 PASSWORD letter in each short word. 

4] Now, let's assume along with S or T the second PASSWORD letter is U. Again, Q, E can't be PASSWORD letters but C (from C-Q pair) & K (from E-K pair) must be. Still then QUICK will have 3 PASSWORD letters which goes against our assumption of exactly 2 PASSWORD letter in each short word. 

5] Let's assume there are 4 PASSWORD letters in each short word. So apart from S or T, the letters Q, U, E of short word QUEST must be PASSWORD letters. 

If Q, U, E are PASSWORD letters then C (from C-Q pair), F (from F-U pair) and K (from E-K pair) must NOT be the PASSWORD letters. 

In the case, the short word FACE will have maximum only 2 PASSWORD letters (not sure about A from A-V pair) which again goes against our assumption of exactly 4 PASSWORD letter in each short word. 

6] Hence, each short word must be having 3 PASSWORD letters. 

If Q, E are the PASSWORD letters with S or T in QUEST, then C & K can't be PASSWORD letters. With that, Q, U, I will be 3 PASSWORD letters in QUICK. And if U too is the PASSWORD letter then QUEST will have 4 PASSWORD letters. 

If Q, U are the PASSWORD letters with S or T in QUEST, then C & F can't be PASSWORD letters. With that, FACE can have maximum of only 1 PASSWORD letter. 

7] Hence, U & E must be other 2 PASSWORD letters apart from S or T in short word QUEST. So Q must not be the PASSWORD letter but C must be. Also, F and K can't be the PASSWORD letters.  Hence, FACE will have E, C and A as PASSWORD letters. 

If A is PASSWORD letter then V (from A-V pair) can't be the PASSWORD letter.

8] Next, from QUICK we will have, C, U and obviously I as 3 PASSWORD letters after Q, K are ruled out. If I is PASSWORD letter then O (from I-O pair) can't be the PASSWORD letter.

9] Just like QUEST, SWITCH too have either S or T as PASSWORD letter. Moreover, it has I & C as PASSWORD letters. Hence, H & W must not be the PASSWORD letters.

10] So, if W & O are not the PASSWORD letters then other 3 letters of WORLD i.e. R, L, D must be PASSWORD letters. With that M (from D-M pair), J (from J-R pair) and X (from L-X pair) are ruled out.

11] So far we have got - 

PASSWORD letters - U, E, C, A, I, R, L, D, Either S or T.

OTHER letters - Q, F, K, V, O, H, W, M, J, X  

12] Arranging every OTHER letter in alphabetical order & writing down corresponding PASSWORD letter below it -

OTHER :  F   H   J   K   M   O   Q   V   W   X
PASS.  :  U   P   R   E   D   I    C   A    B   L 

13] Now, S-T, G-N, Y-Z are the only 3 pairs left. And correct placement for these pairs must be like.

OTHER :  F   G   H   J   K   M   O   Q   S   V   W   X   Z
PASS.  :  U   N   P   R   E   D   I    C   T   A    B    L   Y

CONCLUSION : 

The PASSWORD that an evil troll has set must be UNPREDICTABLY

An Evil Troll on A Bridge Puzzle : Solution
 
 

The Secret Word - Puzzle

A teacher writes six words on a board: “cat dog has max dim tag.” She gives three students, Albert, Bernard and Cheryl each a piece of paper with one letter from one of the words.

Then she asks, “Albert, do you know the word?” Albert immediately replies yes.

She asks, “Bernard, do you know the word?” He thinks for a moment and replies yes

Then she asks Cheryl the same question. She thinks and then replies yes

What is the word?

The Secret Word


THIS must be the given word! 

The Secret Word - Solution


What was the puzzle?

A teacher writes six words on a board: CAT, DOG, HAS, MAX, DIM, TAG 

--------------------------------------------------------------------------------------------------

1. Albert knows the word right away because he must have received unique letter from above words. Had he received the letter A then he wouldn't have figured out the exact word as A appears in CAT, HAS, MAX and TAG. 

Similarly, he must not have received letters T, D, M and G as those appears multiple times in the list of words.


That is, he must have letter from unique letters C, O, H, S, X, I as they appears only once in the above list of words.

With that the word TAG is eliminated out of the race since any of unique letters doesn't appear in the word TAG.

--------------------------------------------------------------------------------------------------

2. Now, words left are - CAT, DOG, HAS, MAX, DIM 

In a moment of thinking, Bernard can conclude that the TAG can't be the word and Albert must have got some unique letter from the given words.

After providing letter from C, O, H, S, X, I to Albert, teacher provides letter from rest of letters to Bernard.


Now, if she had given letter -

A - Bernard wouldn't have idea whether the word is CAT, HAS or MAX

D - Bernard wouldn't have idea whether the word is DOG or DIM

M - Bernard wouldn't have idea whether the word is MAX or DIM

That is she must had given letter from unique letters T, O, G, H, S, X.

So, at start, if she provides letter I to the Albert then she can't provide D or M of word DIM to Bernard to give him equal chance to identify the word. 

Hence, the word DIM is also eliminated out of race.

If she had provided letter O to Bernard, then Albert would have been with either D or G with which he wouldn't have been able to figure out the exact word whether it is DOG/DIM or DOG/TAG respectively. Hence, Bernard must not be with letter O.

If Bernard is with letter X then Albert must had either M or A with which he couldn't have figured out the exact word among MAX/DIM or CAT/HAS/TAG/MAX. Hence, Bernard can't have X as well. With that MAX is also eliminated.

Now, if Bernard has letter - 

T - Albert might be with C

G - Albert might be with O

H - Albert may have S

S - Albert may have H. 

--------------------------------------------------------------------------------------------------

3. The words left are - CAT, DOG, HAS.

Again, in a moment of thinking, Cheryl deduced list of 3 possible words as above.

Now, if she had letter A then she wouldn't have idea of exact word whether it is CAT or HAS. 


If she had unique letter among C/T (or H/S), then either Albert or Bernard with letter A would have been unsuccessful in guess.

If she had letter O/G then either Albert of Bernard would have been with letter D by which they wouldn't know the exact word. 

Hence, Cheryl must had letter D and the word must be DOG.

Albert must have got letter O and the Bernard must have received letter G.

--------------------------------------------------------------------------------------------------

Knowing The Secret Word - Solution



Follow me on Blogarama