Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

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?

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2015-10-13 09:23 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (298 votes), past polls