Bloomberg Interview Questions
Practice the exact questions companies are asking right now.
Count islands by requested sizes
You are given a 2D grid of characters '0' and '1', where '1' represents land and '0' represents water. An island is a maximal group of horizontally/ve...
Validate whether brackets are properly nested
Problem: Validate a bracket sequence Given a string s consisting only of the characters '(', ')', '{', '}', '[', ']', determine whether the string is ...
Introduce yourself and explain why Bloomberg
Behavioral questions 1. Self-introduction / resume walkthrough - Give a 1–2 minute overview of your background. - Highlight 1–2 projects you’ve ...
Compute meeting rooms and evaluate RPN
You are given two independent coding tasks. Task 1: Minimum number of meeting rooms Given a list of meeting time intervals intervals, where each inter...
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...
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...
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...
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...
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...
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...
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...
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...
Answer multi-round grid and data-structure questions
You are given several independent interview-style coding questions. 1) Find first/last occurrence in sorted array (+ dynamic updates follow-ups) Given...
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 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...
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...
Design variable-size LRU cache
Implement an in-memory cache with least-recently-used eviction where each entry has a variable size in bytes. The cache exposes set(key, value, size),...
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...
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"]...