Have you considered working for non-FAANG companies for a little while, while you build up your skills on-the-job? I was nearly in my 40s before I got a job at one of those “top” companies, and it wasn’t for lack of trying.
Being able to show up and do the work is table stakes –– and yes, I actually write efficient algorithms in my day-to-day because we process massive amounts of data. But the algos I write were invented 50, 60 years ago. My leetcode study process was to look up the solution and then memorize it through rote practice. Why reinvent the wheel? I'm not trying to win a Turing prize here.
But your intellectual mettle and day to day happiness in the company is tested by your ability to deal with people.