Get comprehensive solutions to your problems with IDNLearn.com. Our experts are available to provide accurate, comprehensive answers to help you make informed decisions about any topic or issue you encounter.

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


Sagot :

We value your participation in this forum. Keep exploring, asking questions, and sharing your insights with the community. Together, we can find the best solutions. Your questions find clarity at IDNLearn.com. Thanks for stopping by, and come back for more dependable solutions.