Bloomberg Coding Interview Questions

C++/systems flavor with arrays, strings, and OOP design.

#Title
2Add Two Numbers
3Longest Substring Without Repeating Characters
7Reverse Integer
8String to Integer (atoi)
11Container With Most Water
20Valid Parentheses
42Trapping Rain Water
50Pow(x, n)
56Merge Intervals
62Unique Paths
63Unique Paths II
66Plus One
70Climbing Stairs
78Subsets
79Word Search
91Decode Ways
94Binary Tree Inorder Traversal
98Validate Binary Search Tree
100Same Tree
101Symmetric Tree
102Binary Tree Level Order Traversal
103Binary Tree Zigzag Level Order Traversal
104Maximum Depth of Binary Tree
105Construct Binary Tree from Preorder and Inorder Traversal
110Balanced Binary Tree
113Path Sum II
116Populating Next Right Pointers in Each Node
117Populating Next Right Pointers in Each Node II
121Best Time to Buy and Sell Stock
122Best Time to Buy and Sell Stock II
138Copy List with Random Pointer
139Word Break
141Linked List Cycle
142Linked List Cycle II
146LRU Cache
151Reverse Words in a String
155Min Stack
160Intersection of Two Linked Lists
172Factorial Trailing Zeroes
189Rotate Array
199Binary Tree Right Side View
200Number of Islands
206Reverse Linked List
208Implement Trie (Prefix Tree)
215Kth Largest Element in an Array
230Kth Smallest Element in a BST
232Implement Queue using Stacks
234Palindrome Linked List
242Valid Anagram
268Missing Number
283Move Zeroes
287Find the Duplicate Number
322Coin Change
328Odd Even Linked List
340Longest Substring with At Most K Distinct Characters
387First Unique Character in a String
394Decode String
445Add Two Numbers II
451Sort Characters By Frequency
496Next Greater Element I
543Diameter of Binary Tree
547Friend Circles