DSA Types
DSA is all about the methods for organizing and storing data and the design of procedures/functions/algorithms for solving problems.
DSA consists of two parts:
In this continuation blog, I will focus on Data Structures and different types.
The definition for Data Structures can be explained as "The study of storing and organizing data in computers." It is a way of arranging data on a computer to be accessed and updated efficiently. That simplifies the processing, retrieving, and storing data on digital platforms. The idea is to reduce the space and time complexities of different tasks.
Data Structures can be divided into 2 types: Primitive and Non-primitive Data Structures
Primitive data structures are simplest form data types, supported by computer systems. These can be assumed as built-in types. These can hold a single value with specific data type.
Non-primitive data structures are complex data types. These can hold multiple values. Assume these as user-defined types.
Non-primitive are further classified into 2 types:
领英推荐
Linear Data Structure are the data structures in which data elements are arranged sequentially or linearly, where each element is attached to its previous and next adjacent elements.
These can be treated as Static or Dynamic types.
Static data structures has a fixed memory size. It is easier to access the elements in a static data structure.
Dynamic data structures do not have a fixed memory size. It can be randomly updated during the runtime which may be considered efficient concerning the memory (space) complexity of the code.
Non-linear Data Structure are the data structures where data elements are not placed sequentially or linearly. Here all the elements cannot be accessed/traversed in a single run in a non-linear data structure.
Finally a tree diagram to summarize the different Non-primitive data structures.
Explore each of these data strcutures and learn which type of data structure will suite your requirements for effective and optimized programming.
Exploratory Data Analysis,Visualisation &Preprocessing with Python| MySQL | Extraction, Transformation, Modelling, Visualisation, Publishing & Communicating Insights with PowerBI | Upskilling inAI&Machine learning
6 个月Thank you for this sir, this got me started in learning DSA . Hoping you would continue updating your vlog series on DSA. Currently learning this along side my regular PDS modules .
??15x LinkedIn Community Voice Badge Holder | Data Scientist | AI, ML, DL & Data Engineer | Python Developer | Data Analyst | Business Intelligence Analyst |??Achieved 100% Accuracy |??Follow For Insights & Strategies
7 个月Sharat Manikonda Insightful ?? Thank you for sharing this ???? Keep going higher ?? #opentowork #opentoconnect Let's connect ?????
Senior Data Scientist at Innodatatics
7 个月Helpful information