Bloomberg String Coding Interview Questions
145 string coding problems are tagged as asked at Bloomberg in interviews and online assessments reported by candidates. By difficulty they split into 49 basic, 72 intermediate and 24 advanced. The topics they most often combine with are Math, Hash Table, Stack, Two Pointers.
Reported questions change over time and are not a guarantee of what you will be asked, so use the list to see which patterns Bloomberg tends to test. For each problem, practise explaining your approach, its time and space cost and the edge cases before you write the code; every problem opens in an editor that runs your code against test cases.
Coding problems
- Valid Parentheses (Basic)
- Longest Substring Without Repeats (Intermediate)
- Reverse String (Basic)
- First Unique Character (Basic)
- Valid Palindrome (Basic)
- Decode Ways (Intermediate)
- Longest Palindromic Substring (Intermediate)
- Valid Anagram (Basic)
- Ransom Note (Basic)
- Repeated Substring Pattern (Intermediate)
- Reverse Words in a String (Basic)
- Reverse Vowels of a String (Basic)
- Roman to Integer (Intermediate)
- Excel Column Number (Basic)
- Add Binary (Basic)
- Length of Last Word (Basic)
- Longest Common Subsequence (Advanced)
- Edit Distance (Advanced)
- Longest Valid Parentheses (Advanced)
- Score of Parentheses (Intermediate)
- Greatest Common Divisor of Strings (Intermediate)
- Partition Labels (Intermediate)
- Sort Characters by Frequency (Intermediate)
- Remove Outer Parentheses (Basic)
- Shortest Distance to a Character (Intermediate)
- Maximum Number of Balloons (Basic)
- Remove Invalid Parentheses (Intermediate)
- Valid Parenthesis With Wildcards (Advanced)
- Is Subsequence (Basic)
- Minimum Time to Make Rope Colorful (Intermediate)
- Permutation Inside a String (Intermediate)
- Zigzag Conversion (Intermediate)
- Remove K Digits to Get the Smallest Number (Intermediate)
- Count Palindromic Substrings (Intermediate)
- Longest Palindromic Subsequence (Intermediate)
- Isomorphic Strings (Basic)
- Minimum Window Substring (Advanced)
- Shortest Palindrome (Advanced)
- Rotate String (Basic)
- Length of Last Word (Basic)
- Add Strings (Basic)
- Reconstruct Itinerary (Advanced)
- Text Justification (Intermediate)
- Palindrome Linked List (Basic)
- Zigzag Level Order Traversal (Intermediate)
- Level Order Traversal (Basic)
- Open the Lock (Intermediate)
- Minimum Genetic Mutation (Intermediate)
- Smallest String With Swaps (Intermediate)
- Alien Dictionary Order (Advanced)
- Interleaving String (Intermediate)
- Regular Expression Matching (Advanced)
- Ones and Zeroes (Intermediate)
- Scramble String (Advanced)
- Longest String Chain (Intermediate)
- Strange Printer (Advanced)
- Two Keys Keyboard (Intermediate)
- Count Ways to Build Good Strings (Intermediate)
- Find First Occurrence (Basic)
- Longest Happy Prefix (Intermediate)
- Repeated String Match (Intermediate)
- Longest Duplicate Substring (Advanced)
- String Compression (Basic)
- Valid Number (Advanced)
- String to Integer (Intermediate)
- Multiply Strings (Intermediate)
- Integer to English Words (Advanced)
- Find and Replace in String (Intermediate)
- Word Search (Intermediate)
- Word Search II Count (Advanced)
- Custom Sort String (Basic)
- Determine if Two Strings Are Close (Intermediate)
- Count Binary Substrings (Basic)
- Number of Matching Subsequences (Intermediate)
- Orderly Queue (Advanced)
- Minimum Steps to Make Two Strings Anagram (Basic)
- Sum of Beauty of All Substrings (Intermediate)
- Longest Palindrome by Concatenating Two-Letter Words (Intermediate)
- Lexicographically Smallest Equivalent String (Intermediate)
- Push Dominoes (Intermediate)
Related
- Bloomberg coding interview questions
- String problems
- Bloomberg basic problems
- Bloomberg intermediate problems
- Bloomberg advanced problems
- Company interview roadmaps
- All interview guides
Frequently asked questions
How should I use the Bloomberg problem list?
Start with the basic problems, then the intermediate and advanced ones, and note which topics repeat. Solve each under a timer, then read the explanation.
Are these the exact Bloomberg interview questions?
They are problems candidates reported being asked. Companies rotate questions, so use them to learn the patterns, not to predict the exact question.