Prelim Flashcards
____ gives us the possibility to manage large amounts of data efficiently for uses such as large databases and internet indexing services
Data Structure
___ are essential ingredients in creating fast and powerful algorightms. They help in managing and organizing datra, reduce compexity, and increwase efficiency.
Data Structure
___ are the basic data strctures provided by programming languages to represent single values, such as integers, floating-point numbers, characters, and booleans
Primitive Data Structure
____ are higher level data structures that are built using primitive data types and provide more complex and specialized operations. Some common examples of this include arrays, linked list, stacks, queues, trees, and graphs
Abstract Data structure
A set of step-by-step instructions to solve a given problem or achieve a specific goal
Algorithm
Algorithm examples
Finding the fastest route in a GPS navigation system
Navigation an airplan or a car(cruise control)
Finding what users search for (search engine)
___ and ___ go hand in hand.
Data structure | algorithm
What is DSA
Data structure and Algorithm
In Python, ___and ___are the data structures that are used to store multiple items. They both support the indexing of elements to access them, slicing, and iterating over the elements. In this article, we will see the difference between the two
lists |arrays
Accessing element is fast in ____ because they are in a contiguous manner but insertion and deletion is quite expensive because all the elements are shifted from the position of inserting and deleting element linearly.
Python Arrays
Accessing an element in a ____ is the same as an Array because a ____ is actually a dynamic array .
Python List
A ___in Python is an inbuilt collection of items that can contain elements of multiple data types, which may be either numeric, character logical values, etc.
List
It is an ordered collection supporting negative indexing.
List
A list can be created using ____ containing data values. Contents of lists can be easily merged and copied using Python’s inbuilt functions.
[ ]
An ____is a vector containing homogeneous elements i.e. belonging to the same data type
array