Computer Science, asked by sakshi32181, 1 year ago

whit is the output if list of item having same data item which is to be searched​

Answers

Answered by davidclowdus
3

Answer:

i dont know for shure but its a

Explanation:

a

Answered by mad210202
2

Answer:

The output if list of item having same data item is to be searched is based on its order and preference.

Explanation:

If list of item contain 5 items in which two are same, and other are different.

Example:  5, 4, 7, 8, 4

The Number is to be searched is 4.

On searching in list, It first put all item in stack and then search through pop and push method.

Number 4 occur at second position and fifth position, while on searching it goes from 1st item to 5th where it find 4 at nearest position, it searches it and shown 4 of second place.

Similar questions