11 practice questions for Bloomberg Data Scientist interviews
Bloomberg data scientist interviews test statistical reasoning, ML model design, SQL proficiency, A/B testing methodology, and Python-based algorithm implementation.
Category: Queue-based coding problemDesign a StreamBuffer class that buffers a stream of integer latency samples in FIFO order and supports O(1) access to both the minimum and maximum...Input: Integer(s) Output: Integer
codingHardVerified Question#2
2. Fuel Grid Navigation
Category: Grid/matrix coding problem# Question You are navigating a grid from a start cell S to a destination cell D. Your vehicle has a fuel tank with a maximum capacity. Moving...Input: 2D grid Output: Integer
codingEasyVerified Question#3
3. Hailstone Sequence Steps
Category: Algorithm coding problem# Question The Hailstone sequence starts from a positive integer n and repeatedly applies the following rules until reaching 1: - If n is...Input: Integer(s) Output: Integer
codingEasyVerified Question#4
4. Trade Volume Tracker
Category: Algorithm coding problem# Question Design a TradeVolumeTracker class that records trade volumes by ticker symbol and returns an ordered ranking of tickers by volume. The...Input: List Output: Array
codingEasyVerified Question#5
5. Word Puzzle Filter
Category: Algorithm coding problem# Question You are implementing a word filter for a puzzle game. Given a list of candidate words and a set of allowed letters plus one required...Input: List Output: Array
codingMediumVerified Question#6
6. Equivalence Groups
Category: Array coding problem# Question You are given an array of integers and an equivalence function equiv(x, y) that returns true if two values belong to the same group....Input: Array of integers Output: Computed result
codingMediumVerified Question#7
7. Densest Tree Level
Category: Tree coding problem# Question You are given an N-ary tree where each node has a value and a list of children. Return the 1-indexed level that contains the most nodes....Input: List Output: Computed result
codingEasyVerified Question#8
8. Uniform String
Category: String coding problem# Question A string is called uniform if all of its characters appear the same number of times. Given a string s, determine whether it can...Input: String Output: Computed result
codingMediumVerified Question#9
9. Stream Palindrome
Category: Palindrome coding problem# Question Design a StreamPalindrome class that processes a stream of characters one at a time. At any point, it should be able to report whether...Input: Given input Output: Computed result
codingEasyVerified Question#10
10. Tree Min Leaf Sum
Category: Tree coding problem# Question You are given an N-ary tree where each node has an integer value. Find the minimum sum path from the root to any leaf node and return that...Input: Integer(s) Output: Integer
codingMediumVerified Question#11
11. Multi File Word Search
Category: Algorithm coding problem# Question You are given a list of documents where each document has a name and a body of text. Given a search query word, find and return all...Input: List Output: Array