Divide and conquer strategy
Backtracking approach
Heuristic search
Greedy approach
A. Divide and conquer strategy
Queue
Stack
List
None of the above
Arrays
Records
Pointers
None
Sorting
Merging
Inserting
Traversal
tables arrays
matrix arrays
both of above
none of above
Traversal
Search
Sort
None of above
Tree
Graph
Priority
Dequeue
The list must be sorted
there should be the direct access to the middle element in any sublist
There must be mechanism to delete and/or insert elements in list
none of above
Data
Operations
Both of the above
None of the above
the name of array
the data type of array
the index set of the array
the first data from the set to be stored
Breath first search cannot be used to find converted components of a graph.
Optimal binary search tree construction can be performed efficiently using dynamic programming.
Given the prefix and post fix walks over a binary tree.The binary tree cannot be uniquely constructe
Depth first search can be used to find connected components of a graph.
underflow
overflow
housefull
saturated
Lists
Strings
Graph
Stacks
Arrays
Linked lists
Both of above
None of above
Dynamic programming
Greedy method
Divide and conquer
Backtracking
Abstract level
Implementation level
Application level
All of the above
Best case
Null case
Worst case
Average case
When Item is somewhere in the middle of the array
When Item is not in the array at all
When Item is the last element in the array
When Item is the last element in the array or is not there at all
Arrays
Records
Pointers
Stacks
Operations
Algorithms
Storage Structures
None of above
Application level
Abstract level
Implementation level
All of the above
16
12
6
10
Stack
Queue
List
Link list
Trees
Graphs
Arrays
None of above
Linked lists
Stacks
Queues
Deque
O(n)
O(log )
O(n2)
O(n log n)
must use a sorted array
requirement of sorted array is expensive when a lot of insertion and deletions are needed
there must be a mechanism to access middle element directly
binary search algorithm is not efficient when the data elements are more than 1000.
Much more complicated to analyze than that of worst case
Much more simpler to analyze than that of worst case
Sometimes more complicated and some other times simpler than that of worst case
None or above
FAEKCDBHG
FAEKCDHGB
EAFKHDCBG
FEAKDCHBG
by this way computer can keep track only the address of the first element and the addresses of other elements can be calculated
the architecture of computer memory does not allow arrays to store other than serially
both of above
none of above
Arrays
Records
Pointers
None