Getting an interview is maybe 10% of the overall process.
To make it through the interviews, you need to study an algorithms textbook and practice coding exercises. At the very least, you should be able to solve any of the Easy-rated problems listed on Leetcode without issue. You need to know what things ike "dynamic programming" are, etc.
I'm not saying that this is the way things should be. Just that this is the reality of what you will need to do to procure a job offer.
Edit: I see my advice has proven controversial. If you have better idaes about how to prepare for whiteboard interviews -- which many of us are statistically likely to encounter should we be thrust into the job market -- please share your suggestions!