In programming world, you get to see 3 types of people w.r.t CP and projects:
Straight answer: Projects>=CP
It's good to go if you give more time to CP rather than projects. There are companies which hire just by looking at your problem solving skills even if you have no experience in building projects.
But the problem would arise when you start working in the real world, you might find it difficult to understand the code of pre existing project(of the company you got placed).
More importantly, you will not sit in front of your pc for 8hrs and do CP instead you are gonna code and build projects.
Basically I'm the person of type 2 whole loves to build projects than CP.
What I suggest is to focus on & build projects because this is kind of work that you are gonna do in real world.
But still you can't ignore CP. Even if your projects are good but lack in problem solving skills then it could be difficult to face placements.
So I suggest the following learning path:
If you haven't started any of the above mentioned thing then it's ok. It's never too late to get started with coding.
Know that it requires your 100% dedication, hardwork and consistency to achieve your goal.
That's it from this blog post. If you liked it then do share this blog with your friends or people who wanna get into programming world. Thank You!