I too am in the same boat. Never did much competitive coding, but am pretty decent at software development.
My colleague is good at both of them. And somewhere I feel, being good at competitive coding helps you develop an approach towards solving a problem. It also comes in quite handy when you have to make performance optimisation. Atleast that is what I observed with my colleague.
You should try to develop the logic by solving these questions!
Cheers