I got a bad feeling at the onsite from the start, and sure enough, in the end I got a no hire even though I got optimal solutions on both questions plus the follow-ups. The stated reason was lack of communication. I feel like I got screwed, because the whole time I clarified everything first and then talked while I wrote, and the phone screen had explicitly said my communication was outstanding.
One round was a DFS question wrapped in an OOD design, which was fairly easy. The only real catch was that you have to handle possible cycles. You design a class that stores a database and does string replacement, replacing all the variable names inside, but you also have to handle variable names that are nested inside other variable names.
Another round was a variation of LeetCode 243. The follow-up was to write a class implementing a few specific methods, for example checking whether two words are anagrams and so on. Not complicated.
A week later I got a call from the recruiter saying lack of communication. They didn't give any more specific feedback, and said they were moving on.
Discussion
Loading comments…