COMPUTER SCIENCE AND ENGINEERING
DATA STRUCTURES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Tuple
|
|
List
|
|
String
|
|
2d List
|
Detailed explanation-1: -When we think of data structures, there are generally four forms: Linear: arrays, lists. Tree: binary, heaps, space partitioning etc. Hash: distributed hash table, hash tree etc.
Detailed explanation-2: -Some user-defined data structures in python are stacks, queues, trees, linked lists, graphs, hashmaps. List is a built-in data structure in python that stores the data in sequential form. The dictionary is also a built-in data structures in python that stores data in the form of key-value pairs.
Detailed explanation-3: -The four basic data structure types are linear data structures, tree data structures, hash data structures and graph data structures.
Detailed explanation-4: -Some examples of Data Structures are Arrays, Linked Lists, Stack, Queue, Trees, etc. Data Structures are widely used in almost every aspect of Computer Science, i.e., Compiler Design, Operating Systems, Graphics, Artificial Intelligence, and many more.