#38 - Convert 24 hours into 12 hours format
You are given a time in 24-hour format (hh:mm). Your task is to implement a function to convert this time into 12-hour format.
Example 1
Example 2
Example 3
Example 4
Previous#37 - Second largest element in the array (no duplicates)Next#39 - Number of days between two dates
Last updated