so i have a interview on data structures. i am sure they will ask question on 1d arrays. but what can they ask me?

1.give a array find the max and min value.
2.give a array find avg.
3.sum of all value in array
4....

what else can they ask about 1d array?? or you can give me website which have question on arrays.

Recommended Answers

All 4 Replies

arrays is the minimum of the minimum. there 's a lot more to data structures then that:
check this for instance.

They could ask you about sorting arrays - various algorithms and their advantages/disadvatages

Data structures is an ocean.. There will be something to learn still even after studying so much..
I found this site. Hope it helps.

for which kind of situation which data structure is used?
time complexity of datastructure used instead of other datastrucutre?
and so on...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.