A bit of context: I work remotely for a company with offices in Europe. I get paid pretty well, actually super well compared to my local market average salaries.
Due to my current family circumstances, it's not an option for me to relocate.
I have been in backend engineering for about 5 years now but I'm starting to feel that the atmosphere in my current team is deteriorating every day.
Even though it's highly likely, there might not be an open position in another team within the same company.
Here's the question: what is the most pragmatic way to be in good shape should I leave the current job?
I constantly try to improve in pure backend-related aspects like my default programming language, databases, system design.
That said, it seems that a lot of companies where my income could increase in a statistically significant way, Leetcode style interviews have become very common.
I am making the conclusion that being good enough at Leetcode problems is a pretty safe bet.
What do you think?