← Bloomberg roles

Interview question tracker

Bloomberg SDE 2

The 405 highest-frequency questions from last 6 months. Finish the strongest signals first.

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 405

DoneQuestionLeetCode
Two SumSolve
Merge IntervalsSolve
Best Time to Buy and Sell StockSolve
Longest Palindromic SubstringSolve
Longest Substring Without Repeating CharactersSolve
Add Two NumbersSolve
Trapping Rain WaterSolve
Decode StringSolve
Group AnagramsSolve
Number of IslandsSolve
Climbing StairsSolve
Subarray Sum Equals KSolve
3SumSolve
Median of Two Sorted ArraysSolve
Valid ParenthesesSolve
Longest Consecutive SequenceSolve
Meeting Rooms IISolve
Container With Most WaterSolve
Insert Delete GetRandom O(1)Solve
Longest Common PrefixSolve
Majority ElementSolve
Merge Two Sorted ListsSolve
Remove Duplicates from Sorted ArraySolve
Valid PalindromeSolve
Word SearchSolve
Longest Repeating Character ReplacementSolve
Palindrome NumberSolve
Rotate ImageSolve
Design Underground SystemSolve
Evaluate DivisionSolve
Flatten a Multilevel Doubly Linked ListSolve
LRU CacheSolve
Next PermutationSolve
Search in Rotated Sorted ArraySolve
Single NumberSolve
Valid AnagramSolve
Generate ParenthesesSolve
Move ZeroesSolve
Coin ChangeSolve
First Unique Character in a StringSolve
House RobberSolve
Search Insert PositionSolve
4SumSolve
Concatenation of ArraySolve
Koko Eating BananasSolve
Merge Sorted ArraySolve
Next Greater Element ISolve
Number of ProvincesSolve
Product of Array Except SelfSolve
Remove ElementSolve
Reverse IntegerSolve
Rotting OrangesSolve
Set Matrix ZeroesSolve
Squares of a Sorted ArraySolve
Binary SearchSolve
Check if Array Is Sorted and RotatedSolve
Find First and Last Position of Element in Sorted ArraySolve
Fruit Into BasketsSolve
Gas StationSolve
Jump GameSolve
Plus OneSolve
Pow(x, n)Solve
Sort ColorsSolve
String to Integer (atoi)Solve
Symmetric TreeSolve
Two City SchedulingSolve
Word LadderSolve
Basic CalculatorSolve
Daily TemperaturesSolve
Diameter of Binary TreeSolve
Divide Two IntegersSolve
Find the Index of the First Occurrence in a StringSolve
Letter Combinations of a Phone NumberSolve
Max Consecutive OnesSolve
Maximum SubarraySolve
Merge k Sorted ListsSolve
Number of Recent CallsSolve
Number of Ships in a RectangleSolve
Palindrome Linked ListSolve
Pascal's TriangleSolve
Reverse Linked ListSolve
Reverse StringSolve
Rotate ArraySolve
Sliding Window MaximumSolve
Spiral MatrixSolve
SubsetsSolve
Top K Frequent ElementsSolve
Zigzag ConversionSolve
3Sum ClosestSolve
Accounts MergeSolve
Best Time to Buy and Sell Stock IISolve
Contains DuplicateSolve
Contains Duplicate IISolve
Copy List with Random PointerSolve
Fibonacci NumberSolve
Find All Anagrams in a StringSolve
Fizz BuzzSolve
Furthest Point From OriginSolve
Largest Rectangle in HistogramSolve
Maximum Depth of Binary TreeSolve
Minimum Size Subarray SumSolve
PermutationsSolve
Recyclable and Low Fat ProductsSolve
Reorder ListSolve
Rotate StringSolve
Second Highest SalarySolve
Single Element in a Sorted ArraySolve
Split Array Largest SumSolve
Sqrt(x)Solve
Valid Triangle NumberSolve
Word BreakSolve
Asteroid CollisionSolve
Balanced Binary TreeSolve
CandySolve
Combination SumSolve
Combine Two TablesSolve
Count Binary SubstringsSolve
Delete Node in a BSTSolve
Find Peak ElementSolve
Invalid TransactionsSolve
Jump Game IISolve
Length of Last WordSolve
Lowest Common Ancestor of a Binary TreeSolve
Maximum Average Subarray ISolve
Maximum Product SubarraySolve
Merge Strings AlternatelySolve
Min StackSolve
Missing NumberSolve
Next Greater Element IISolve
Regular Expression MatchingSolve
Remove Duplicates from Sorted ListSolve
Remove Nth Node From End of ListSolve
Reverse Nodes in k-GroupSolve
Roman to IntegerSolve
Rotate ListSolve
Simplify PathSolve
String CompressionSolve
Subsets IISolve
Surrounded RegionsSolve
Swap Nodes in PairsSolve
Using a Robot to Print the Lexicographically Smallest StringSolve
Validate Binary Search TreeSolve
Article Views ISolve
Binary Tree Maximum Path SumSolve
Capacity To Ship Packages Within D DaysSolve
Construct Binary Tree from Preorder and Inorder TraversalSolve
Contiguous ArraySolve
Count and SaySolve
Course Schedule IISolve
Create Hello World FunctionSolve
Design A LeaderboardSolve
Duplicate EmailsSolve
Find Customer RefereeSolve
Find Minimum in Rotated Sorted ArraySolve
Find Pivot IndexSolve
Find the Lexicographically Smallest Valid SequenceSolve
First Bad VersionSolve
First Missing PositiveSolve
Happy NumberSolve
House Robber IISolve
Intersection of Two ArraysSolve
Isomorphic StringsSolve
Jump Game VIISolve
Kth Largest Element in an ArraySolve
Longest Increasing SubsequenceSolve
Maximum Product of Three NumbersSolve
Multiply StringsSolve
Number of Longest Increasing SubsequenceSolve
Permutation in StringSolve
Permutation SequenceSolve
Reverse Linked List IISolve
Running Sum of 1d ArraySolve
Search a 2D Matrix IISolve
Sequential DigitsSolve
Sort Characters By FrequencySolve
Sort Integers by The Power ValueSolve
Stone Game IVSolve
Substring with Concatenation of All WordsSolve
Sum Root to Leaf NumbersSolve
Task SchedulerSolve
Time Based Key-Value StoreSolve
Total Waviness of Numbers in Range IISolve
TriangleSolve
Two Sum II - Input Array Is SortedSolve
Unique Paths IISolve
Valid Parenthesis StringSolve
Valid SudokuSolve
Word Break IISolve
01 MatrixSolve
Add BinarySolve
All Paths From Source to TargetSolve
Angle Between Hands of a ClockSolve
Average Selling PriceSolve
Big CountriesSolve
Binary Subarrays With SumSolve
Binary Tree Vertical Order TraversalSolve
Binary Tree Zigzag Level Order TraversalSolve
Cheapest Flights Within K StopsSolve
Check if the Sentence Is PangramSolve
Closest Equal Element QueriesSolve
Combination Sum IISolve
CombinationsSolve
Count Unhappy FriendsSolve
Create Binary Tree From DescriptionsSolve
Decode WaysSolve
Design an Ordered StreamSolve
Design Circular QueueSolve
Earliest Finish Time for Land and Water Rides ISolve
Edit DistanceSolve
Elimination GameSolve
Find if Path Exists in GraphSolve
Find Median from Data StreamSolve
Find the Number of Subsequences With Equal GCDSolve
Frequency of the Most Frequent ElementSolve
Game Play Analysis IVSolve
How Many Numbers Are Smaller Than the Current NumberSolve
Implement Trie (Prefix Tree)Solve
Increasing Triplet SubsequenceSolve
Integer to RomanSolve
Intersection of Two Linked ListsSolve
Jewels and StonesSolve
Kids With the Greatest Number of CandiesSolve
Kth Missing Positive NumberSolve
Largest Divisible SubsetSolve
Last Stone WeightSolve
Longest Common SubsequenceSolve
Longest PalindromeSolve
Maximal RectangleSolve
Maximum Length Substring With Two OccurrencesSolve
Maximum Product of Two DigitsSolve
Maximum Profit in Job SchedulingSolve
Minimum Cost of Buying Candies With DiscountSolve
Minimum Number of Days to Make m BouquetsSolve
Minimum Remove to Make Valid ParenthesesSolve
N-QueensSolve
Next Greater Element IIISolve
Palindrome PartitioningSolve
Partition Array for Maximum SumSolve
Partition Equal Subset SumSolve
Perfect SquaresSolve
Power of ThreeSolve
Power of TwoSolve
Ransom NoteSolve
Remove Duplicates from Sorted List IISolve
Reverse PairsSolve
Rising TemperatureSolve
Same TreeSolve
Serialize and Deserialize Binary TreeSolve
Shift 2D GridSolve
Shortest PalindromeSolve
Smallest Divisible Digit Product ISolve
Smallest Missing Integer Greater Than Sequential Prefix SumSolve
Sort ListSolve
Students and ExaminationsSolve
Sudoku SolverSolve
Sum of Beauty of All SubstringsSolve
Summary RangesSolve
Third Maximum NumberSolve
Valid Mountain ArraySolve
Valid Palindrome IISolve
Alien DictionarySolve
Assign CookiesSolve
Average Time of Process per MachineSolve
Baseball GameSolve
Basic Calculator IISolve
Best Time to Buy and Sell Stock IIISolve
Binary Tree Inorder TraversalSolve
Binary Tree Level Order TraversalSolve
Binary Tree Postorder TraversalSolve
Boats to Save PeopleSolve
Bulls and CowsSolve
Can Make Arithmetic Progression From SequenceSolve
Check Digitorial PermutationSolve
Complement of Base 10 IntegerSolve
Concatenation of Consecutive Binary NumbersSolve
Consecutive NumbersSolve
Continuous Subarray SumSolve
Count Number of Nice SubarraysSolve
Count Subarrays With Majority Element ISolve
Create a DataFrame from ListSolve
Customer Who Visited but Did Not Make Any TransactionsSolve
Customers Who Bought All ProductsSolve
Delete Node in a Linked ListSolve
Department Top Three SalariesSolve
Design a Todo ListSolve
Design Hit CounterSolve
Employee ImportanceSolve
Employees Earning More Than Their ManagersSolve
Evaluate Reverse Polish NotationSolve
Excel Sheet Column TitleSolve
Find Greatest Common Divisor of ArraySolve
Find K Closest ElementsSolve
Find Missing and Repeated ValuesSolve
Find Numbers with Even Number of DigitsSolve
Find the Difference of Two ArraysSolve
Find the Length of the Longest Common PrefixSolve
Find the Maximum Number of Elements in SubsetSolve
Find the Prefix Common Array of Two ArraysSolve
Find the Winner of the Circular GameSolve
Flatten Nested List IteratorSolve
Flood FillSolve
Guess Number Higher or Lower IISolve
HeatersSolve
Immediate Food Delivery IISolve
Implement Magic DictionarySolve
Implement Queue using StacksSolve
Implement Stack using QueuesSolve
Investments in 2016Solve
IPOSolve
Is SubsequenceSolve
K Closest Points to OriginSolve
K-diff Pairs in an ArraySolve
Largest Submatrix With RearrangementsSolve
Last Person to Fit in the BusSolve
Lemonade ChangeSolve
Lexicographical NumbersSolve
Linked List CycleSolve
Linked List Cycle IISolve
Longest Substring of One Repeating CharacterSolve
Longest Valid ParenthesesSolve
Lowest Common Ancestor of a Binary Search TreeSolve
Majority Element IISolve
Making A Large IslandSolve
Max Points on a LineSolve
Maximize Active Section with Trade ISolve
Maximum Absolute Sum of Any SubarraySolve
Maximum Building HeightSolve
Maximum Element After Decreasing and RearrangingSolve
Maximum Number of BalloonsSolve
Maximum Number of Integers to Choose From a Range ISolve
Maximum Score Words Formed by LettersSolve
Maximum Sum of Distinct Subarrays With Length KSolve
Maximum Width of Binary TreeSolve
Maximum XOR of Two Numbers in an ArraySolve
Middle of the Linked ListSolve
Minimize Hamming Distance After Swap OperationsSolve
Minimum Absolute DifferenceSolve
Minimum Cost to Cut a StickSolve
Minimum Depth of Binary TreeSolve
Minimum Distance to the Target ElementSolve
Minimum Number of Pushes to Type Word IISolve
Minimum Window SubstringSolve
Network Recovery PathwaysSolve
Non-overlapping IntervalsSolve
Nth DigitSolve
Nth Highest SalarySolve
Number of Paths with Max ScoreSolve
Number of People Aware of a SecretSolve
Number of Students Unable to Eat LunchSolve
Number of Sub-arrays of Size K and Average Greater than or Equal to ThresholdSolve
Number of Unique XOR Triplets IISolve
Number of Ways to Assign Edge Weights IISolve
Number of ZigZag Arrays IISolve
Online Stock SpanSolve
Palindromic SubstringsSolve
Partition Array Into Two Arrays to Minimize Sum DifferenceSolve
Partition ListSolve
Peak Index in a Mountain ArraySolve
Percentage of Users Attended a ContestSolve
Populating Next Right Pointers in Each NodeSolve
Populating Next Right Pointers in Each Node IISolve
Process String with Special Operations ISolve
Product Sales Analysis IIISolve
Range Addition IISolve
Rank Teams by VotesSolve
Rank Transform of an ArraySolve
Rearrange Array Elements by SignSolve
Reconstruct ItinerarySolve
Redundant ConnectionSolve
Remove All Adjacent Duplicates In StringSolve
Remove Covered IntervalsSolve
Remove Letter To Equalize FrequencySolve
Remove Outermost ParenthesesSolve
Reorganize StringSolve
Restaurant GrowthSolve
Reverse String IISolve
Robot Return to OriginSolve
Rotate FunctionSolve
Search a 2D MatrixSolve
Search in Rotated Sorted Array IISolve
Search Suggestions SystemSolve
Set MismatchSolve
Single Number IISolve
Smallest Palindromic Rearrangement ISolve
Smallest Range Covering Elements from K ListsSolve
Sort an ArraySolve
Sort Array by Increasing FrequencySolve
Spiral Matrix IISolve
Stone GameSolve
Subarrays with K Different IntegersSolve
Subtree of Another TreeSolve
Sum of Subarray MinimumsSolve
Target SumSolve
Text JustificationSolve
The Number of Employees Which Report to Each EmployeeSolve
Total Cost to Hire K WorkersSolve
Transpose MatrixSolve
Trips and UsersSolve
Ugly NumberSolve
Ugly Number IISolve
Unique Binary Search Trees IISolve
Unique PathsSolve
Valid Perfect SquareSolve
Wildcard MatchingSolve
Words Within Two Edits of DictionarySolve