DEV Community

Cover image for Data Structures and Algorithms 102: Deep Dive into Data Structures and Algorithms
~Tracy.A.
~Tracy.A.

Posted on

1

Data Structures and Algorithms 102: Deep Dive into Data Structures and Algorithms

Strengths and weaknesses of a data structure can be identified using a mathematical concept known as Big O Notation as discussed earlier on https://dev.to/atukwatsetracy/introduction-to-data-structures-algorithms-10gn.It is a tool used to analyze the cost of an Algorithm.An algorithm may not have the same performance for different types of inputs because its performance changes With the increase in the input size.The study of change in performance of the algorithm with the change in the order of the input size is defined as Asymptotic Analysis.
The 3 mainly asymptotic notations are;

  • Big-O notation:This represents the upper bound of the running time of an algorithm. Thus, it gives the worst-case complexity of an algorithm.
  • Omega notation:Omega notation represents the lower bound of the running time of an algorithm. Thus, it provides the best case complexity of an algorithm.
  • Theta notation:It represents the upper and the lower bound of the running time of an algorithm, it is used for analyzing the average-case complexity of an algorithm.

AWS GenAI LIVE image

How is generative AI increasing efficiency?

Join AWS GenAI LIVE! to find out how gen AI is reshaping productivity, streamlining processes, and driving innovation.

Learn more

Top comments (0)

Some comments may only be visible to logged-in visitors. Sign in to view all comments.

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay