4 persons a, b , c , d have to go to concert which will held
in 17 minutes. there is a bridge which only 2 persons at a
time can cross. its night and they have only one flashlight
with them. Flashlight cannot be thrown. one person should
return with the flashlight

all 4 person have different speed.

a = crosses bridge in 1 min.
b = crosses bridge in 2 min.
c = crosses bridge in 5 min.
d = crosses bridge in 10 min

how can they all reach in time.??

Ex- suppose a and d crosses bridge which will take 10 mins
and then d returns back with a flashlight which will make 20
mins and mission is failed.



4 persons a, b , c , d have to go to concert which will held in 17 minutes. there is a bridge whic..

Answer / ajit kumar jha

A and B will cross the bridge. --> 2 mins
A will come back with the flashlight. --> 1 min
C and D will cross the bridge --> 10 mins
B will come back with the flashlight. --> 2 mins
A and B will cross the bridge. --> 2 mins

Total is 17 mins.

Is This Answer Correct ?    26 Yes 3 No

Post New Answer

More IBM AS400 AllOther Interview Questions

We have seen no of parameter list but If we mention like this 'CALL PROGNAME PLIST ' how to know No of parameter name of program ?

2 Answers   IBM,


What is SFLSIZ ?

1 Answers  


how to validate input values in display file ?

0 Answers   IBM,


how do you specify the number of records to roll in a subfile ?

2 Answers   IBM,


what are all the contents of subfile?

1 Answers   IBM,






what is the function of rlu ?

1 Answers   IBM,


what is the purpose of ovrdta (override data) keyword?

1 Answers   IBM,


What Is The Object Type Of Pf, Lf, Printer File & Display File?

0 Answers   IBM,


What is the use purpose of CRTCMD?

1 Answers  


In RPG How to read a records from a file without using read opcodes?

0 Answers  


what is *inzsr used for?

1 Answers   IBM,


what is the difference between sflclr and sflinz?

1 Answers   IBM,


Categories