Click here to Skip to main content
15,915,703 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Interview Question Pin
Rahul VB5-Apr-14 6:56
professionalRahul VB5-Apr-14 6:56 
GeneralRe: Interview Question Pin
PIEBALDconsult5-Apr-14 18:06
mvePIEBALDconsult5-Apr-14 18:06 
GeneralRe: Interview Question Pin
Paulo Zemek6-Apr-14 15:20
Paulo Zemek6-Apr-14 15:20 
GeneralRe: Interview Question Pin
Stefan_Lang6-Apr-14 21:44
Stefan_Lang6-Apr-14 21:44 
GeneralRe: Interview Question Pin
Stefan_Lang6-Apr-14 22:00
Stefan_Lang6-Apr-14 22:00 
GeneralRe: Interview Question Pin
Nelviticus6-Apr-14 22:21
Nelviticus6-Apr-14 22:21 
GeneralRe: Interview Question Pin
Stefan_Lang6-Apr-14 22:42
Stefan_Lang6-Apr-14 22:42 
GeneralRe: Interview Question Pin
irneb7-Apr-14 2:09
irneb7-Apr-14 2:09 
Actually the 1st is a bit of a trick question. The hint is in this line:
Rahul VB wrote:
For example i set it on fire and the rope burns for one hour.


Did he actually state that the rope is 1 hour long and you must then divide it into a half hour- and another into a 3/4 hour rope?

I think this question is meant to find out how you read a problem. E.g. your measuring tool is time. And all you're being asked is to measure a rope of 30 min "long" and another of 45 min "long" ... i.e. start burning the rope while you start the measurement (i.e. something like a stopwatch). Then snuff the burning rope once it's reached the time indicated.

Now if you're required to end with a rope the same length as the specified time, you'd need at least 2 ropes (equal lengths) to achieve this. E.g. time how long the 1st burns, subtract the required left over rope from that time then burn the 2nd for that amount and snuff it.
GeneralRe: Interview Question Pin
irneb7-Apr-14 2:55
irneb7-Apr-14 2:55 
GeneralRe: Interview Question Pin
User 48350477-Apr-14 3:43
User 48350477-Apr-14 3:43 
GeneralRe: Interview Question Pin
Tomz_KV7-Apr-14 4:16
Tomz_KV7-Apr-14 4:16 
GeneralRe: Interview Question Pin
Rahul VB8-Apr-14 4:51
professionalRahul VB8-Apr-14 4:51 
GeneralRe: Interview Question Pin
JamesStewarts7-Apr-14 4:38
JamesStewarts7-Apr-14 4:38 
GeneralRe: Interview Question Pin
Ilka Guigova7-Apr-14 5:54
Ilka Guigova7-Apr-14 5:54 
GeneralRe: Interview Question Pin
Rahul VB7-Apr-14 17:48
professionalRahul VB7-Apr-14 17:48 
GeneralRe: Interview Question Pin
mrmike7-Apr-14 4:39
professionalmrmike7-Apr-14 4:39 
GeneralRe: Interview Question Pin
PapaCraft7-Apr-14 9:26
PapaCraft7-Apr-14 9:26 
GeneralRe: Interview Question Pin
budryerson7-Apr-14 9:59
budryerson7-Apr-14 9:59 
GeneralRe: Interview Question Pin
Member 103445857-Apr-14 11:24
Member 103445857-Apr-14 11:24 
GeneralRe: Interview Question Pin
Rahul VB7-Apr-14 17:47
professionalRahul VB7-Apr-14 17:47 
GeneralRe: Interview Question Pin
Member 103445858-Apr-14 4:33
Member 103445858-Apr-14 4:33 
GeneralRe: Interview Question Pin
Rahul VB8-Apr-14 4:49
professionalRahul VB8-Apr-14 4:49 
GeneralRe: Interview Question Pin
Member 103445858-Apr-14 5:02
Member 103445858-Apr-14 5:02 
GeneralRe: Interview Question Pin
Rahul VB8-Apr-14 6:32
professionalRahul VB8-Apr-14 6:32 
GeneralRe: Interview Question Pin
KP Lee8-Apr-14 14:59
KP Lee8-Apr-14 14:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.