記憶度
4問
11問
0問
0問
0問
アカウント登録して、解答結果を保存しよう
問題一覧
1
is a special format for storing and organizing data.
Data Structure
2
2 Classification of Data Structures
linear and non linear
3
Elements that are accessed in a sequential order but may be stored unsystematically.
linear
4
Elements are stored and accessed in non-sequential order.
Non Linear
5
What is ADT
abstract data type
6
Two parts of ADT
Public/External and Private/Internal
7
stores elements where each is a separate object
linked list
8
ordered list in which insertion/deletion are done at one (1) end
stack
9
ordered list in which insertion/deletion are done at separate ends.
queue
10
hierarchical nature of a structure in graphical form
tree
11
collection of elements that do not have to be in order
set
12
a set of vertices and set of links which connects that pair of vertices
graph
13
used for retrieving either minimum or maximum element
priority queue
14
a partially sorted binary tree
heap
15
a set of ordered pairs with elements known as key value
map
16
4 main operations that could be define for each ADT
initializing,adding,accessing and removing
17
is a step-by-step set of instructions to be executed in sequence for solving a problem.
algorithm
18
An algorithm must terminate after a specified number of steps.
finiteness
19
Each instruction has to be clear and unambiguous.
definiteness
20
An algorithm should have zero or more well-defined data given before the algorithm begins.
input
21
An algorithm must have one (1) or more results, with specified relation to the input.
output
22
The result of each step depends on the input and/or the result of the previous step.
uniqueness
23
repeating an action multiple times
iterations
24
when a function calls itself once or multiple times to solve a problem
recursion
25
breaking a problem into smaller subproblems
divide and conquer
26
always chooses the optimal approach in solving a problem
greedy algorithm
27
similar to divide and conquer except that the results of the subproblems are reused for overlapping subproblems
dynamic programming