1.

What is a sorted array?(a) Arrays sorted in numerical order(b) Arrays sorted in alphabetical order(c) Elements of the array are placed at equally spaced addresses in the memory(d) All of the mentionedThis intriguing question comes from Parallel Array in division Arrays Types of Data Structures & Algorithms IThis question was posed to me in an internship interview.

Answer»

Correct ANSWER is (d) All of the mentioned

To explain: The ARRAY can be sorted in any way, numerical, ALPHABETICAL or any other way but the ELEMENTS are PLACED at equally spaced addresses.



Discussion

No Comment Found

Related InterviewSolutions