Answer:
5:00 AM
Solution:
we will have to find the lowest common multiple of 8 , 5 and 18.
Since they blow their whistles once every 8/5/18 minutes.. you can imagine it as the multiplication table for these numbers. The number on which all three overlap, is the LCM and hence the amount of time after they will blow their whistles together.
The LCM is 360
therefore, the guards will blow their whistles together 360 minutes after 11:00pm
360 minutes = 6 hours
6 hours after 11: 5:00AM