Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

load all subfile logic in sqlrpgle and when updating particular record it must be lock form other jobs (not a file)?

1 Answers   Wipro,


What is the purpose of STRCMTCTL command?

1 Answers  


What is the Select and Omit criteria in logical file?

1 Answers  


when should I use method get, and when should I use method post in my cgis?

0 Answers   IBM,


records can be read/update/deleted with which file?

0 Answers   IBM,


How to read data from *LDA (Local Data Area) in RPGLE program without using IN opcode?

1 Answers  


How many Printer Files can Declare in a CL Program?

4 Answers  


i have recently moved to hyd. i would like to know which is the best institue to learn AS400. are there any in ameerpet? thanks.

4 Answers  


is there any way to dynamically merge other html scripts into a given html?

0 Answers   IBM,


The content of Physical file is as below: hfcftp wruquief SENDPASV 0 CDUP ASCII GET 01100901.CSV ramndk/ECP505.EC0110090 (REPLACE QUIT Thw above commands will get executed when we call STRTCPFTP from CL program.... Now if I want to use SFTP what can be the solution? plz reply in detail....Thank you for ny help...

1 Answers  


how can we run a batch job?

0 Answers   IBM,


How to reverse the string in rpg

0 Answers  


Categories