Kalido Interview Question for Software Engineer / Developers

Country: India
Interview Type: In-Person

Comment hidden because of low score. Click to expand.
7
of 7 vote

Take 2 ropes R1, R2. Light R1 at both ends and R2 at one end. When R1 is completely burned (30 minutes have passed), light R2 at the other end. When R2 is completely burned 45 minutes have passed.

Comment hidden because of low score. Click to expand.
1
of 1 vote

Take one rope r1 burn it on one end ,it will take 30 min to burn, simultaneously burn the r2 rope when you started to burn r1 . r1 will burn completely in 30 mins, and r2 will burn half ,then again burn it on both end it will completely burn in 15 mins ,hence the 45 mins will be calculated.

Comment hidden because of low score. Click to expand.
0
of 0 vote

Take one rope r1 burn it on one end ,it will take 30 min to burn, simultaneously burn the r2 rope when you started to burn r1 . r1 will burn completely in 30 mins, and r2 will burn half ,then again burn it on both end it will completely burn in 15 mins ,hence the 45 mins will be calculated.

Comment hidden because of low score. Click to expand.
0
of 0 vote

Fold 1 rope in half, twice.
There will now be 3 folded corners.
Light one of the corners (not the middle one).
When the long side of the rope burns out, 45 minutes have elapsed.

The most efficient answer since you only wait 45min to measure 45 min.

Comment hidden because of low score. Click to expand.
0
of 0 vote

step1: take 1 rope and burn it from both sides.....time taken= thirty minutes.

step 2: take 1 rope, fold it, burn it from both sides...time taken=15 minutes.

we have burn the 2nd rope just after the 1st rope gets completely burnt. this way we can measure forty five minutes efficiently in exactly forty five minutes.

correct me if i am wrong.

Comment hidden because of low score. Click to expand.
0
of 0 vote

Solution with burning only one rope..

Take two rope. Fold one rope two times from center. This will form 15 mins of burn time. (60/4). Lay this on side of other rope meeting one end..
Burn this other rope from the end where ropes are not alligned. 45 mins are done when burn it reaches the other folded rope

Comment hidden because of low score. Click to expand.
0
of 0 vote

There are unlimited number of ropes of same length and it takes 1hr ie. 60 minutes to burn. I'm guessing that they have to be lighted at the same instant for this to happen. If that is the case, if we have the freedom to cut the rope just cut a rope into half whose burning will measure 30 minutes and cut another rope into 1/4 part which will measure 15 minutes.
If we cannot cut the rope, folding the rope into half and 1/4 parts should do the trick.

Comment hidden because of low score. Click to expand.
0
of 0 vote

I'm reviving a dead topic, apparently, cause the answer to this is so simple, and it only requires 1 rope.
You take 1 rope and fold it in half. Light one end of the rope. Once the fire reaches the fold, light the other end of the rope. When it's fully burnt, 45 minutes have past.

Comment hidden because of low score. Click to expand.
-1
of 1 vote

Take 2 ropes.. R1 and R2. R1 and R2 burns for 1 hour. so individually they burn for 30 minutes. First, flame R1 oon one side (30 minutes). And after it burns entirely, take R2 and flame it on both the sides(15 minutes). hence 45 minutes is calculated.

Comment hidden because of low score. Click to expand.
0

Well i think the question says that each rope burns for 1 hour.SO in that case what i feel the answer should be that Take Rope R1 and burn it at both ends and take another Rope r2 And burn it on only one end .Now as R1 keeps burning for half hour(as two ends are burned and considering rope to be homogeneous).Now as R2 has been burning along with R1 when the Rope R1 is burnt out in half an hour it must have reached half its length! So then now if we burn the other end of the rope R2 too..then it will completely burn out in 45 minutes!!.I think this should be the answer.

Comment hidden because of low score. Click to expand.
-1
of 1 vote

I think the answer provided by Anonymous on october 11,2011 is the right one.As the ropes each will burn for one hour..SO Rope R1 be burned at both ends and R2 be burned at one end.SO after half and hour R2 will reach its half too.Now if we light the other end of R2 it will burn out in 45 minutes .

Comment hidden because of low score. Click to expand.
-1
of 1 vote

You can't......Because you have already burnt the ropes.......

Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.