I honestly think it's harder to sell yourself over an immigrant with the exact same race, education and experience. That was my original point, from personal experience at least.
Basically how people hiring
generally view schools by tier (many will vouch for this):
A: Top 10 CS school
B: Local schools the recruiter/company may be familiar or have a contract with in the area
C: Every other college, bootcamp grads, etc.
If you're basically not from a top school you're practically level with everyone else and Leetcode skills, knowledge, work experience, interview skills, etc. will come into play.
Now, when I used to do interviews and met with our team about who we decide gets the go-ahead I often see this play out when talking with other people, given:
Two people have roughly same education (went to the same school with similar GPA)
Same amount of professional experience (meaning they have a solid history of working on teams with money on the line)
However, one came from Los Angeles and another from Nigeria, whoever is looking over those resumes many times will lean with bringing in the latter first because of the many stigmas presented with being from LA or whatever American city they list. Often, they'd be the first ones interviewed.
Of course you'd ideally bring both in to interview, but, remember some companies are on a tight schedule so they want to grab somebody ASAP. If they pull in that immigrant first and he blows everyone away, the search may be over right then and there without interviewing the American prospect with similar accolades.
That actually did happen at my last company.
A lot of people want to say immigrants may have ways to cheat/bypass the system, but Americans do that shyt
all the time as well. shyt, I just read a story today about how some dude's grade jumped from a D to an A because the staff discovered a shytload of students cheating and failed/dropped them.
Plus those rich kids who get into these schools do so via connections - as we've seen time and time again. shyt, remember this?
Felicity Huffman was the first parent in the college admissions scandal to be sentenced. Here's everyone else facing jail time or fines.
www.insider.com
I don't want to derail it any further, but all this to say, from the original point of my post: it's competitive and only getting more competitive and if folks don't want to compete to standout then they need to find a new industry.