What Are Data Structures and Why They Matter
Know about Data Structures is important to decide how to and which method use data and known how to be more efficient our algorithm. Actually, I think and say that data structures are secret hero of algorithms. Write and share my knowledges are important in terms of go back years later analyze myself by reread this article.
Now at this article, I will tell about why we use data structures and the efficiency measurement techniques of the algorithm. I would like to elaborate on these issues and write types of data structures in other articles. So let’s start.
Firstly, we should talk about data and importance of data. Data is generally a arranged piece of information on a specific subject. We use these data to create a complete result by manipulating them with calculations or different techniques. If exemplify is necessary, briefly, everything that includes small information about anything. We can give many examples of these; words when you talk or steps when you walked or song which you like listen or bla bla, many things. Data is the most important thing in computer science.
Now let’s talk about our algorithm. Algorithm is a set of instructions that we apply step by step while reaching the solution of a problem. In fact, if we think simple, we explain our algorithm we have created in our own language , we call Pseudocode , to the computer by encoding it with programming languages. Considering that the computer works with/without electricity, we can assume that computer is actually a person with no knowledge and understanding. For these reason, we should build our algorithm more simple and efficient in terms of memory and speed. We call these Time Complexity to measure the speed efficiency of the algorithm, and Space Complexity to measure the memory efficiency.
I will conclude this article here and continue with Time and Space Complexity in the next article. Thank you for reading.
Image =>https://beginnersbook.com/wp-content/uploads/2018/10/DS_Classification.jpg