All companies
Bloomberg logo

Bloomberg

5 questions · Coding · System design

Find two numbers in an array that sum to a target and return their indices.

Coding

ApproachOne pass with a hash map of value → index; for each x, check whether target − x was already seen.

EvaluatesWhether you move from the brute-force O(n²) to a clean O(n) hash-map solution and reason about edge cases.

Find the length of the longest substring without repeating characters.

Coding

ApproachSliding window with a set/last-seen map; advance the right edge, shrink the left on a repeat.

EvaluatesTwo-pointer/sliding-window fluency and off-by-one care.

Design and implement an LRU cache with O(1) get and put.

Coding

ApproachCombine a hash map with a doubly linked list; move touched nodes to the front, evict from the tail.

EvaluatesComposing data structures to hit tight time bounds and getting the eviction bookkeeping right.

Design a rate limiter for a public API.

System design

ApproachCompare token bucket vs. sliding window, where state lives (per-node vs. Redis), and behavior under bursts.

EvaluatesAlgorithm choice, distributed state, and failure/consistency trade-offs.

Tell me about a time you disagreed with a teammate or manager.

Behavioral

ApproachUse STAR: the situation, your reasoning, how you disagreed respectfully and reached a decision, and the result.

EvaluatesCommunication, judgment, and whether you can disagree-and-commit without drama.

Practice these with a free AI mock

Get graded on your real answers, with feedback after every round.

Practice free
Bloomberg Interview Questions | Novatypalcv