Should I focus more on algorithm or number of solved problems?

I've recently started solving problems on LeetCode and I know basic Java.I've started working on the language but algorithmic approach seems quite difficult for me to apply.

To be more specific when I see a problem the first thought that comes to my mind is to solve it using array.But array is not always the efficient approach. And also I can hardly apply any algorithm to solve a problem to make the solution more efficient.

So what is your advice on improving my skill faster? Should I learn algorithm as a beginner or improve language skill? How should I step foroward as a beginner?
And for jobs do I have to be highly skilled in algorithm?

Comments (0)