Data Structures and Algorithms

What are Data Structures?

Data Structures are essentially the way of storing the data, array, is one of such data structures. There can be more complex data structures like linked lists, stacks and so on and so forth.
Learning Data Structures and algorithms will allow you to save your execution time and also enable you to go beyond arrays to save your data. 
Computer programming is all about managing data, your ability to store data and use it without using too much of execution time will show how good you are at programming.
Imagine you want to store data for Facebook and want to maintain a record of who is a friend of whom, using a two-dimensional array will work, the rows and columns represent the users and the cell corresponding to two friends will be filled with one, all else with a zero. 
But is it an efficient way to store that data? No, it is not, can we use other data structure to store the same data in a more efficient manner? Yes.

Learning data structures will enable you to look beyond the data structures your language offers, and who knows someday you create a new data structure.

No comments:

Post a Comment

Installing albert on ubuntu 19.04

Installing Albert on Ubuntu 19.04... Albert is not still released for ubuntu 19.04. But still, you can install it using the following ...