A COMPARATIVE STUDY OF VARIOUS SORTS OF DATA STRUCTURES

Page 1

e-ISSN: 2582-5208 International Research Journal of Modernization in Engineering Technology and Science Volume:03/Issue:05/May-2021 Impact Factor- 5.354 www.irjmets.com

A COMPARATIVE STUDY OF VARIOUS SORTS OF DATA STRUCTURES Aryan Singh Chauhan*1 *1Independent, Computer Science & Engineering, Prayagraj, Uttar Pradesh, India.

ABSTRACT There are many subjects in computer science from simple basic programming, web development, data science to popular AI/ML. But the one thing still acts as a foundation of computer science, Data Structures are widely used in every field which is still popular and the ever-green field of computer science attracted much research. This research paper intends to compare some commonly used data structures used to this date. And raising some aspects like time and space complexities of the data structures mentioned below. And understanding the concept of data structures. Keywords: Data Structures, Computer Science, Space Complexities, Time Complexities, Linear Structure, NonLinear Structure.

I.

INTRODUCTION

Data Structures is a specific way of organizing, managing, and storing data in Computer(Memory) to retrieve data efficiently. More specifically, A data structure is a group of values, relationships among them, and operations applied to the data. Numerous data structures have been developed by now this includes arrays, binary trees, binary search trees, heaps, hash, queue, linked lists, double linked lists, matrix, graph, and so on. Every data structure is different because every structure stores data at distinct time and memory allocation techniques. There are 2 primary sorts of data structures: 1.Linear: These are the categories of data structures that store data linearly, in memory. Here the thought is to minimize the space and time complexities of various jobs. Some common linear data structures include Array, Linked Lists, Stack & Queue. 2.Non-Linear: These data structures don’t store data in a very set sequence i.e. it does not have a collection within a sequence of connection of all its elements and every element can have multiple ways to connect to other elements. These carry multi-level storage and often cannot be transferred in one go.

II.

METHODOLOGY

So for comparison, our methodology will consist of: Introduction of All Data Structures Representation It will be subdivided into 2 sections: 1. Declaration in C 2. Memory Representation Time Complexities of various Operations

III.

MODELING AND ANALYSIS

Array An array is a finite set of zero-indexed contiguous memory locations. The main idea here is to keep many items of the same type together. Based on the language array can be of 2 types: 1.Homogenous (Which can only store the same type of data)ex: C, Java, Swift 2.Heterogenous (Can Store The Values of Different Data Types)ex: Python, JavaScript. Making it easier to calculate the position of every element by adding a value to an initial value i.e. each element in the array can be accessed through an index key. Important terms in an array are: www.irjmets.com

@International Research Journal of Modernization in Engineering, Technology and Science

[3011]


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.