Bloomberg SDE Onsite Interview Questions and Process Overview
Question Details
Round 1
Problem: Implement a simplified grep tool to find lines in a file containing a specific substring, prioritizing flag extensibility.
Solution: Clarify requirements and implement p
Full Details
Round 1
Problem: Implement a simplified grep tool to find lines in a file containing a specific substring, prioritizing flag extensibility.
Solution: Clarify requirements and implement parsing alongside string-matching logic. The evaluation focuses on writing clean, maintainable code rather than algorithmic complexity.
Round 2
Problem: Calculate the total number of friend requests from an array of ages based on specific constraints.
Solution: specific Count the frequency of each age, then iterate through all age pairs (A, B). A request is considered valid if B falls within the range $(0.5 \times A + 7, A]$ and $A \geq B$.
Calculation: For valid pairs of different ages, multiply their frequencies. For valid pairs of the same age, multiply the count by (count - 1) to exclude self-requests.
Round 3
Problem: Behavioral interview.
Solution: Utilize the STAR framework to structure responses. Interviewers prioritize evidence of self-drive and ownership over perfect delivery.
About This Question
This is a reported interview question from a bloomberg interview for a swe role during the onsite round reported in 2025.
It covers the following topics: Arrays, Strings, Behavioral .