So I'm trying to practice for interviews. I chose Top Interview Questions, Arrays and Easy. I'm having a hard time of coming up with a solution, like the solution doesn't even come across my mind.
My background: I have a CS degree since 2 years ago. I also have practiced on Freecodecamp a year ago (there are Javascript algrothimic questions there too and I have the Front-End certificate from them). After that, I took a break from coding for like half a year (I was on and off coding, but didn't code that much), but I think I still know how to write code and the basics.
Any idea on how to better tackle the interview questions here without having to read the solutions first?