Orkut
Maths Puzzle
You're an electrician working at a mountain. There are N wires running from one side of the mountain to the other. The problem is that the wires are not labeled, so you just see N wire ends on each side of the mountain. Your job is to match these ends (say, by labeling the two ends of each
wire in the same way).
In order to figure out the matching, you can twist together wire ends, thus electrically connecting the wires. You can twist as many wire ends as you want, into as many clusters as you want, at the side of the mountain where you happen to be at the time. You can also untwist the wire ends at the side of the mountain where you're at. You are equipped with an Ohm meter, which lets you test the connectivity of any pair of wires. (Actually, it's an abstract Ohm meter, in that it only tells you whether or not two things are connected, not the exact resistance.)
You are not charged [no pun intended] for twisting, untwisting, and using the Ohm meter. You are only charged for each helicopter ride you make from one side of the mountain to the other. What is the best way to match the wires? (Oh, N>2, for there is no solution when N=2.)
Read Solution (Total 1)
-
- In case of N wires, we can make different groups.
First group will have single wire.
Second will have 2 wires.
Third will have 3 wires.
...
so on.
Join all wires in each group.
Then move to other side by chopper.
Then identify the groups and mark them according to number of wires.
Marking will be as
11 for single wire.
21,22 for two wires of two wires of 2nd group.
31,32,33 for 3 wires of 3rd group.
..
..
so on.
Now join all *1 ( 11,21....) wires in one group.
all *2 like 22,32,42.... wires in 2nd group.
all *3 wires like 33,43 ,53 in other group.
..
..
so on.
Now come back to f - 15 years agoHelpfull: Yes(1) No(1)
Orkut Other Question