Bloomberg | OS | Interview Questions
Anonymous User
762
Nov 21, 2022
Please who can help solve the below problems, prefereably in C# or Java
Thanks:
- Given a list of operation hour for each stock exchange, validate if the customer can send a trading order during the input hour.Design a function to test if selected banks collective trading hours cover the duration of the order without any gaps.
Operation hours
09:00-16:00 Royal Bank of Scotland
11:00-17:00 Morgan Stanley
....
Test case #1 - expected result: SUCCESS
10:00-17:00
Test case #2 - expected result: FAILURE
15:00-21:00 Thank you in advance
Comments (2)


