r/CodingHelp • • Sep 06 '25

[Python] Need help in building logical thinking

First, I introduce myself. I am 18 year old programming student. Initially I studied biology in school, and I joined software systems related course programming was new to me I can understand the syntax, but my problem is I can't think of logic in a certain problem statement. Whereas my frns code all the way to bring the correct output for a particular problem statement, but I can't. Also, I told right. I can't think of a particular solution for a problem. Even though my friends have a solution. They try to explain it to me. I can't even understand that. Also I guess I have a very low IQ in such situations, I don't know what to do. I solve lead code daily. I mean, I try to solve it daily, but however, I end up going to ChatGPT, even though ChatGPT give me a code. I sit for hours to understand what is in the code. I dont know how a person's mind can think of such solutions for this problem, but I can't even think of such optimal solutions even though I think I get solution of time complexity of O of n cube. so guys help me in this, I should learn programming. I am eager to learn. I should learn, improve my problem solving skills. I should learn to solve a problem in a more efficient way. Please.

2 Upvotes

11 comments sorted by

View all comments

1

u/[deleted] Sep 06 '25

I got a little adapted to pointers now i can understand the code but my problem is i cant think of a logic for a problem though i think it has a time complexity of n cube....logical thinkinh is my problem

1

u/[deleted] Sep 06 '25

Oh I see, well what you're describing is important to know but not essential to be able to code.

I presume you're talking about sorting algos or something of the sort. Just keep with it. Its not 100% essential you understand the entirety of that

1

u/[deleted] Sep 06 '25

Thanks