Is coding not for me?

I have been practicing algorithms/coding for the last one year, almost every week. I always hope to get better at it and some day, feel comfortable about my knowledge and skill at coding. But every time I attempt to give a contest or attempt a problem (even easy ones), I feel I know what the approach should be but I cannot code it. Its very frustrating.
In my college, everyone who wants to get better at coding is quite good at solving problems now. Except for me. I am beginning to feel this is not for me and I should just give up.

Is anyone else going through this here? Or if you have any tips I would be glad if you could share some.