You have been given the current time in 24 hours format and you have to tell the time after X minutes in 24 hours format.
This is a very simple problem based on time conversion. We can convert the current time in minutes and then add X to add. After this convert the obtained time in minutes again to 24 hours format.
Solution can be found here.