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…
Showing 126–129
Check whether a string becomes a palindrome after lowercasing and removing all non-alphanumeric characters. The typical challenge is to do this efficiently (O(n)) by scanning…
Companies: Bloomberg, Apple, Meta
String · Two Pointers
Check whether a string of parentheses/brackets is valid by ensuring every closing bracket matches the most recent unmatched opening bracket and the types and nesting…
Companies: Bloomberg, Amazon, Apple, Google +9
Bracket Sequences · Stack · String
Count the number of triplets (i, j, k) from nums that can form triangle side lengths — i.e., three values a ≤ b ≤ c…
Companies: Bloomberg
Array · Binary Search · Greedy · Sorting
Arrange the characters of a string into a zigzag pattern across numRows and then read the rows sequentially to produce the converted string. The core…
Companies: Bloomberg, Amazon, Google, Oracle +1
String