Step 0: manage to get an interview
Step 1: do 300 leetcode problems
Step 2: fail ("you're almost there")
Step 3: do 500 problems
Step 4: take interview
Step 5: land $300K job (see salaries on levels.fyi, depends on country and level) and relocate) + tons of benefits, include remote work nowadays
Step 6: Struggle with legacy code, buggy internal tools, stressful performance reviews, strong colleagues who set the bar very high, high turn-over, oncalls. But the money is real, and overall management and colleagues are pragmatic and skilled.
I assume a smart/lucky/fast thinking guy can do with less than 500 problems. I also assume that as these recipe is getting well-known, difficulty of problems is going to increase.
Also not that this work even if you didn't graduate from a top school, even if you don't have significant experience, even if you're an older candidate. In that sense, these companies don't lie on the "equal opportunity" stuff. It's all about how much you're willing to grind these problems.
Other may offer counter opinion, but this was my experience as well as other new recruits.