## Kalido Interview Question for Software Engineer / Developers

Country: India
Interview Type: In-Person

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

``````-> 1. + 2. - 2 min
<- 1.      - 1 min
-> 3. + 4. - 9 min
<- 2.      - 2 min
-> 1. + 2. - 2 min

Total - 16 min``````

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

Would you not be expected to also provide an argument that your solution is optimal?

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

1st and 4th start with the torch. After 1 min (1st reaches the other side) 3rd starts.
In 9 minutes 1st 3rd and 4th reaches other side.
In 1 minute 1st comes back with the torch .
In 2 minutes 1st and 2nd reach the other side
total 12 minutes

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

1)9 min and 1 min walk together , 1min person reaches
2) distance remaining for 9 min person is 8 , time elapsed is 1 min
3) now 9 min person (8 min remaining ) and 2 min person walk together
4)2 min person reaches , mins remaining for 9 min person is 6 min , time elapsed 1+2=3
3) now 7 min person and 9 min person ( 6 min remaining ) walk together
4) time would be 7 min now
5) so total time 7+2+1=10

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

As per the question i think the above answer is perfect.But thinking a little out of the box since it is a bridge and hence must be over a river.So if we strictly count only the time taken to cross by them and not the time taken by the torch to pass from one side of the bridge to the next then the answer comes out to be 9 minute( person of 9 minute and 7 minute together) +2 minute( person of 1 minute and 2 minute together)= 11 minute total time to pass the bridge.

BUt here however we are neglecting the water current and the time it takes to move the torch in water

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

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

dhakkan hai yaar.......

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.