need a difficult question!

Who were the 3 people who got away with the Great Train robbery ?
 
Take a representation of a cities skyline as an integer linear array with the values representing the heights of buildings. Describe an efficient algorithm to calculate the volume of water require to fill all troughs created between 2 tall buildings. What is the run-time as a function of the array length N. Can you design an algorithm that computes the answer in a single pass, and if so what is the memory requirements.

that is the kind of question our company asks people.
 
I got asked this last year:

There are three light switches on the outside of a closed room, each light switch corresponds to a different light bulb inside the room. You are only allowed to look/go inside the room once. How can you tell which light switch corresponds to each bulb?
 
I got asked this last year:

There are three light switches on the outside of a closed room, each light switch corresponds to a different light bulb inside the room. You are only allowed to look/go inside the room once. How can you tell which light switch corresponds to each bulb?

Switch the first switch on.
Wait 10 mins
Switch the first switch off
Switch the second switch on
Go into room
Hot bulb - Switch 1
Lit bulb - Switch 2
Cold bulb - Switch 3
 
I got asked this last year:

There are three light switches on the outside of a closed room, each light switch corresponds to a different light bulb inside the room. You are only allowed to look/go inside the room once. How can you tell which light switch corresponds to each bulb?

Open the door, then switch the lights on and off to see them - easy. No need to over complicate it and doesn't break the rules ;)

- GP
 
Switch the first switch on.
Wait 10 mins
Switch the first switch off
Switch the second switch on
Go into room
Hot bulb - Switch 1
Lit bulb - Switch 2
Cold bulb - Switch 3
Bingo, though my first response was to put a servo + timer mechanism on one of the switches :p

Am I missing something with the moose question?

New red dwarf
 
Am I missing something with the moose question?

Yes you are - the moose wasn't driving :p

/ Edit - on topic:

5054868_700b.jpg
 
Last edited:
Simple things that you see every day but don't necessarily take in are always good, like asking for the correct order of the colours of the letters in GOOGLE or EBAY.

A simple one to trip people up...
How many hands does Big Ben have?
None, cos it's a bell.
 
Q: What is the name of the largest known crater in the solar system?

A: The Aitken basin on our moon.
 
Back
Top Bottom