Data Structures | Sololearn: Learn to code for FREE!

0

Data Structures

C++ Can someone please explain to me data structure in simple terms and are there any data structures in this app I can surf on/work

c++

7/13/2021 8:41:39 PM

boba

3 Answers

New Answer

+1

What data structures are and which are common can simply be looked up, e.g.: https://en.m.wikipedia.org/wiki/Data_structure The app has a series of user-made lessons on a variety of them, the simpler ones have (basic) sample implementations in different languages. Here is the introduction: https://www.sololearn.com/learn/773/?ref=app Decent knowledge of pointers and dynamic memory management, maybe templates, will be helpful if you are looking to implement some in C++.

0

But in simple terms I dont like using wikipedia everything is confusing

0

There are two ways of creating data structures in C++. You can use the older C struct keyword or you can use the object oriented C++ class keyword. The Sololearn C++ course does not cover struct but it is covered in the C course in the sections "Structures and Unions" the C++ course covers classes and templates though. Entire books have been written on data structures so a generic "tell me about data structures in simple terms" is not going to get you anywhere. Just keep working your way through the C and C++ courses and you will get to them. Just take it one step at a time and don't try to run before you can walk. When you reach these sections if there is anything specific you do not understand just post a question. The C++ course does not cover the C or C++ standard libraries or standard template library in any detail. The standard template library in particular offers a number of common data structures and algorithms.