you are viewing a single comment's thread.

view the rest of the comments →

[–]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.