DSA is a wide topic and has its implementation in various fields.Here we can understand the usage of Data structures in project development.
Arrays
Arrays are the simplest data structures that stores items of the same data type. A basic application of Arrays can be storing data in tabular format.
Applications of arrays for project development are as follows:
1.Arrangement of leader-board of a game can be done simply through arrays to store the score and arrange them in descending order to clearly make out the rank of each player in the game.
2.A simple question Paper is an array of numbered questions with each of them assigned to some marks.
Linked List
A linked list is a sequence data structure, which connects elements, called nodes, through links.
Applications of linked lists for project development are as follows:
1.Images are linked with each other. So, an image viewer software uses a linked list to view the previous and the next images using the previous and next buttons.
2.Web pages can be accessed using the previous and the next URL links which are linked using linked list.
3.The music players also use the same technique to switch between music.
Stacks
A stack is a data structure which uses LIFO order.
Applications of stack for project development are as follows:
1.Syntaxes in languages are parsed using stacks.
2.It is used in many virtual machines like JVM.
3.Forward – backward surfing in browser
4.History of visited websites
Queue
A queue is a data structure that uses FIFO order.
Applications of queue for project development are as follows:
1.To handle congestion in networking queue can be used.
2.Data packets in communication are arranged in queue format.
3.Sending an E-mail, it will be queued.
4.Uploading and downloading photos
Informative content for Engineering student
ReplyDelete