Bloomberg 2023 SWE Interview Question
Difficulty: EASYCategory: InterviewExperienceFrequency: 1Asked On 2023-10-28Added By Anonymous
Source: Link
Company: Bloomberg
Role: unknown
Interview Stage: Phone Screen
Location: unknown
Year: 2023
Original Experience:
Hello I had a first interview with Bloomberg and did not pass. I thought about the possible solutions but I cannot figure out what the optimal solution is. Design a module and insert a data looking like this.
Role: unknown
Interview Stage: Phone Screen
Location: unknown
Year: 2023
Original Experience:
Hello I had a first interview with Bloomberg and did not pass. I thought about the possible solutions but I cannot figure out what the optimal solution is. Design a module and insert a data looking like this.
python
(id:1, timestamp: 1pm, tags: ["us", "uk", "japan"])
You want to query all the data by passing in a tag and timestamp.
python
(tag: "us", start_time: "12pm", end_time: "2pm")
The module will read more than insert. Reading should be faster than inserting. What is the possible optimal solution that read is more optimized than insert? Thank you in advance