I don't think I did anything special. At some point a recruiter from one of those companies messaged me on LinkedIn, then I spent a couple of weeks preparing with Cracking the Coding Interview. I'm not a senior engineer - I interviewed for a mid level role but got a junior level offer. Probably didn't do well enough on the systems design questions.