Explore questions associated with Bloomberg. Review the source details, then use the workspace for code, notes, and diagrams.
129 questions in the library. A source association does not guarantee a future interview question.
Behavioral and leadership · Coding · Practical engineering · System design
Loading questions…
Practice system design interviews out loud with an AI interviewer, a shared whiteboard and a scorecard for your level.
© 2026 SysRound. SysRound is an AI practice tool. The AI interviewer and the AI feedback can be wrong. Use it for your own practice, not to hire people.
Showing 101–125
Find the length of the longest run of consecutive integers in an unsorted array, with an O(n) time requirement. The core idea is to detect…
Companies: Bloomberg, Amazon, Google, Microsoft +1
Array · Hash Table · Union-Find
Given a string s, return the longest substring that reads the same forwards and backwards. The core challenge is efficiently finding palindromic spans around centers…
Companies: Bloomberg, Adobe, Amazon, Goldman Sachs +6
Dynamic Programming · Manacher · String · Two Pointers
Find the length of the longest contiguous substring that contains no repeated characters. This is a classic sliding-window / two-pointer problem where you track seen…
Companies: Bloomberg, Amazon, Apple, Autodesk +12
Hash Table · Sliding Window · String
Given an array of n integers, return the element that appears more than ⌊n/2⌋ times (the majority element is guaranteed to exist). The goal is…
Companies: Bloomberg, Amazon, Coupang, Google +1
Array · Boyer–Moore Majority Vote Algorithm · Counting · Divide and Conquer
Find the median of two sorted arrays in O(log(m+n)) time by using binary search to partition the arrays so the left half contains the correct…
Companies: Bloomberg, Amazon, eBay, Goldman Sachs +5
Array · Binary Search · Divide and Conquer
Given two sorted arrays nums1 and nums2 and counts m and n (nums1 has length m+n with its last n slots free), merge the elements…
Companies: Bloomberg, Amazon, Google, Meta +2
Array · Sorting · Two Pointers
Given a string of '(' and ')', return the minimum number of insertions needed to make it balanced under the rule that each '(' must…
Companies: Bloomberg, Meta
Bracket Sequences · Greedy · Stack · String
Remove elements from either end to make the sum of removed elements equal x; equivalently, find the longest contiguous subarray whose sum equals total(nums) -…
Companies: Bloomberg
Array · Binary Search · Hash Table · Prefix Sum
Find the length of the shortest contiguous subarray of positive integers whose sum is at least a given target (return 0 if none exists). This…
Companies: Bloomberg, Meta, Toast
Array · Binary Search · Prefix Sum · Sliding Window
Rearrange the array in-place to produce the lexicographically next greater permutation (using only O(1) extra space); if no larger permutation exists, reorder it to the…
Companies: Bloomberg, Amazon, Meta, Microsoft
Array · Two Pointers
Determine whether an integer's digit sequence reads the same forwards and backwards (return false for negative numbers); the follow-up asks to do this without converting…
Companies: Bloomberg, Amazon, Google, Meta +1
Math
Generate the first numRows of Pascal's Triangle as a list of lists, where each row starts and ends with 1 and every interior element equals…
Companies: Bloomberg
Array · Dynamic Programming
Given a sorted array, remove duplicates in-place so each unique value appears only once (preserving order) and return the count k of unique elements. This…
Companies: Bloomberg, Google, Meta, Microsoft
Array · Two Pointers
Reverse the digits of a signed 32-bit integer, preserving the sign, and return the reversed number or 0 if reversing would overflow the 32-bit signed…
Companies: Bloomberg, eBay, Google, Meta +2
Math
Given an n×n matrix, rotate it 90° clockwise in-place (no extra matrix allowed), i.e., rearrange the elements so each row becomes the corresponding column after…
Companies: Bloomberg, ByteDance, Meta, NVIDIA
Array · Math · Matrix
Given a sorted array of distinct integers and a target, return the index where the target is found or the index where it should be…
Companies: Bloomberg, Google, Grammarly, Meta
Array · Binary Search
Given an array where every element appears exactly twice except for one, return the element that appears only once. Achieve O(n) time and O(1) space…
Companies: Bloomberg, Amazon, Meta
Array · Bit Manipulation
Given an integer array and a window size k, return the maximum value for each contiguous subarray (sliding window) as it moves one step to…
Companies: Bloomberg, Amazon, D. E. Shaw, Expedia +7
Array · Heap (Priority Queue) · Monotonic Queue · Queue
Given an integer array sorted in non-decreasing order (which may contain negative numbers), return a new array of the squares of each number, also sorted…
Companies: Bloomberg, Instacart, Uber
Array · Sorting · Two Pointers
Count the number of contiguous, non-empty subarrays whose elements sum to k. Because nums can include negatives (so two-pointer sliding window doesn't work), use cumulative…
Companies: Bloomberg, Amazon, Apple, Google +3
Array · Hash Table · Prefix Sum
Given a 1-indexed integer array nums of length n, compute the sum of squares of all elements at indices i that divide n (i.e., n…
Companies: Bloomberg
Array · Enumeration
Given an integer array and k, return the k most frequent elements — the core challenge is to count element frequencies and extract the top-k…
Companies: Bloomberg, Amazon, Google, Meta +9
Array · Bucket Sort · Counting · Divide and Conquer
Given an array of integers and a target, return the indices of two distinct elements whose values sum to the target (exactly one valid solution…
Companies: Bloomberg, Amazon, Apple, Brex +13
Array · Hash Table
Given a string s and an empty buffer t that acts like a stack (you can push s's first char onto t or pop t's…
Companies: Bloomberg, Expedia, Rippling
Greedy · Hash Table · Stack · String