C/C++ Introduction to Data Structures in C++

AI Thread Summary
In C++, data structures are categorized into simple and compound types. Simple data structures include arrays and structures, while compound data structures encompass stacks, queues, linked lists, and trees. The CBSE curriculum in India has excluded linked lists from its syllabus, which raises concerns about understanding stacks and queues, as these concepts often rely on linked lists for implementation. However, stacks and queues can also be implemented using arrays of pointers or simple data types, along with head and tail indices. Examples of stack and queue implementations using arrays are available online, demonstrating alternative methods to grasp these data structures without linked lists.
sukalp
Messages
53
Reaction score
2
In C++ we have 2 types of data structures :-
1)simple data structure
so array and structure come in simple data structure group
2)compound data structure
so stack,queue,link list,tree come in compound data structure group.

In Indian board CBSE data structure linked list is not included it is out of syllabus so it has been deleted.
so when we study stack,queue in c++
we should know linked list in c++.
or
without linked list we will not be able to understand stack,queue
 
Technology news on Phys.org
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I have a quick questions. I am going through a book on C programming on my own. Afterwards, I plan to go through something call data structures and algorithms on my own also in C. I also need to learn C++, Matlab and for personal interest Haskell. For the two topic of data structures and algorithms, I understand there are standard ones across all programming languages. After learning it through C, what would be the biggest issue when trying to implement the same data...
Back
Top