← Bloomberg roles

Interview question tracker

Bloomberg Coding Interview Questions — Last 6 months

Practice 424 coding questions from Bloomberg company-tagged LeetCode lists in the source’s last 6 months reporting window. Explore reported interview questions and track your progress.

Company-wide data from Fahad7177-jeh/leetcode-company-wise-questions; see its AGPL-3.0 license. All-time questions also use dataengineervishal/leetcode-companywise-questions (MIT license).

Reporting periods reflect source data, not verified interview dates. Questions can recur; inclusion does not guarantee they will appear in your interview.

Updated weekly · Latest source check: ⓘLatest successful check of the sources used by this company. A check does not necessarily mean the questions changed.

One question at a time.

Top questions 424

DoneQuestionLeetCode
Two SumSolve
Flatten a Multilevel Doubly Linked ListSolve
Insert Delete GetRandom O(1)Solve
Invalid TransactionsSolve
Longest Substring Without Repeating CharactersSolve
Merge IntervalsSolve
Number of IslandsSolve
3SumSolve
Add Two NumbersSolve
Best Time to Buy and Sell StockSolve
Container With Most WaterSolve
Decode StringSolve
Longest Common PrefixSolve
Longest Palindromic SubstringSolve
Majority ElementSolve
Min StackSolve
Reverse IntegerSolve
SubsetsSolve
Trapping Rain WaterSolve
Valid AnagramSolve
Valid ParenthesesSolve
Word SearchSolve
All Paths From Source to TargetSolve
Design Underground SystemSolve
Find Peak ElementSolve
First Unique Character in a StringSolve
Group AnagramsSolve
Longest Consecutive SequenceSolve
Longest Repeating Character ReplacementSolve
LRU CacheSolve
Max Consecutive OnesSolve
Maximum SubarraySolve
Median of Two Sorted ArraysSolve
Meeting Rooms IISolve
Merge Two Sorted ListsSolve
Minimum Remove to Make Valid ParenthesesSolve
Next PermutationSolve
Number of Ships in a RectangleSolve
Palindrome NumberSolve
Plus OneSolve
Remove All Adjacent Duplicates in String IISolve
Remove Duplicates from Sorted ArraySolve
Remove Letter To Equalize FrequencySolve
Roman to IntegerSolve
Search in Rotated Sorted ArraySolve
Single Element in a Sorted ArraySolve
Spiral MatrixSolve
String to Integer (atoi)Solve
Valid Triangle NumberSolve
Validate Binary Search TreeSolve
Vertical Order Traversal of a Binary TreeSolve
Word Break IISolve
4SumSolve
Binary Tree Vertical Order TraversalSolve
CandySolve
Check if Array Is Sorted and RotatedSolve
Climbing StairsSolve
Coin ChangeSolve
Combine Two TablesSolve
Contains DuplicateSolve
Contains Duplicate IISolve
Course ScheduleSolve
Create Hello World FunctionSolve
Daily TemperaturesSolve
Design Browser HistorySolve
Diagonal TraverseSolve
Employees Earning More Than Their ManagersSolve
Evaluate DivisionSolve
Fibonacci NumberSolve
Find First and Last Position of Element in Sorted ArraySolve
Find the Winner of the Circular GameSolve
First Missing PositiveSolve
Frequency of the Most Frequent ElementSolve
Gas StationSolve
Generate ParenthesesSolve
Implement Magic DictionarySolve
Integer to RomanSolve
Intersection of Two ArraysSolve
Isomorphic StringsSolve
Jump GameSolve
Kth Largest Element in an ArraySolve
Managers with at Least 5 Direct ReportsSolve
Max Consecutive Ones IIISolve
Merge k Sorted ListsSolve
Minimum Number of Steps to Make Two Strings AnagramSolve
Move ZeroesSolve
N-QueensSolve
Next Greater Element ISolve
Online Stock SpanSolve
Palindrome PartitioningSolve
Pascal's TriangleSolve
Populating Next Right Pointers in Each Node IISolve
Pow(x, n)Solve
Power of TwoSolve
Product of Array Except SelfSolve
Recyclable and Low Fat ProductsSolve
Regular Expression MatchingSolve
Remove Linked List ElementsSolve
Reorder ListSolve
Reordered Power of 2Solve
Reverse Linked ListSolve
Rotate ArraySolve
Rotate ImageSolve
Rotting OrangesSolve
Search a 2D MatrixSolve
Search in Rotated Sorted Array IISolve
Search Insert PositionSolve
Sort an ArraySolve
Sort ColorsSolve
Sort Integers by The Power ValueSolve
Split Array Largest SumSolve
Subarray Sum Equals KSolve
Sudoku SolverSolve
Surrounded RegionsSolve
Swap Nodes in PairsSolve
TriangleSolve
Two City SchedulingSolve
Valid PalindromeSolve
Wildcard MatchingSolve
Zigzag ConversionSolve
Add BinarySolve
Add Two Numbers IISolve
Arranging CoinsSolve
Balanced Binary TreeSolve
Basic CalculatorSolve
Best Time to Buy and Sell Stock IISolve
Biggest Single NumberSolve
Binary Tree CamerasSolve
Binary Tree Inorder TraversalSolve
Binary Tree Level Order TraversalSolve
Binary Tree Maximum Path SumSolve
Binary Tree Right Side ViewSolve
Can Place FlowersSolve
Capacity To Ship Packages Within D DaysSolve
Combination SumSolve
Count and SaySolve
Count Good NumbersSolve
Count Number of Nice SubarraysSolve
Count PrimesSolve
Course Schedule IISolve
Customer Who Visited but Did Not Make Any TransactionsSolve
Customers Who Never OrderSolve
Decode WaysSolve
Delete Node in a BSTSolve
Design A LeaderboardSolve
Design Add and Search Words Data StructureSolve
Design an Ordered StreamSolve
Design Search Autocomplete SystemSolve
Design Task ManagerSolve
Divide Array Into Arrays With Max DifferenceSolve
Divide Two IntegersSolve
Dot Product of Two Sparse VectorsSolve
Edit DistanceSolve
Employee BonusSolve
Evaluate Reverse Polish NotationSolve
Find a Peak Element IISolve
Find All Anagrams in a StringSolve
Find All Numbers Disappeared in an ArraySolve
Find Median from Data StreamSolve
Find Missing and Repeated ValuesSolve
Find the Duplicate NumberSolve
Find the Index of the First Occurrence in a StringSolve
Find the Minimum Amount of Time to Brew PotionsSolve
Find Users With Valid E-MailsSolve
Find X-Sum of All K-Long Subarrays ISolve
First Bad VersionSolve
Friend Requests II: Who Has the Most FriendsSolve
Fruit Into BasketsSolve
Happy NumberSolve
House RobberSolve
Increasing Triplet SubsequenceSolve
Insert Delete GetRandom O(1) - Duplicates allowedSolve
Insert IntervalSolve
Invert Binary TreeSolve
Jump Game IISolve
Kth Missing Positive NumberSolve
Kth Smallest Product of Two Sorted ArraysSolve
Largest NumberSolve
Largest Rectangle in HistogramSolve
Largest Triangle AreaSolve
Lemonade ChangeSolve
Length of Last WordSolve
Letter Combinations of a Phone NumberSolve
LFU CacheSolve
Linked List Cycle IISolve
Longest Increasing SubsequenceSolve
Lowest Common Ancestor of a Binary Search TreeSolve
Lowest Common Ancestor of a Binary TreeSolve
Majority Element IISolve
Max Area of IslandSolve
Maximal RectangleSolve
Maximum Average Subarray ISolve
Maximum Nesting Depth of the ParenthesesSolve
Maximum Number of Events That Can Be Attended IISolve
Maximum Product SubarraySolve
Maximum SwapSolve
Maximum Width of Binary TreeSolve
Merge Sorted ArraySolve
Merge Strings AlternatelySolve
Middle of the Linked ListSolve
Minimum Number of Days to Make m BouquetsSolve
Minimum Size Subarray SumSolve
Minimum Window SubstringSolve
Missing NumberSolve
Monthly Transactions ISolve
Multiply StringsSolve
New 21 GameSolve
Next Greater Element IISolve
Next Greater Numerically Balanced NumberSolve
Number of Good PairsSolve
Number of Matching SubsequencesSolve
Odd Even Linked ListSolve
Palindrome Linked ListSolve
Palindromic SubstringsSolve
Partition ListSolve
Path SumSolve
Peak Index in a Mountain ArraySolve
Populating Next Right Pointers in Each NodeSolve
Range Sum Query 2D - MutableSolve
Rearrange Array Elements by SignSolve
Recover Binary Search TreeSolve
Remove Duplicates from Sorted ListSolve
Remove Duplicates from Sorted List IISolve
Remove ElementSolve
Remove K DigitsSolve
Remove Nth Node From End of ListSolve
Restaurant GrowthSolve
Reverse Linked List IISolve
Reverse StringSolve
Reverse String IISolve
Reverse Words in a StringSolve
Rising TemperatureSolve
Rotate ListSolve
Rotate StringSolve
Same TreeSolve
Second Highest SalarySolve
Set Matrix ZeroesSolve
Shortest Path in Binary MatrixSolve
Simple Bank SystemSolve
Single NumberSolve
Sliding Window MaximumSolve
Smallest Subarrays With Maximum Bitwise ORSolve
Sort ListSolve
Sparse Matrix MultiplicationSolve
Sqrt(x)Solve
String CompressionSolve
Students and ExaminationsSolve
Subarray Sums Divisible by KSolve
Subsets IISolve
Sum of Mutated Array Closest to TargetSolve
Taking Maximum Energy From the Mystic DungeonSolve
Target SumSolve
Top K Frequent ElementsSolve
Two Sum II - Input Array Is SortedSolve
Ugly NumberSolve
Unique PathsSolve
Unique Paths IISolve
User Activity for the Past 30 Days ISolve
Valid Parenthesis StringSolve
Valid WordSolve
Vowel SpellcheckerSolve
Ways to Express an Integer as Sum of PowersSolve
Word BreakSolve
Word LadderSolve
Word PatternSolve
1-bit and 2-bit CharactersSolve
24 GameSolve
3Sum ClosestSolve
Accounts MergeSolve
Add One Row to TreeSolve
Add Two IntegersSolve
Adjacent Increasing Subarrays Detection ISolve
All O`one Data StructureSolve
Array Prototype LastSolve
Average Selling PriceSolve
Average Time of Process per MachineSolve
Avoid Flood in The CitySolve
Basic Calculator IISolve
Best Sightseeing PairSolve
Best Time to Buy and Sell Stock IIISolve
Binary SearchSolve
Binary Subarrays With SumSolve
Binary Tree Zigzag Level Order TraversalSolve
Bitwise AND of Numbers RangeSolve
Bitwise ORs of SubarraysSolve
Brick WallSolve
Bus RoutesSolve
Calculate Amount Paid in TaxesSolve
Candy CrushSolve
Car PoolingSolve
Check if the Sentence Is PangramSolve
Coin Change IISolve
Combination Sum IISolve
Confirmation RateSolve
Consecutive CharactersSolve
Consecutive NumbersSolve
Construct Binary Search Tree from Preorder TraversalSolve
Contains Duplicate IIISolve
Copy List with Random PointerSolve
Count Elements With Maximum FrequencySolve
Count Number of Maximum Bitwise-OR SubsetsSolve
Count Numbers with Unique DigitsSolve
Count of Smaller Numbers After SelfSolve
Count Submatrices With All OnesSolve
Count the Number of Substrings With Dominant OnesSolve
Couples Holding HandsSolve
Defanging an IP AddressSolve
Defuse the BombSolve
Delete Node in a Linked ListSolve
Determine if Two Strings Are CloseSolve
Fair Candy SwapSolve
Filter Elements from ArraySolve
Find All Duplicates in an ArraySolve
Find All K-Distant Indices in an ArraySolve
Find Center of Star GraphSolve
Find Closest Number to ZeroSolve
Find Eventual Safe StatesSolve
Find Lucky Integer in an ArraySolve
Find Right IntervalSolve
Find Root of N-Ary TreeSolve
Find the DifferenceSolve
Find the Maximum Achievable NumberSolve
Find the Maximum Length of Valid Subsequence IISolve
Find the Smallest Divisor Given a ThresholdSolve
Find the Town JudgeSolve
Flatten Binary Tree to Linked ListSolve
Fraction to Recurring DecimalSolve
Fruits Into Baskets IIISolve
Generate Tag for Video CaptionSolve
Guess Number Higher or LowerSolve
Guess the WordSolve
H-IndexSolve
HeatersSolve
Height CheckerSolve
How Many Numbers Are Smaller Than the Current NumberSolve
Intersection of Two Linked ListsSolve
Investments in 2016Solve
Is Graph Bipartite?Solve
Is SubsequenceSolve
Island PerimeterSolve
Jewels and StonesSolve
Koko Eating BananasSolve
Kth Smallest Element in a BSTSolve
Largest 3-Same-Digit Number in StringSolve
Largest Odd Number in StringSolve
Letter Case PermutationSolve
Linked List CycleSolve
Longest Balanced Substring ISolve
Longest Common SubsequenceSolve
Longest Harmonious SubsequenceSolve
Longest Palindromic SubsequenceSolve
Longest String ChainSolve
Make Array Elements Equal to ZeroSolve
Max Chunks To Make SortedSolve
Max Chunks To Make Sorted IISolve
Max Difference You Can Get From Changing an IntegerSolve
Maximal SquareSolve
Maximum Depth of Binary TreeSolve
Maximum Difference Between Even and Odd Frequency IISolve
Maximum Difference Between Increasing ElementsSolve
Maximum Sum of Distinct Subarrays With Length KSolve
Maximum Tastiness of Candy BasketSolve
Maximum Total Damage With Spell CastingSolve
Maximum Unique Subarray Sum After DeletionSolve
Min Cost Climbing StairsSolve
Minimum Absolute DifferenceSolve
Minimum Depth of Binary TreeSolve
Minimum Number of People to TeachSolve
Minimum One Bit Operations to Make Integers ZeroSolve
Minimum Operations to Make the Integer ZeroSolve
Minimum Path SumSolve
Non-overlapping IntervalsSolve
Nth Highest SalarySolve
Number of Digit OneSolve
Number of Distinct Substrings in a StringSolve
Number of People Aware of a SecretSolve
Number of Recent CallsSolve
Number of Steps to Reduce a Number to ZeroSolve
Ones and ZeroesSolve
Open the LockSolve
Partition Array According to Given PivotSolve
Partition Array Into Two Arrays to Minimize Sum DifferenceSolve
Partition Equal Subset SumSolve
Pass the PillowSolve
Perfect NumberSolve
Perfect SquaresSolve
Permutation in StringSolve
PermutationsSolve
Permutations IISolve
Power of ThreeSolve
Primary Department for Each EmployeeSolve
Product Price at a Given DateSolve
Range Product Queries of PowersSolve
Range Sum of BSTSolve
Range Sum Query - MutableSolve
Rank ScoresSolve
Rank Teams by VotesSolve
Rearranging FruitsSolve
Remove All Occurrences of a SubstringSolve
Reschedule Meetings for Maximum Free Time IISolve
Reverse Vowels of a StringSolve
Running Sum of 1d ArraySolve
Score of a StringSolve
Search a 2D Matrix IISolve
Search in a Binary Search TreeSolve
Shortest PalindromeSolve
Single Number IISolve
Snakes and LaddersSolve
Sort Characters By FrequencySolve
Sort Items by Groups Respecting DependenciesSolve
Subarray Product Less Than KSolve
Sum of Beauty of All SubstringsSolve
Sum of Left LeavesSolve
Sum of Subarray MinimumsSolve
Summary RangesSolve
Symmetric TreeSolve
The Earliest and Latest Rounds Where Players CompeteSolve
The Number of Employees Which Report to Each EmployeeSolve
To Be Or Not To BeSolve
Trapping Rain Water IISolve
Two Sum IV - Input is a BSTSolve
Valid SudokuSolve
Verifying an Alien DictionarySolve
Word Search IISolve