Home/data structure interview questions/Page 3
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Explain the postfix expression.
In a postfix expression, the operator is fixed after the operands. Some examples are: B++ (i.e. B+B) AB+ (i.e. A+B) ABC*+ (i.e. A+B*C) AB*CD*+ (i.e. A*B + C*D)
In a postfix expression, the operator is fixed after the operands. Some examples are:
What are the various operations that can be performed on a data structure?
The following are the operations that can be performed on a data structure: Deletion: Deleting an existing element from the data structure. Insertion: Adding a new element to the data structure. Searching: Find the location of an element, if it exists, in the data structure. Sorting: Arranging elemeRead more
The following are the operations that can be performed on a data structure:
What is the difference between file structure and storage structure?
File Structure: A hard disk or external device (such as a USB), stores data that remains intact till manually deleted. Such data representation into secondary or auxiliary memory is called a file structure. Storage Structure: In this type of structure, data (variables, constants, etc.) are stored inRead more
What are the applications of data structures?
Some practical applications of data structures are: Storing data in a tabular form. For example, the contact details of an individual can be stored in arrays. Arrays are widely used in image processing and speech processing. Music players and image sliders use linked lists to switch between items. ARead more
Some practical applications of data structures are:
How does a linear data structure differ from a non-linear data structure?
If the elements of a data structure form a sequence or a linear list then it is called a linear data structure. Non-linear data structures are those in which the traversal of nodes is done non-linearly. Arrays, linked lists, stacks, and queues are examples of linear data structures, while graphs andRead more
If the elements of a data structure form a sequence or a linear list then it is called a linear data structure. Non-linear data structures are those in which the traversal of nodes is done non-linearly.
Arrays, linked lists, stacks, and queues are examples of linear data structures, while graphs and trees are examples of non-linear data structures.
See less