0 day streak

Bloomberg coding interview questions

FintechProduct Global Machine coding / LLD

Ranked by how often candidates report them. Each opens in the editor with hidden tests, an animated walkthrough and solutions in four languages; a question you solve once counts for every company that asks it.

0%ready
ProgressTitleDifficultyTopicHow often hereAlso asked atNext step
Two SumTwo Sum Easy Arrays & Hashing Google, Amazon, Microsoft +46 Solve
Add Two NumbersDummy Node Pattern Medium Linked List Amazon, Microsoft, Meta +12 Solve
Merge IntervalsBasics Medium Intervals Google, Amazon, Microsoft +45 Solve
Best Time to Buy and Sell StockState Machine DP - Stock Problems Easy Dynamic Programming Amazon, Microsoft, Apple +38 Solve
Longest Substring Without Repeating CharactersSliding Window · Variable Medium Arrays & Hashing Google, Amazon, Microsoft +50 Solve
Median of Two Sorted ArraysBinary Search on Partition Hard Binary Search Google, Amazon, Microsoft +17 Solve
Longest Common PrefixString Basics Easy Arrays & Hashing Adobe, Visa, American Express +12 Solve
Trapping Rain WaterTwo Pointer Hard Arrays & Hashing Google, Amazon, Microsoft +38 Solve
Longest Palindromic SubstringStrings Medium Dynamic Programming Amazon, Microsoft, Apple +22 Solve
Decode StringStack Basics Medium Stack Google, Amazon, Microsoft +8 Solve
Container With Most WaterTwo Pointer Medium Arrays & Hashing Google, Microsoft, Apple +31 Solve
3SumTwo Sum Medium Arrays & Hashing Google, Microsoft, Meta +31 Solve
Subarray Sum Equals KPrefix Sum Strategy Medium Arrays & Hashing Google, Microsoft, Meta +15 Solve
Palindrome NumberMath / Number Theory Easy Arrays & Hashing Morgan Stanley, Qualcomm, Intel +10 Solve
Climbing Stairs1D DP Easy Dynamic Programming Intuit, Qualcomm, Deloitte +8 Solve
Insert Delete GetRandom O(1)Hash Map + Array Medium Design Data Structures Amazon, Apple, Netflix +13 Solve
Number of IslandsConnected Components Medium Graphs Google, Amazon, Microsoft +41 Solve
Invalid TransactionsHashing Medium Arrays & Hashing Stripe Solve
Valid ParenthesesStack Basics Easy Stack Google, Microsoft, Meta +39 Solve
Word Search2D Matrix Backtracking Medium Recursion & Backtracking Google, Microsoft, Meta +13 Solve
Majority ElementMoore's Voting Algorithm Easy Arrays & Hashing Qualcomm, Deloitte, D. E. Shaw +3 Solve
Reverse IntegerMath / Number Theory Medium Arrays & Hashing Barclays, TCS, Wipro +4 Solve
Valid AnagramHashing Easy Arrays & Hashing Netflix, Databricks, Spotify +13 Solve
Remove Duplicates from Sorted ArrayTwo Pointer Easy Arrays & Hashing Microsoft, Cisco, Morgan Stanley +8 Solve
Merge Sorted ArrayTwo Pointer Easy Arrays & Hashing Meta, Apple, Nvidia +12 Solve
Merge Two Sorted ListsDummy Node Pattern Easy Linked List Google, Amazon, Microsoft +13 Solve
LRU CacheLinked Lists Medium Design Data Structures Google, Amazon, Microsoft +49 Solve
Longest Consecutive SequenceHash Set Lookup Medium Arrays & Hashing Google, Spotify, Tesla +17 Solve
Min StackStack Medium Design Data Structures Microsoft, Apple, Snowflake +4 Solve
Roman to IntegerRight to Left Traversal Easy Arrays & Hashing Oracle, JPMorgan Chase, IBM +8 Solve
Group AnagramsHashing Medium Arrays & Hashing Amazon, Microsoft, Meta +31 Solve
Subsets (2 choices per element)Pick / Not-Pick Medium Recursion & Backtracking Ola Solve
Search in Rotated Sorted ArrayRotated Array Medium Binary Search Microsoft, Apple, LinkedIn +18 Solve
Next PermutationRight to Left Traversal Medium Arrays & Hashing Google, Amazon, Meta +15 Solve
Kadane's Algorithm - SimpleKadane's Algorithm Medium Arrays & Hashing Microsoft, Apple, LinkedIn +29 Solve
Generate ParenthesesPick / Not-Pick Medium Recursion & Backtracking Google, Microsoft, Spotify +13 Solve
Move ZeroesTwo Pointer Easy Arrays & Hashing Meta, Nvidia, Tesla +11 Solve
Rotate ImageIn-place Transformations Medium Arrays & Hashing Amazon, Apple, Nvidia +14 Solve
Single NumberMissing / Repeated Numbers Easy Bit Manipulation Airbnb, Palantir, Adobe +6 Solve
Meeting Rooms IILine Sweep Medium Intervals Amazon, Meta, Apple +13 Solve
Reverse Linked ListFront Middle Back Pointer Easy Linked List Microsoft, Apple, Spotify +17 Solve
Validate Binary Search TreePostorder + Multiple Return Values Medium Trees & BST Google, Microsoft, Meta +6 Solve
Word Break IIChoice per Position Hard Recursion & Backtracking ServiceNow Solve
Find First and Last Position of Element in Sorted ArrayBisect Medium Binary Search LinkedIn, Pinterest, Atlassian +7 Solve
Pascal's Triangle1D DP Easy Dynamic Programming Deutsche Bank, Wipro, Accenture Solve
Valid PalindromeTwo Pointer Easy Arrays & Hashing Microsoft, Apple, Spotify +7 Solve
Rotate ArrayDouble Reversal Trick Medium Arrays & Hashing Apple, Samsung, American Express +8 Solve
Also reported, being added to AlgoRung (3)

Design Underground System · Flatten a Multilevel Doubly Linked List · Number of Ships in a Rectangle

Questions people ask

What coding questions does Bloomberg ask most?

Two Sum, Add Two Numbers, Merge Intervals, Best Time to Buy and Sell Stock, Longest Substring Without Repeating Characters, Median of Two Sorted Arrays, Longest Common Prefix, Trapping Rain Water.

Which topics come up in Bloomberg coding rounds?

arrays, strings, hash maps, linked list, graphs, design data structure.

How hard are Bloomberg coding questions?

Of the reported questions, 17 are easy, 27 medium and 3 hard. A 45 to 60 minute live interview where you solve one or two data-structures-and-algorithms problems while explaining your thinking. Interviewers score problem solving, code quality, testing and communication.