|
|
|
|
|
|
|
|
Introduction to Data Structure |
|
|
|
|
|
|
|
|
|
|
5. Consider the stack NAME in fig 1.01, which is stored alphabetically.
- Suppose Nirmal is to be inserted in to the stack. How many name must be moved to the new location?
- Suppose Sourav is to be deleted from the stack. How many names must be removed to the new location?
|
|
|
|
|
|
|
|
|
|
6. The following is a tree structure given by means of level numbers as discussed below:
01 Employee 02 Name 02 Emp. Code 02 Designation 03 Project Leader 03 Project Manager 02 Address
Draw the corresponding tree diagram.
|
|
|
Prev |
|
|