Bloomberg Coding Interview Questions: 79 Tagged Problems
79 coding problems tagged Bloomberg — 23 easy · 54 medium · 2 hard — with solutions in 13 languages. Plus a 4-week study plan by topic.
- Problems: 79
- By difficulty: 23 easy · 54 medium · 2 hard
- Languages: JavaScript, TypeScript, Python, Java, C++, C, C#, Go, Kotlin, Swift, Rust, PHP and Ruby
- Cost: Free on every plan; sign in to run and submit
79 problems the CodeKairo catalogue tags as commonly asked in Bloomberg's coding rounds — 23 easy, 54 medium and 2 hard — each judged by hidden tests in 13 languages. The most common topics among them are Arrays (32), Strings (20) and Hash Table (19). The tag is the catalogue's own annotation of where a problem tends to come up — not a list published by Bloomberg, which CodeKairo is not affiliated with.
Bloomberg study plan by topic
40 of the 79 problems tagged Bloomberg over 4 weeks, about 19 h 50 min of solving, grouped by technique in the order they build on each other — Hash Table, Counting, Math and Two Pointers and 13 more.
Week 1: Hash Table, Counting, Math +3
12 problems on Hash Table, Counting, Math, Two Pointers, Prefix Sum and Sorting, easiest first within each topic.
- Degree of an Array Easy
- Design HashMap Easy
- Valid Anagram Easy
- Ransom Note Easy
- Factorial Trailing Zeroes Medium
- Intersection of Two Arrays II Easy
- Duplicate Zeros Easy
- Reverse Words in a String Medium
- Longest String Chain Medium
- Contiguous Array Medium
- Third Maximum Number Easy
- Custom Sort String Medium
Week 2: Counting Sort, Stack, Queue +2
10 problems on Counting Sort, Stack, Queue, Monotonic Stack and Greedy, easiest first within each topic.
- H-Index Medium
- Valid Parenthesis String Medium
- Minimum Remove to Make Valid Parentheses Medium
- Remove All Adjacent Duplicates in String II Medium
- First Unique Character in a String Easy
- Implement Stack using Queues Easy
- Remove Duplicate Letters Medium
- Sum of Subarray Minimums Medium
- Longest Palindrome Easy
- Best Time to Buy and Sell Stock with Transaction Fee Medium
Week 3: Recursion, Ordered Set, Bit Manipulation +1
12 problems on Recursion, Ordered Set, Bit Manipulation and Trees, easiest first within each topic.
- Elimination Game Medium
- Delete Node in a BST Medium
- Trim a Binary Search Tree Medium
- 132 Pattern Medium
- Sum of Two Integers Medium
- Single Number II Medium
- Same Tree Easy
- Symmetric Tree Easy
- Balanced Binary Tree Easy
- Sum of Left Leaves Easy
- Cousins in Binary Tree Easy
- Validate Binary Search Tree Medium
Week 4: Backtracking, Dynamic Programming
6 problems on Backtracking and Dynamic Programming, easiest first within each topic.
- Word Search Medium
- Subsets II Medium
- Best Time to Buy and Sell Stock with Cooldown Medium
- Arithmetic Slices Medium
- Triangle Medium
- Distinct Subsequences Hard
All problems tagged Bloomberg
Easy (23)
- Design an Ordered Stream Array, Hash Table, Design
- Design HashMap Array, Hash Table, Design
- Implement Queue using Stacks Stack, Queue, Design
- Implement Stack using Queues Stack, Queue, Design
- Cousins in Binary Tree Tree, Depth-First Search, Breadth-First Search
- Sum of Left Leaves Tree, Depth-First Search, Breadth-First Search
- Balanced Binary Tree Tree, Depth-First Search
- Symmetric Tree Tree, Depth-First Search, Breadth-First Search
- Same Tree Tree, Depth-First Search, Breadth-First Search
- Reformat Date String, Simulation
- Uncommon Words from Two Sentences Hash Table, String, Counting
- Duplicate Zeros Array, Two Pointers
- Find the Difference Hash Table, String, Bit Manipulation
- Nim Game Math, Brainteaser, Game Theory
- Maximum Product of Three Numbers Array, Math, Sorting
- Longest Palindrome Hash Table, String, Greedy
- Ransom Note Hash Table, String, Counting
- First Unique Character in a String Hash Table, String, Queue
- Degree of an Array Array, Hash Table
- Third Maximum Number Array, Sorting
- Set Mismatch Array, Hash Table, Bit Manipulation
- Intersection of Two Arrays II Array, Hash Table, Two Pointers
- Valid Anagram Hash Table, String, Sorting
Medium (54)
- Design a Food Rating System Array, Hash Table, String
- Design Browser History Array, Linked List, Stack
- Min Stack Stack, Design
- Add Two Numbers II Linked List, Math, Stack
- Odd Even Linked List Linked List, Two Pointers
- Sort List Linked List, Sorting, Merge Sort
- Partition List Linked List, Two Pointers
- Remove Duplicates from Sorted List II Linked List, Two Pointers
- Rotate List Linked List, Two Pointers
- Swap Nodes in Pairs Linked List, Recursion
- Add Two Numbers Linked List, Math, Recursion
- Even Odd Tree Tree, Breadth-First Search
- Trim a Binary Search Tree Tree, Depth-First Search, Recursion
- Delete Node in a BST Tree, Binary Search, Recursion
- Binary Tree Right Side View Tree, Breadth-First Search, Depth-First Search
- Path Sum II Tree, Depth-First Search, Backtracking
- Construct Binary Tree from Preorder and Inorder Traversal Tree, Array, Hash Table
- Binary Tree Zigzag Level Order Traversal Tree, Breadth-First Search
- Binary Tree Level Order Traversal Tree, Breadth-First Search
- Recover Binary Search Tree Tree, Depth-First Search
- Validate Binary Search Tree Tree, Depth-First Search
- Invalid Transactions Array, Hash Table, String
- Best Time to Buy and Sell Stock V Array, Dynamic Programming
- Lexicographical Numbers Depth-First Search, Trie
- Permutations II Array, Backtracking, Sorting
- Subsets II Array, Backtracking, Bit Manipulation
- Length of Longest Fibonacci Subsequence Array, Hash Table, Dynamic Programming
- Elimination Game Math, Recursion
- Different Ways to Add Parentheses Math, String, Recursion
- Loud and Rich Array, Graph, Topological Sort
- Word Search Array, String, Backtracking
- Nth Digit Math, Binary Search
- Sum of Two Integers Math, Bit Manipulation
- Single Number II Array, Bit Manipulation
- Remove All Adjacent Duplicates in String II String, Stack
- 132 Pattern Array, Binary Search, Stack
- Sum of Subarray Minimums Array, Dynamic Programming, Stack
- Minimum Remove to Make Valid Parentheses String, Stack
- Top K Frequent Words Array, Hash Table, String
- Remove Duplicate Letters String, Stack, Greedy
- Two City Scheduling Array, Greedy, Sorting
- Number of Dice Rolls With Target Sum Dynamic Programming
- Longest String Chain Array, Hash Table, Two Pointers
- Triangle Array, Dynamic Programming
- Minimum Falling Path Sum Array, Dynamic Programming, Matrix
- Arithmetic Slices Array, Dynamic Programming
- Best Time to Buy and Sell Stock with Transaction Fee Array, Dynamic Programming, Greedy
- Best Time to Buy and Sell Stock with Cooldown Array, Dynamic Programming
- Contiguous Array Array, Hash Table, Prefix Sum
- Custom Sort String Hash Table, String, Sorting
- Valid Parenthesis String String, Dynamic Programming, Stack
- Reverse Words in a String Two Pointers, String
- H-Index Array, Sorting, Counting Sort
- Factorial Trailing Zeroes Math
Hard (2)
- Next Greater Element IV Array, Stack, Monotonic Stack
- Distinct Subsequences String, Dynamic Programming
Topics Bloomberg asks most
- Arrays 32 problems
- Strings 20 problems
- Hash Table 19 problems
- Trees 15 problems
- Sorting 14 problems
- Depth-First Search 13 problems
- Stack 12 problems
- Dynamic Programming 12 problems
- Math 9 problems
- Two Pointers 9 problems
- Breadth-First Search 8 problems
- Recursion 6 problems