2 ms·
Depends on what you mean by bad (how bad it is). It is definitely good to know basic algorithms and it is useful to learn to think that way. Ability to write co
by watwut 8y ago
Depends on what you mean by bad (how bad it is). It is definitely good to know basic algorithms and it is useful to learn to think that way. Ability to write code quickly is good too.
However, note that people who are good at competition literally trained writing common algorithms fast - there is zero value in that. I knew people who could write graph search with closed eyes in various vatiations and that made them save time in competition. That is irrelevant anywhere else. They also learn and train a lot more and harder algorithms - there is some but still little value in that unless you like it.
Tldr; if you struggle with algorithms 101 (binary tree, graph search, minimal path, etc), then it is good to learn them. If you are very slow, it is good to practice to become faster. Anything else is hobby/interest - do it if you like it, do it if you want to do it in the future.
Ability to write readable code actually valuable.