Bloomberg Math Questions

184 math problems asked at Bloomberg interviews

Easy (67)Medium (88)Hard (29)

Questions

TitleDifficulty
Add Two NumbersMedium
Insert Delete GetRandom O(1)Medium
Reverse IntegerMedium
Palindrome NumberEasy
Roman to IntegerEasy
Rotate ImageMedium
Climbing StairsEasy
Rotate ArrayMedium
Sqrt(x)Easy
Pow(x, n)Medium
Plus OneEasy
Unique PathsMedium
Missing NumberEasy
Add BinaryEasy
Add Two Numbers IIMedium
Integer to RomanMedium
Find the Winner of the Circular GameMedium
Fibonacci NumberEasy
Happy NumberEasy
Evaluate Reverse Polish NotationMedium
Power of TwoEasy
Find Missing and Repeated ValuesEasy
Factorial Trailing ZeroesMedium
Divide Two IntegersMedium
Next Greater Element IIIMedium
Count PrimesMedium
Add DigitsEasy
Arranging CoinsEasy
Perfect SquaresMedium
Fizz BuzzEasy
Number of Digit OneHard
Add Two IntegersEasy
Basic CalculatorHard
Reordered Power of 2Medium
Count Good NumbersMedium
Maximum SwapMedium
Basic Calculator IIMedium
Power of ThreeEasy
Allocate MailboxesHard
Path In Zigzag Labelled Binary TreeMedium
Continuous Subarray SumMedium
Permutation SequenceHard
Sum of Two IntegersMedium
Multiply StringsMedium
Greatest Common Divisor of StringsEasy
Different Ways to Add ParenthesesMedium
Largest Divisible SubsetMedium
Find Numbers with Even Number of DigitsEasy
Ugly NumberEasy
Sum of Square NumbersMedium
Number of Good PairsEasy
Elimination GameMedium
Excel Sheet Column TitleEasy
Insert Delete GetRandom O(1) - Duplicates allowedHard
Largest Odd Number in StringEasy
Perfect NumberEasy
Angle Between Hands of a ClockMedium
Ugly Number IIMedium
Maximum Product of Three NumbersEasy
Add to Array-Form of IntegerEasy
Rabbits in ForestMedium
Find the Punishment Number of an IntegerMedium
Count the Number of Arrays with K Matching Adjacent ElementsHard
Valid Perfect SquareEasy
Next Greater Numerically Balanced NumberMedium
K Closest Points to OriginMedium
Convert a Number to HexadecimalEasy
Find the Maximum Achievable NumberEasy
Find N Unique Integers Sum up to ZeroEasy
Count Symmetric IntegersEasy
Find the K-th Character in String Game IEasy
Type of TriangleEasy
Largest Triangle AreaEasy
Integer to English WordsHard
Minimum Time DifferenceMedium
Count Number of Nice SubarraysMedium
Expression Add OperatorsHard
Minimum Cost to Move Chips to The Same PositionEasy
Minimum Time Visiting All PointsEasy
Total Waviness of Numbers in Range IIHard
Maximum Building HeightHard
Magic Squares In GridMedium
Rotate FunctionMedium
Integer BreakMedium
N-th Tribonacci NumberEasy
Guess the WordHard
Excel Sheet Column NumberEasy
Check if Number is a Sum of Powers of ThreeMedium
New 21 GameMedium
Max Points on a LineHard
Add StringsEasy
Maximum Manhattan Distance After K ChangesMedium
Power of FourEasy
Random Pick with WeightMedium
Four DivisorsMedium
Number of Ways to Assign Edge Weights IIHard
Guess Number Higher or Lower IIMedium
Number of ZigZag Arrays IIHard
Find the Largest Area of Square Inside Two RectanglesMedium
Concatenation of Consecutive Binary NumbersMedium
Predict the WinnerMedium
2 Keys KeyboardMedium
Gray CodeMedium
Divisor GameEasy
Smallest Even MultipleEasy
K-th Symbol in GrammarMedium
Find Greatest Common Divisor of ArrayEasy
Product of the Last K NumbersMedium
Maximum 69 NumberEasy
Divisible and Non-divisible Sums DifferenceEasy
Closest Prime Numbers in RangeMedium
Minimum Operations to Make Array Elements ZeroHard
Largest Perimeter TriangleEasy
Max Difference You Can Get From Changing an IntegerMedium
24 GameHard
Number of Steps to Reduce a Number to ZeroEasy
Count Largest GroupEasy
Find the K-th Character in String Game IIHard
Subtract the Product and Sum of Digits of an IntegerEasy
Super Egg DropHard
Nth DigitMedium
Mirror Distance of an IntegerEasy
Check Digitorial PermutationMedium
Fancy SequenceHard
Three DivisorsEasy
Range Addition IIEasy
Unique Binary Search TreesMedium
Stone Game IIMedium
The kth Factor of nMedium
Sum of All Subset XOR TotalsEasy
Stone GameMedium
Count Numbers with Unique DigitsMedium
Bulb SwitcherMedium
Final Array State After K Multiplication Operations IEasy
Find Missing ObservationsMedium
Reach a NumberMedium
Count Special SubsequencesMedium
Nim GameEasy
Clumsy FactorialMedium
Number of Sub-arrays With Odd SumMedium
Beautiful Arrangement IIMedium
Maximum and Minimum Sums of at Most Size K SubsequencesMedium
Convert Binary Number in a Linked List to IntegerEasy
Count Total Number of Colored CellsMedium
Alice and Bob Playing Flower GameMedium
A Number After a Double ReversalEasy
Count Number of Bad PairsMedium
Check if Two Chessboard Squares Have the Same ColorEasy
Maximum Sum of Edge Values in a GraphHard
Minimum Moves to Reach Target in GridHard
The Number of Beautiful SubsetsMedium
Sum of k-Mirror NumbersHard
Orderly QueueHard
Total Hamming DistanceMedium
Minimum Cuts to Divide a CircleEasy
Broken CalculatorMedium
Difference Between Element Sum and Digit Sum of an ArrayEasy
Smallest Integer Divisible by KMedium
Pass the PillowEasy
Find Closest PersonEasy
Fraction to Recurring DecimalMedium
Find the Winning Player in Coin GameEasy
Robot Bounded In CircleMedium
Water BottlesEasy
Minimum One Bit Operations to Make Integers ZeroHard
Replace Non-Coprime Numbers in ArrayHard
Count Mentions Per UserMedium
Insert Greatest Common Divisors in Linked ListMedium
Count Partitions with Even Sum DifferenceEasy
Count Number of Trapezoids IMedium
Number of Ways to Divide a Long CorridorHard
Count Square Sum TriplesEasy
Find Minimum Operations to Make All Elements Divisible by ThreeEasy
Soup ServingsMedium
Number of Perfect PairsMedium
Rectangle AreaMedium
GCD of Odd and Even SumsEasy
Self CrossingHard
Find the Number of Ways to Place People IMedium
Find the Closest PalindromeHard
Beautiful ArrayMedium
Maximize the Distance Between Points on a SquareHard
Minimum Moves to Equal Array ElementsMedium
Number of BoomerangsMedium

Showing 184 questions