There were 4 rounds although the fourth one lasted for about 15 min with the hiring manager who took the time only to tell me that I would be given an offer. Interestingly, only one question was asked in the other 3, which lasted for about 40 minutes each. Round 1:
- Given a sorted array and a sum, write a code to return two elements in the array whose sum is closest to the given sum.
- Given a string, return its largest sub-string without any repeating characters.
- Solution to the classical synchronization problem of readers-writers problem.