What is Data structure?
In computer science, a data structure is a particular way of organizing and storing data in a computer so that it can be accessed and modified efficiently. More precisely, a data structure is a collection of data values, the relationships among them, and the functions or operations that can be applied to the data.
What does abstract data type mean?
Abstract data types are mathematical models of a set of data values or information that share similar behavior or qualities and that can be specified and identified independent of specific implementations. Abstract data types, or ADTs, are typically used in algorithms.
Difference between Stack and Array?
an array is random access and everything's referenced to the beginning of the array.
In a stack, you can only add/remove at the working end of the stack, but you still have random access read but it's referenced to the working end. That's the fundamental difference.
Recursive definition?
Which defines an Object in terms of simpler cases of itself is called Recursive Definition.
In computer science, a data structure is a particular way of organizing and storing data in a computer so that it can be accessed and modified efficiently. More precisely, a data structure is a collection of data values, the relationships among them, and the functions or operations that can be applied to the data.
What does abstract data type mean?
Abstract data types are mathematical models of a set of data values or information that share similar behavior or qualities and that can be specified and identified independent of specific implementations. Abstract data types, or ADTs, are typically used in algorithms.
Difference between Stack and Array?
an array is random access and everything's referenced to the beginning of the array.
In a stack, you can only add/remove at the working end of the stack, but you still have random access read but it's referenced to the working end. That's the fundamental difference.
Recursive definition?
Which defines an Object in terms of simpler cases of itself is called Recursive Definition.
0 Comments