3. Trading Outage
On a given day, Akuna makes at least one trade each second. However, there is a blip - a temporary outage - on the exchange side such that some trades are missing. You will be given the raw trade timestamps from the exchange as a list of strings.
Find and return the trades immediately before and after the outage, separated by a dash. Assume input timestamps may not be sorted, and there may be multiple trades in a single second.
Example 1
Input: ["12:31: 04. 04", "12:31: 05.01", "12:31:06.21", "12:31: 14.39", "12:31:15.13"; "12 : 31 : 16. 98", "12: 31:17.09"]
Output: 12: 31: 06. 21-12: 31: 14. 39
Example 2 Input: ["00 : 00: 01. 00", "90: 00: 02. 08", "90:00: 02.93", "00:00:12.43"]
Output: 00 : 00 : 02.93-00:00:12.43