A Prologue to Data Structure Algorithm.

Neha Shaikh
A prologue
Published in
2 min readOct 24, 2019

--

We have started our new course that is Data Structure Algorithm.Our starting lectures covered the essential information that every programmer must need to know about algorithms and data structures.Our teacher has taught us numerous things but in this article I would mainly focus on the gist of Data Structure Algorithm.

What is Data Structure?

Data Structure is basically a way of storing and organizing data in a computer so that it can be used efficiently.

Data structure is usually presented in form of a diagram explaining how and what data is to be stored. Depending on the context of your question, a better answer could be formulated. If you are asked about providing data structure from a software company or individual, you just need to provide exactly what information you need to have stored (e.g employees with names and phone numbers, wages,working hours etc).

Another one

Data Structure are “structures” or systems which can be used to store, process and retrieve data.
Example: Array, List, Queue , Tree etc.

Moving towards Algorithm,

What is Algorithm?

It is the step by step procedure designed to perform an operation and which(like a map or flowchart) will lead to the sought result it followed correctly.

Like in our Today’s class Sir asked us to write an Algorithm for performing several operations on an Array. He asked to print the index of highest number of the array which we are declaring and initializing. In order to meet the demands we wrote the algorithm of the code first that we recall the respective algorithm and just implement that in our code.

Algorithm is a logical step to solve the problem that can be in any language.

Here a question may arrive that WHY TO LEARN DATA STRUCTURE AND ALGORITHM?

Understanding data structures and algorithms might seem unnecessary in an age where you’ll be using library functions for 90% of your coding. Why then should you bother to learn the the implementation, when the implementation is hidden from you behind an abstraction?

There are several answers…

You must learn data structures and algorithms, so that you understand the logic behind the behavior of these abstractions. If you don’t, you will eventually apply them in a way that will tease you.

Understanding algorithms lets you understand the problems those algorithms were built to overcome. That understanding will help you immensely in your day-to-day Work, because those problems are basic logic and computer science problems that pop up everywhere, no matter if you’re working on business software, hardware drivers, games or mobile apps.

You need to understand algorithms and data structures because I’ve seen code written by people who didn’t and trust me, you don’t want to be form those.

ALSO,

As applications are getting complex and data rich,there are three common problems that applications face now a days.

__ Data Search

__Processor Speed

__Multiple request

In order to overcome mentioned problems, Data Structures came to rescue with the specific Algorithm…..

“If you enjoyed this blog or I saved your time,Please support by spreading the word”.

Your feedback is highly appreciated.

--

--