Bloomberg | OS | Interview Questions
Difficulty: EASYCategory: InterviewExperienceFrequency: 1Asked On 2022-11-21Added By Anonymous
Source: Link
Company: Bloomberg
Role: unknown
Stage: Onsite
Location: unknown
Year: unknown
Role: unknown
Stage: Onsite
Location: unknown
Year: unknown
Please who can help solve the below problems, prefereably in C# or Java Thanks: 1. 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
2. https://leetcode.com/discuss/interview-question/2798094/Bloomberg-onsite-interview-experience Thank you in advance