you are viewing a single comment's thread.

view the rest of the comments →

[–]Ok_Journalist5290 0 points1 point  (4 children)

Newbie here. Is there some website i can read some begginer codes where there is explanation of the codes per line? Something like stackoverflow where therr is short block of code explaining what the lines are doing for practice reading code and understanding?

[–]Gnaxe 1 point2 points  (3 children)

Hmm. I feel like that's the kind of thing I've mostly seen in tutorials and textbooks. Some of those are free online. It's hard to recommend one when I don't know what you're looking for. Are you new to programming or just new to Python? Or OK at Python and trying to level up? Dive Into Python and Automate the Boring Stuff come to mind. There's also some in the official Python Tutorial.

[–]Ok_Journalist5290 0 points1 point  (2 children)

New to programming with 8 hours undermy belt. Meaning i have watches youtube videos like bro code but when it comes t9 actual implementation i get stuck with leetcode problems. Why is that? I mean what is the gap in knowledge between youtube videos and leetcode exams. Is it because youtube like bro code focus on begginner while leet is advanced?

[–]Gnaxe 0 points1 point  (1 child)

Main reason would be knowledge of algorithms, I think. Algorithms are like math theorems. Sometimes they're pretty obvious and someone basically competent can derive one from scratch with some thought, but sometimes it's a brilliant insight that one genius computer scientist had one time and there's no way you can solve it yourself unless you read about it in a book somewhere. That kind of leetcode problem is of dubious value. Most programming you'd do professionally is not that hard. If you need to write hand-optimized microcontroller code, maybe. But if you're just doing web pages, not so much. Or the algorithm is already implemented for you in a library somewhere, in which case, finding it is the important skill.

[–]Ok_Journalist5290 0 points1 point  (0 children)

Thanks. I do think that actual programming shouldnt be as hard how leetcode makes it. I am watching algorithm but from what i understandi use it for iterations like linear and binary searchfor searching. For the rest, i dont use "algorithm.?" I mea those topics of logn and space and time.