The first round was the data stream one where you guess the data structure. It wasn't hard, and the follow-up was also about data structures.
The second round was the weirdest coding interview question I've ever had. It was 75 minutes of pair programming with the interviewer. The recruiter made it sound like a LeetCode-type problem, but it turned out to be an applied problem: they gave me a very complicated Python codebase with lots of nested data structure classes, basically one big JSON.
Roughly, you are given a sentence, every word has its own translations, and then you do some sorting. For example, "They are boys", and the translations of each word (Spanish) are [x, y], [z], [a, b, c, d].
The first kind of sorting is simple: sort each word's translations alphabetically.
The second kind is very complicated. The translations of each word come with some ordering rules, and you have to sort by those rules. I couldn't understand what the problem was asking at all, mostly because that JSON structure was so complex.
Before the time was up I said I was giving up, and I got a rejection very quickly. Who could do a problem like this? It was a pure waste of time.
Discussion
Loading comments…