如果你想成为一个Java / C ++程序员,是否必须学习数据结构? [英] Is it compulsory to learn about Data Structures if you want to be a Java/C++ programmer?

查看:170
本文介绍了如果你想成为一个Java / C ++程序员,是否必须学习数据结构?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

那么我真的需要了解他们吗?是不是有一个有趣的方式来了解堆栈,链表,堆等等?我发现它是一个无聊的主题。

So do I really need to learn about them ? Isn't there an interesting way to learn about stacks, linked lists, heaps, etc ? I found it a boring subject.

**发布此问题时,它显示一些警告。我不允许张贴这样的问题吗?管理员请澄清,我会删除它:/

**While posting this question it showed some warning. Am I not allowed to post such a question ? Admins please clarify and I will delete it :/

警告::您问的问题似乎是主观的,可能会被关闭。

Warning :: The question you're asking appears subjective and is likely to be closed.

好吧,我得到它
那么什么是最好的方式来学习他们?我推荐哪本书?什么网站?

okay..I get it So what is THE best way to learn them ? What book do I refer ? What website ?

推荐答案

如果你想成为一个程序员,了解数据结构是必须的。如果你不理解至少基本结构(数组,链表,堆栈,队列)的行为,使用和运行时复杂性(大O),数据结构就是你的面包 - ,树(二进制/ n元,自平衡变量),哈希表,堆,图)和运行它们的算法(插入/定位/删除),你不知道哪些是适合使用情况。

It's compulsory to learn about data structures if you want to be a programmer. Data structures are your bread-and-butter - if you don't understand things like the behavior, uses, and run-time complexity ('big-O') of at least the basic structures (arrays, linked lists, stacks, queues, trees (binary / n-ary, self-balancing varietes), hash-tables, heaps, graphs) and the algorithms that run on them (insert / locate / delete), you won't know which is appropriate to use under what circumstances.

每笔交易都有其工具;这些都是我们的。数据结构是你将要学习的几乎任何算法的最基本的基础。除非您希望成为货运网络程序员,否则您需要了解他们如何工作。

Every trade has its tools; these are ours. Data structures are the most basic underpinnings of almost any algorithm that you're going to learn. Unless you want to be a cargo cult programmer, you need to understand how they work.

是否有有趣的方式了解它们是一个完全独立的问题... :)

Whether or not there are interesting ways to learn about them is a separate question entirely... :)

这篇关于如果你想成为一个Java / C ++程序员,是否必须学习数据结构?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆