Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Do people still write their own data structures and algorithms?

Tags:

Instead of the STL and similar libraries in other languages?

As a newbie, how much should I delve into this part of software development? Breadth first or depth?

Is only a conceptual understanding necessary these days? Or should I be able to implement a doubly linked list blindfolded?

like image 629
devilcrack Avatar asked Feb 22 '10 23:02

devilcrack


People also ask

Are data structures and algorithms obsolete today?

Data structures are not obsolete. Because it is the foundation of machine learning. We use so many data structures as part of machine learning and deep learning too. It is not true that data structures and algorithms are outdated and replaced by Machine learning.

Are data structures and algorithms used in real life?

DSA has great importance in the recruitment process of software companies as well. Recruiters use DSA to test the ability of the programmer because it shows the problem-solving capability of the candidate.

Do programmers actually use data structures?

Data structures are being used in almost every program or software system that has been developed. Moreover, data structures come under the fundamentals of Computer Science and Software Engineering. It is a key topic when it comes to Software Engineering interview questions.

Is data structures and algorithms really hard?

Data Structures and Algorithms are generally considered two of the hardest topics to learn in Computer Science. They are a must-have for any programmer. I don't mean to scare you, but it's going to take a lot of time and effort to master these topics.


1 Answers

While no one really rolls their own stacks or queues anymore, it -is- very important to understand how and why they are different. So no, to use simple data structures effectively, it's not 100% necessary to be able to do all the proper error checking for loops/null tail/concurrency/etc in a linked list while blindfolded.

However, while the simplest data structures aren't rewritten over and over, trees and graphs are often still custom rolled, and you probably won't be able to do anything with those without understanding more basic data structures.

Also, these often fall under 'interview questions', so they're worth knowing how to do even if you don't actually rewrite a doubly linked list in live code.

like image 167
Tanzelax Avatar answered Oct 18 '22 06:10

Tanzelax