r/CodingForBeginners • • Sep 08 '26

Is it relatable or am I doing wrong?

So I have started my coding journey I'm in 2nd year and yeah it's through c++. Cause I find that easy than other languages.

So i am able to do basic problems using functions,

Some easy array problems, some pattern problems without any hesitation.

But whenever I see a new type of problem I get stuck cause I am not able to develop that analytical way of approaching.

Some problems which are similar then I can.

But not something new.

Is it common or am I doing something wrong.

I do know the basics syntax theory etc.

I usually try to think first for a long time but after many error I end up seeing the solution and then it just makes sense in a second.

I don't know if i need to do this till i get used to it.

Or do more practice problems etc.

Need guidance.

Also can't understand how my peers are able to do it easily and are way more advanced than me.

Just gives me disappointment about myself.

6 Upvotes

13 comments sorted by

1

u/Dazzling_Music_2411 Sep 08 '26

Give examples, you're being too vague.

Basically, you need to learn to model your problems. The model will guide your implementation,

So list some of the ideas where you got stuck here.

1

u/Sorry-Source4740 Sep 09 '26

Like for example when I code I sometime feel stuck writing the logic. If I have seen a solution of a particular problem after trying a lot, then I can do problems which are on similar style or which have same logic. But for problems which I have not seen any solution or which I have seen first time even though I know those topics. I can't seem to be able to build the logic to solve that problem. Even if i try for hrs I can't solve on my own until I see the solution. So in short:The logic building on my own is taking too long for me.

→ More replies (1)

1

u/[deleted] Sep 09 '26

[removed] — view removed comment

1

u/Sorry-Source4740 Sep 09 '26

Ik most people say this but since c++ is a language that I have learnt in 11 and 12th I'm more familiar with it than other languages. So obviously I'm gonna use that as my primary language instead of learning some new language right?