@codewithibrahim Learn problem-solving and start writing pseudo code first on a paper. Learn to dry run your code and how to measure performance. Spend time on one problem, take a step back, go to the whiteboard, and think! Once you make that a habit, picking up a new language becomes so easy.
@farazamiruddin That just a lazy excuse.
If you can't solve an algo question, don't call yourself a senior software engineer. Call yourself a react expert or something like that and then interview for a react team.