30 Days of Data Structure learning

Day 1

Holla People!

I started a 30 days of data structure learning journey and thought it would be cool to document my daily learning and share it with you, so here is how day 1 of my #30daysofDataStructure.

I'm sure Data Structure is one of the first things new programmers are advised to study when they begin their journey into programming, and you may wonder why. Why should you learn data structure, and why is it so important?

Data structures goes through solutions to common problems in-depth and provides an understanding of how effective each one is to use. Learning and understanding various data structures will help you to come up with efficient and optimized solutions.

What is Data Structure?

Data structure is a method of organizing data in a computer that allows it to be used effectively. Simply put, data structure allows you to store and manage data. The Different Data Structure Types Data Structures come in a variety of types, and I'm sure you're wondering why we need so many. The short answer is that different tasks necessitate different data structures. Basically, data structures are divided into two catergories which includes:

  • Linear data structure

  • Non-linear data structure

Linear data structure elements are arranged sequentially one after the other, and because they are arranged in a specific order, they are simple to implement. However, as the program's complexity grows, linear data structures may not be the best choice due to operational complexities. Linear data structure includes Array, Stack, Queue, Linked-list.

Non-linear data structure elements unlike the linear data structure have no sequence. Instead, they are arranged hierarchically, with one element connected to one or more other element. Non-linear data structure includes Graph, Tree.

Other built-in types of data structure in javascript includes: Set, Object, Map.

That's all for my first day of learning; I hope you learned something and enjoyed reading this article. Stay tuned for Day 2 and let's continue the learning together!

LIKE, COMMENT, AND SHARE with anyone who you think will benefit from it. Love and Light!