Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Re: Algorithm questions...

by MeowChow (Vicar)
on Nov 18, 2000 at 01:01 UTC ( #42283=note: print w/ replies, xml ) Need Help??


in reply to Re: Algorithm questions...
in thread Algorithm questions...

"how would you use a barometer to measure the height of a building?" (one ans: drop it and see how long before it hits, height = 1/2gt^2)

The problem with this question is that you didn't mention to the candidate that they are also in posession of a watch. Of course, they can still attempt the elegant and accurate "one-mississippi, two-mississippi, three-mississippi" solution.

Anyway, wouldn't a barometer be useful in mesuring a building's height, since there would be a relative pressure difference between top and bottom? I'm sure a formula could be worked out...


Comment on Re: Re: Algorithm questions...
Replies are listed 'Best First'.
Re (tilly) 3: Algorithm questions...
by tilly (Archbishop) on Nov 18, 2000 at 02:00 UTC
    The point of this question is to answer the question in any way possible without using the barometer for its obvious purpose.

    For instance by going to the owner of the building and offering to trade one barometer for the answer to how tall the building is...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://42283]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2015-07-30 06:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (270 votes), past polls