Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

example of linear and non-linear data structures?

Answer Posted / sirsendu chakraborty

The data structure is said to be a Linear data structure if
its elements are in sequence and form a linear list.
Ex. Arrays, Stacks, Queues,Linked Lists.

If the elements of data structure do not form a sequence or a
linear list then that type of data structure is called as Non-
Linear data structure.
Ex. Trees, BST(Binary Search Trees) etc.

Is This Answer Correct ?    300 Yes 21 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define a path in a tree?

905


Describe binary tree and its property.

862


Define root?

910


Why would we use dynamically allocated arrays vs vectors?

823


Which sorting is worst?

932


Why hashtable is faster than arraylist?

892


What is stack algorithm?

807


Why do we need arrays if all the operations that are performed on arrays can be performed on arraylist?

797


Does arraylist maintain order?

862


Which is better hashmap or hashtable?

857


Define a linear data structure.

990


What does arraylist remove do?

932


How does quick sort work?

873


Why using cookie to store session info is a better idea than just using session info in the request?

878


What is array and its types in data structure?

887