Here are a few of things to be aware of that may make you feel better:
- tech companies in the bay area have extremely high churn rates (2-4 yrs is not uncommon)
- unicorns often hire constantly and in high volume (e.g. Facebook increased head count by some 8k people last year alone), so the likelihood that all hires for all unicorns are all "cream of the crop" is far lower than most will admit.
- many companies here are willing to spend significantly more on hiring process than companies in other cities/countries: I've been flown in for on-sites from Toronto on multiple occasions and when I accepted my current role, I received a generous amount of money for moving expenses ($7500) for my family of 4, in addition to getting legal support for visa/immigration procedures. This makes physical location a much smaller hurdle than one might expect.
- not all roles have algorithm-centric interviews (e.g. in my experience, interviews for web-related roles tend to be much more about day-to-day experience), and even for more "traditional" roles, there may be variations in interviewers' expectations (this is exacerbated by the high churn rate from point 1)
- interviewing doesn't need to be that intensive or stressful. I only did a few passively over several years. An interview process typically starts w/ a 1 hour phone screen, so you don't necessarily have to commit to whole-day interview marathons right off the bat. In that one hour you often get a chance to ask more about the role and get a feel for yourself if it'd be a good fit (it often isn't!) Doing this kind of fishing every once in a blue moon is fairly manageable.