DEV Community

Faudil
Faudil

Posted on

2 2

Algorithms

Hiii, so I want to know that if algorithm and data structure is a theorical or a practical subject which requires practise like learning a programming language!

Top comments (2)

Collapse
 
achimoraites profile image
Achilles Moraites

You can't have any kind of a program without Algorithms and Data structures.

The short explanation:

  • An algorithm is a set of steps in order to complete a task
  • A Data structure is a way to store information

The combination of the above gives us a program.

In order to be able to use them to create efficient , clean code you need to understand what each Algorithm and Data structure does so you can apply it to your own problem to produce a solution.

In summary:

You need both the theory and practice!

Collapse
 
ashokraju105605 profile image
ashokraju105605

completely practical subject.. practise is the best way to go about it..
when you need to make a choice on performance or optimization that is when the theory of big O comes in

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More