最新数据结构和算法编程的重要性? [英] Whats the importance of data structures and algorithms for programming?
问题描述
可能重复:
我为什么要学习算法?
您好,我是一个好奇的初学者,我不明白的算法和数据结构如何在编程有用。他们是,作为一个优秀的程序员关键?我为什么要学习他们和写作code时,如何真正帮助我吗?
Hello, I'm a curious beginner and I don't understand how algorithms and data structures are useful in programming. Are they crucial for being a good programmer? Why should I learn them and how they actually help me when writing code?
太感谢了!
推荐答案
它们可以帮助你写出高效的code和解决最优或接近最优的方式问题。如果没有他们,你会重新发明轮子 - 并不总是成功。
They help you write efficient code and solve problems in optimal or near-optimal ways. Without them, you will be reinventing the wheel - not always successfully.
此外,它们有助于你在code,这样可以保持更容易被鼓励更好的设计/实施。
Also, they help you structure your code, so that it can be maintained more easily by encouraging a better design / implementation.
这篇关于最新数据结构和算法编程的重要性?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!