If user wants to store data in linear structure then which one is not suitable to implant this logic?
Answers
Answered by
0
Answer:
FIFO
Explanation:
IT must be followed the FIFO technique
Answered by
0
Answer:
Data is stored in a linear form using arrays, linked list, stack, and queue.
Explanation:
Your question is incomplete because no alternatives are presented; nonetheless, we may discuss data stored in a linear format.
What exactly is Linear Structure?
It is a form of of data structure in which data is arranged in a linear pattern. The data items are structured in a linear fashion such that each element is immediately related to the elements before and after it.
List of data structure in a linear type of data structure
- Queue
- A queue is a form of data structure in which the things to be stored in the order of First In, First Out (FIFO).
- The needed operations on the items are performed in the specified sequence.
- The distinction between a queue and a stack is in the removal of an element; in a stack, the most recently inserted object gets removed first.
- In the case of a queue, however, the piece that was added initially gets withdrawn first.
2. Stack
- Another sort of structure is the stack, in which the components stored in the data structure obey the LIFO (last in, first out) or FILO rule (First In Last Out).
- A stack is connected with two sorts of operations: push and pop.
- Push is used to add an element to the collection, whereas pop is used to remove the final piece from the collection.
- Only the most recently introduced element can be extracted.
Similar questions
English,
2 months ago
Math,
2 months ago
Computer Science,
5 months ago
English,
5 months ago
Math,
10 months ago
Social Sciences,
10 months ago
Math,
10 months ago