Bloomberg | Phone | Two City Scheduling
Applied: 10/23/2019 Phone Interview date: 12/02/2019
Recruiter called me one minute before the scheduled time. After a couple of minutes of discussion, he pasted exactly this question. https://leetcode.com/problems/two-city-scheduling/description/
I knew the most optimized O(NlogN) solution to this one. But I tried to come up with a brute force recursive solution first to make it seem like I didn't know the question. It took a while to get that right. Just when I thought everything was going good and wanted to add a memo to optimize my solution, he said time's up and asked if I had any questions regarding Bloomberg.
Well, I'm not sure if I'd pass with just the recursive solution, but I guess that's what it is.
*PS: During my preparation, I thought of just going with the optimal solution and admit that I saw the question if at all something like this happened, but then, one day I came across the below experience and decided not to do that. I'm not blaming anyone. I took the decision, I'll be the one to face any consequence.
https://leetcode.com/discuss/interview-experience/130347/Bloomberg-Software-Engineer
***
All the best for everyone preparing.