Bloomberg Interview Questions
Practice the exact questions companies are asking right now.
Implement RotatingFileSink in hierarchy
You are given an existing Python 3.10 codebase with an abstract base class RecordSink (from abc import ABC, abstractmethod) that defines open() -> Non...
Generate all strings by expanding wildcards
Problem Given a string s consisting only of characters '0', '1', and '', replace every '' with either '0' or '1' and return all possible resulting bin...
Answer core behavioral questions using STAR
Behavioral Questions Answer the following questions. Use concrete examples from your experience. 1. Tell me about a proud project. 2. How did you hand...
Find invalid transactions in time-sorted input
Problem You are given a list of transaction records, already sorted in non-decreasing order by time. Each transaction is a string in the form: "name,t...
Design a fair event registration queue API
Scenario Design an in-memory service (OOD-style) to manage registrations for an event where fairness means users are served strictly in the order they...
Implement a simplified grep with extensible flags
Problem Implement a simplified version of grep that searches a text file and returns the lines that match a given query string. You should focus on cl...
Count friend requests based on age rules
Problem You are given an array ages, where ages[i] is the age of the i-th person. A person of age A will send a friend request to a person of age B if...
Solve word path in grid and trapped water
You are given two independent programming tasks. --- Problem 1: Check if a word exists in a 2D character grid You are given a 2D grid board of charact...
Describe leading an end-to-end client project
You are in a behavioral interview for a software engineering role. The interviewer asks you to discuss a full‑stack project you led end‑to‑end for a r...
Design in-memory trade subscription processor
You are asked to design and implement the internal logic of an in-memory trade subscription processor in C++. A simplified interface is provided: `cpp...
Solve two array and string problems
You will solve two independent coding tasks. Problem 1: Generate All Subsets of a Set You are given an integer array nums containing n distinct elemen...
Implement anagram check and odd-even linked list
You are given two independent coding tasks. Task 1: Check if two strings are anagrams Implement a function that determines whether two given strings a...
Count subarrays with product under target
Given an array of positive integers nums and an integer T > 1, return the number of contiguous subarrays whose product is strictly less than T. Provid...
Group words into anagram lists
Given an array of strings, group the words into lists of anagrams and return the collection of groups in any order. For example, ["abc", "cab", "edf"]...
Design auth, session security, and top-N users
Web App Design: Authentication, Security, and Top-N Active Users Context: Build a browser-based web application where a user signs in and the page dis...
Check near-palindrome with one deletion
Given a string s, determine if it can become a palindrome after deleting at most one character. Return true or false and provide time and space comple...
Find root from child adjacency lists
You're given an unordered list describing a rooted n-ary tree. Each item is a record of the form {id: int, children: set<int>} listing a node's direct...
Design a packet reassembler API
Design a PacketAssembler API for Streaming Fragments Context and Assumptions - You are building a small component that assembles packets from a byte s...
Solve string dictionary and tree ordering
Part A — One-edit dictionary: Build a data structure supporting build(words: List[str]) and search(query: str) -> bool that returns true if and only i...
Describe domain-aligned experiences and impact
Behavioral Prompt: Relevant Past Projects and 90-Day Impact Context Software Engineer — Technical Screen (Behavioral & Leadership). Prompt Choose one ...