Bloomberg Interview Questions and Guide
Data structures and algorithms, with an emphasis on low-latency and data-heavy systems.
The Bloomberg interview loop
- Phone screen (coding)
- Onsite: 2 coding, system design, manager + HR
Bloomberg interview questions
- Design a Distributed Cache
- Design LeetCode
- Design a Real-Time Leaderboard
- Design a Stock Exchange
- Design a Real-Time Market Data Feed
- Longest Substring Without Repeating Characters
- Trapping Rain Water
- Container With Most Water
- Find the Duplicate Number
- Best Time to Buy and Sell Stock
- Valid Palindrome
- Valid Palindrome II
- Valid Word Abbreviation
- Merge Sorted Array
- Move Zeroes
- Longest Common Prefix
- Rotate Image
- Spiral Matrix
- Next Permutation
- Set Matrix Zeroes
- Longest Repeating Character Replacement
- Minimum Size Subarray Sum
- First Missing Positive
- Text Justification
- Remove Duplicates from Sorted Array
- Rotate Array
- Squares of a Sorted Array
- Two Sum II - Input Array Is Sorted
- Zigzag Conversion
- 4Sum
- 3Sum Closest
- Fruit Into Baskets
- Permutation in String
- String Compression
- Majority Element II
- Remove Element
- Merge Strings Alternately
- Maximum Average Subarray I
- Reverse Vowels of a String
- Maximum Product of Three Numbers
- Remove Duplicates from Sorted Array II
- Diagonal Traverse
- Increasing Triplet Subsequence
- Frequency of the Most Frequent Element
- Number of Substrings Containing All Three Characters
- Substring with Concatenation of All Words
- Rotate String
- Longest Substring with At Least K Repeating Characters
- Reverse Pairs
- Find Pivot Index
- Rearrange Array Elements by Sign
- Count Binary Substrings
- Can Make Arithmetic Progression From Sequence
- Find Missing and Repeated Values
- Find All Numbers Disappeared in an Array
- Valid Triangle Number
- Third Maximum Number
- Maximum Sum of Distinct Subarrays With Length K
- Maximum Number of Vowels in a Substring of Given Length
- Sort an Array
- Range Sum Query - Immutable
- Implement an LRU Cache
- Group Anagrams
- First Unique Character
- Valid Anagram
- Isomorphic Strings
- Valid Sudoku
- Continuous Subarray Sum
- Happy Number
- Contains Duplicate
- Ransom Note
- Word Pattern
- Count Number of Nice Subarrays
- Binary Subarrays With Sum
- Intersection of Two Arrays
- Repeated DNA Sequences
- Design Underground System
- Find All Duplicates in an Array
- Longest Palindrome
- Invalid Transactions
- Unique Number of Occurrences
- Brick Wall
- Jewels and Stones
- Find Common Characters
- Detect a Cycle (Floyd's Algorithm)
- Reorder List
- Add Two Numbers
- Swap Nodes in Pairs
- Rotate List
- Remove Duplicates from Sorted List II
- Sort List
- Reverse Nodes in k-Group
- Remove Duplicates from Sorted List
- Partition List
- Add Two Numbers II
- Next Greater Node In Linked List
- Daily Temperatures
- Valid Parentheses
- Min Stack
- Next Greater Element (Circular)
- Online Stock Span
- Minimum Remove to Make Valid Parentheses
- Decode String
- Asteroid Collision
- Simplify Path
- Basic Calculator
- Longest Valid Parentheses
- Sum of Subarray Minimums
- Next Greater Element I
- Remove All Adjacent Duplicates in String
- Remove All Adjacent Duplicates in String II
- Implement Queue using Stacks
- Maximal Rectangle
- Car Fleet
- Baseball Game
- Design Browser History
- Maximum Width Ramp
- Remove Outermost Parentheses
- Maximum Nesting Depth of the Parentheses
- Maximum Frequency Stack
- Design Hit Counter
- Design Circular Queue
- Implement Stack using Queues
- First Unique Number
- Find the Winner of the Circular Game
- Jump Game VII
- Number of Students Unable to Eat Lunch
- Time Needed to Buy Tickets
- Find the Safest Path in a Grid
- Top K Frequent Words
- Sort Characters by Frequency
- Furthest Building You Can Reach
- Meeting Rooms III
- Ugly Number II
- Design A Leaderboard
- Design Task Manager
- Find Minimum in Rotated Sorted Array
- Median of Two Sorted Arrays
- Search a 2D Matrix
- Sqrt(x)
- Single Element in a Sorted Array
- Kth Missing Positive Number
- Minimum Number of Days to Make m Bouquets
- Search a 2D Matrix II
- Peak Index in a Mountain Array
- Search in Rotated Sorted Array II
- Valid Perfect Square
- H-Index II
- Find a Peak Element II
- Heaters
- Arranging Coins
- Maximum Candies Allocated to K Children
- Binary Tree Right Side View
- Balanced Binary Tree
- Path Sum II
- Construct a Tree From Preorder and Inorder
- Same Tree
- Symmetric Tree
- Binary Tree Zigzag Level Order Traversal
- Binary Tree Vertical Order Traversal
- Sum Root to Leaf Numbers
- Maximum Width of Binary Tree
- Flatten Binary Tree to Linked List
- Minimum Depth of Binary Tree
- Path Sum
- Create Binary Tree From Descriptions
- Binary Tree Preorder Traversal
- Construct Binary Tree from Inorder and Postorder Traversal
- Validate a Binary Search Tree
- Trim a Binary Search Tree
- Inorder Successor in BST
- Unique Binary Search Trees
- Largest BST Subtree
- Count of Smaller Numbers After Self
- Number of Provinces (Connected Components)
- Flood Fill
- Surrounded Regions
- Alien Dictionary
- Find if Path Exists in Graph
- All Paths From Source to Target
- Most Stones Removed with Same Row or Column
- Critical Connections in a Network
- Number of Operations to Make Network Connected
- Island Perimeter
- Word Break
- Unique Paths
- Best Time to Buy and Sell Stock With Cooldown
- Maximum Product Subarray
- Palindromic Substrings
- House Robber II
- Unique Paths II
- Interleaving String
- Regular Expression Matching
- Maximum Profit in Job Scheduling
- Longest Increasing Path in a Matrix
- Pascal's Triangle
- Triangle
- Perfect Squares
- Maximum Sum Circular Subarray
- Wildcard Matching
- Best Time to Buy and Sell Stock III
- Best Time to Buy and Sell Stock with Transaction Fee
- Number of Longest Increasing Subsequence
- Delete and Earn
- Integer Break
- Partition Array for Maximum Sum
- Minimum Cost to Cut a Stick
- Fibonacci Number
- Domino and Tromino Tiling
- Generate Subsets and Permutations
- Word Search
- Subsets II
- Combination Sum II
- Permutations II
- Palindrome Partitioning
- Word Break II
- Expression Add Operators
- Subsets
- 24 Game
- Path with Maximum Gold
- Different Ways to Add Parentheses
- Gas Station
- Activity Selection (Max Meetings in One Room)
- Best Time to Buy and Sell Stock II
- Valid Parenthesis String
- Boats to Save People
- Lemonade Change
- Assign Cookies
- Two City Scheduling
- Maximum Element After Decreasing and Rearranging
- Merge Overlapping Intervals
- Minimum Meeting Rooms
- Meeting Rooms
- Summary Ranges
- Remove Covered Intervals
- Palindrome Pairs
- Lexicographical Numbers
- Number of 1 Bits (Brian Kernighan)
- Add Binary
- Single Number II
- Divide Two Integers
- Minimum Operations to Reduce an Integer to 0
- Number of Steps to Reduce a Number to Zero
- Pow(x, n) — Fast Exponentiation
- Palindrome Number
- Reverse Integer
- Roman to Integer
- Integer to Roman
- String to Integer (atoi)
- Multiply Strings
- Excel Sheet Column Title
- Angle Between Hands of a Clock
- Plus One
- Fizz Buzz
- Count and Say
- Sequential Digits
- Power of Three
- Ugly Number
- Add Digits
- Perfect Number
- Sum of Square Numbers
- Rotate Function
- Count Good Numbers
- Number of Digit One
- Excel Sheet Column Number
- Nth Digit
- Factorial Trailing Zeroes
- The kth Factor of n
- Rectangle Area
- Design an Elevator System
- Design a Stock Exchange Order Book
- Tell me about a time you had to meet a tight deadline
- Tell me about working with a difficult stakeholder
- How do you prioritize competing demands?
- Tell me about the hardest bug you've debugged
- Tell me about a time you pushed back on a request
- Tell me about a time you dove deep to find the root cause
- Tell me about a judgment call where others disagreed with you
- Teach me something you recently learned
- Why Bloomberg, and why financial technology?