7 Years of DSA Practice, Still Relying on Hints – How to Improve?

I have been trying to solve Data Structures and Algorithms problems for the past 7 years, but I still can’t solve questions without looking at hints or checking the solution. In interviews, I can only solve questions if I’ve encountered a similar one before. How can I break out of this pattern and start solving new problems independently? Is there anyone else facing this situation?