Hi folks.. Need help from people who have been in situations similar to mine. I'm going through severe depression and not able to gather courage to open up to friends.
I was a SWE in a 20 person startup(was seed funded when I joined, now post series A) since 1.5 years and in March one of the founders was ousted(He was my TA when I was in college and he is the sole reason I trusted in this startup). I did not like it one bit so I was passively looking for a switch since April. I was interviewing with companies that I did not want to join. That being said I still gave my 100% at work and pushed things forward. My plan was to prepare for 1-2 hours everyday in the evening for 6-8 months and start interviewing from January.
However things went south and I was laid off on August 31st. To make things worse I am on H1-B so I was screwed as USCIS announced premium processing suspension.
Fortunately, I got offer from one of the companies(publicly traded, but I'm not 100% happy working there). However, In the last 45 days, I interviewed at about 15 top tier companies(Apple, Microsoft, LinkedIn, Oath, Amazon, Uber, several startups in self driving space, triplebyte) and got rejections(some on phone, mostly on-site) because I did not have enough LeetCode practice(from the feedbacks I got, I am great at system design but not quick in coding questions). I had left Google and FB to interview last and still awaiting results from them. Honestly not too hopeful after seeing my performance in other companies. Most startups which I'm really excited are not willing to sponsor H1-B and honestly I'm now slightly scared of startups being on H1-B.
I'm not able to cope with these rejections and getting depressed. I am scared that I'll sabotage my career if I join the only option I have now. I have to spend at least 2 years there to not be seen as a job hopper(I spent 2 years in my first job and this was my second job where I have spent 1.5 years). If not for this H1-B shit, I'd take 2-3 months off to thoroughly practice LC style questions and take a crack at FAANG's.
I realize I'm extremely lucky to even have a job lined up in this situation, but still depressed :( How do you guys cope with rejections ?
Take a break for a day and completely disengage. Watch a movie, go for a walk. Clear your mind.