I am terrible at coding exercices

I am terrible at coding exercices

It's a fact

I am terrible at coding exercises. When i say coding exercises, i mean coding problems related to data structures and algorithms.

For example :

Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array.

nums1 = [1,2,3,0,0,0], 
nums2 = [2,5,6],

Output: [1,2,2,3,5,6]

I feel when i do those kind of exercices that i am a fraud, that i don't have the skills to be a programmer.
When i see some coworkers or friends resolving those problems super fast, i just feel ... stupid.

I want to get better

I really want to get better because :

  • i always want to learn :)
  • these kind of exercises are really popular on job interviews.
  • i don't want to feel scared when i do an exercise like that.

I decided to try LeetCode but i was wondering if i could read a book or something before diving into those exercises.

For now, i am just reading some exercises and the solutions to see how they resolve it.

What about you ?

Have you ever felt like me ?

How did you overcome that ?

Do you have some resources that helped you ?

Thanks for your feedback :)

Did you find this article valuable?

Support Sonia Manoubi by becoming a sponsor. Any amount is appreciated!