answersLogoWhite

0


Best Answer

A linear array is a not a non-linear array

User Avatar

Wiki User

2013-05-14 11:18:00
This answer is:
User Avatar
Study guides

What is a programming language

What does DOS stand for

What is a software that is distributed for free

What do unix and Linux have in common

➡️
See all cards
3.91
54 Reviews

Add your answer:

Earn +20 pts
Q: What is linear array?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the size of an linear array?

depends on the number of elements and their datatype present in the array.


What is linear data?

Linear data is the data that can be traversed sequentially like list and array.


Why array is called as linear data structure?

it is called linear ds because the memory allocation of the data in array is contiguous unlike list and trees.the memory is alocatted initially and the elements are fed into it in a linear order till the limit of array is encountered.insertion in between is not possible.


Difference between linear search and binary search?

in liner search the array is not mandatory to be a sorted array,but in binary search the array must be a sorted array.


What is the running time of a linear search of an array?

Running time of a linear search is O(n)


What do an array and a stack have in common?

Both are linear data structures.


Explain linear search with an example?

Sequential search of an object with in an array of objects is called as linear search.


What is Linear and non linear list in data structure?

Linear : Traversal is linear .. ex: array,linked lists,stacks,queues NoN-linear: Traversal is not linear.. ex:trees,graphs imagine the situation of searching of particular element..in above scenarious..then u will understand easily.. Linear : Traversal is linear .. ex: array,linked lists,stacks,queues NoN-linear: Traversal is not linear.. ex:trees,graphs imagine the situation of searching of particular element..in above scenarious..then u will understand easily.. Linear : Traversal is linear .. ex: array,linked lists,stacks,queues NoN-linear: Traversal is not linear.. ex:trees,graphs imagine the situation of searching of particular element..in above scenarious..then u will understand easily..


What is the purpose of a linear array in descriptive essay writing?

To increase knowledge on a topic


What is the simplest search technique to use to find an item in an array?

Linear search


Program to search elements in array?

linear search array for key and return index of firstoccurrence.intfindInteger(int array[], int asize, int key) {int* p = array;while (asize-- && *p != key)++p;return p - array;}


What is linear data structure?

A linear data structure is one in which, while traversing sequentially, we can reach only one element directly from another. Eg- Linked List, Array.2D array, though seems to be non-linear, is actually linear data structure. This is because memory is single dimensional and when it is stored in the memory it is stored as a single dimension array in either row-major or column-major format. Similarly all multi-dimensional arrays are also linear, for the same reason.

People also asked