## Submitted Questions

• #### Advantage of avl tree over binary search tree.

What is advantage using avl tree instead of using binary search tree ?

#### simran

• Nov 23rd, 2016

In BST, the time complexity of search operation (average case) is taken to be O(log n). But in the worst case, i.e the degenerate trees/skewed trees time complexity of search operation is O(n) which c...

#### kirubasri

• Sep 8th, 2015

Better search times for keys

• #### Pointer Use

Why do we use pointer instead of variable?

#### jbode

• Sep 30th, 2010

We *must* use pointers for the following:1. To fake pass-by-reference semantics;2. To track dynamically allocated memory;3. To build self-referential data structures.If we want a function to modify...

#### Cmkraj

• Sep 15th, 2010

List of pros & cons of pointers over variables1. Fetching speed is faster thru pointers as pointers directly access the memory2. Useful in the concepts of pass by reference. variable value can be chan...

• #### Pointer Drawback

What is the drawback of using pointer?

#### abhijeetvv

• Dec 11th, 2012

Since the pointers point to a memory location issues of dangling pointers and wild pointers can occur. Dangling pointers are those pointers when the data at which they are pointed may have been modifi...

Is double link list a linear data structure? If Yes, Why?If No, Why?

#### snyder

• Mar 13th, 2012

If every element in a DS has almost two adjacent neighbors then it is called a linear DS. . . Hence doubly linked list is a linear DS

#### snyder

• Mar 7th, 2012

To check if a DS is linear or not just do a simple test . . . check if the data elements of the given DS can be accessed in a sequential manner, if it can, then its a linear DS.

A doubly linked list can be accessed in a sequential manner, hence it is a linear linked list.

#### Sandhya.Kishan

• Apr 27th, 2012

There are primitive data types but not primitive data structures.
Primitive data types are predefined types of data, which are supported by the programming language. For example, integer, character, and string are all primitive data types.