Why Data Structures and Algorithms?

548 views

I mean yes, it sounds dumb. But I recently got into programming, and with regular miniscule effort I have been able to grasp a good knack of concepts on programming. It has been a week sincr I started learning Data Structures and Algorithms, and every place or site I visit, I get recommended to master the concepts of this particular subject. Why is DSA so important in programming?

In: Other

2 Answers

Anonymous 0 Comments

In computing, there are many ways to arrive at the same result but each different way has different computational complexities, memory requirements, time consistencies and security risks.

By understanding algorithms, you’ll know the right tools for the particular job you have in front of you, it will give you the ability to predict and diagnose problems with your program and also the basis to create your own algorithms.

Optimizing algorithms for a specific task can be incredibly rewarding. Cryptominer algorithms are a good example – the speed difference between when they were first created and now is over 1000x on the same hardware and still improving. Cryptonote specifically was never thought to be viable on anything but an x86 CPU due to its engineered affinity for using a fast and large cache, just a year later it was running a million times quicker on GPU’s which have really tiny caches and a few years later, it was running a further million times faster on ASIC’s with no memory at all.

You are viewing 1 out of 2 answers, click here to view all answers.