Make a string buffer that takes incoming strings and prints them. The first bit of the string is the size and if the string is not the required size, wait for the rest of the message.
Grad Interview Questions
8,336 grad interview questions shared by candidates
Rotated sorted array find element
Linked list with random and next for every node
2nd Interview: 1) Given stocks and conversion ratios such as USD / INR -> 1.3, EUR/CAD -> 2.3...find the shortest conversion between any two currencies. There may not necessarily be a direct conversion between the two currencies and so multiple conversions may be required. 2) Variation of LRU Cache
Why Bloomberg. They ask this every interview.
Return a String with the characters present in the first word but not in the second word. "ab", "ab" -> "" "abc", "ca" -> "b" "a", "z" -> "a" They were looking for O(n+m).
- 2 LC medium - 1 LC hard
Generally speaking, all questions were LC easy to medium level.
Trailing zeroes in the factorial of a number, LRU cache. System Design.
Interpret this EKG (it was a 2nd degree heart block) with a HR of 40 what would your course of action be?
Viewing 521 - 530 interview questions