Data Structure & Algorithm



I am going to start the complete data structure and algorithm blog series to help the developer community understand the basics and help them become more productive in their work environment. As we all are under lockdown until the next update from the government, I have decided to support my friends and colleague to understand the data structure and algorithm. Let's begin by separating the data structure and algorithm in two terms.
When you hear about data structure, what comes first to your mind. I believe most of you thought of storing any form of data in an efficient way. Yes, You are correct 👍.
Now, Second and the most important term is an algorithm, It is a set of rules to be followed to solve a problem.
To gain more understanding of the data structure and algorithm, let us take an example:-
E.g., We are all going to attend the google conference and they have a single registration desk. If we all reach the registration counter together, to register ourselves. Such a situation could get out of hand for the crew member to handle So, What do you think? What are the respective steps that need to be taken care of by the organizing committee to avoid such a situation?
I hope, everyone is on the same page. There should be a queue system on a first come first serve basis. We analyze the problem and come up with the solution that there must be a queue data structure where each participant will be placed in an organized manner. Now, You have a good understanding of data structure, why do we need it?

                                    iOS Concurrency:Getting NSOperation and Dispatch Queues ...
Let's understand the advantages of data structure in the above example.
  1. Unorganized registration to the organized registration desk.
  2. Processing will be an efficient time.
We will look into the topics further delving into data structure for a deep dive into this specialization.

Comments

  1. Good job keep it up. Please start a series with each type of recursion with detailing like when to use when not.

    ReplyDelete

Post a Comment

Popular posts from this blog

Recursion

Stack