Vidyalelo
Data Structure · Q28

Arrays in Data Structures

Programming · Data Structure · question 28

Q28

What is the best way to find the largest element in an unsorted array?

A.
Sort the array and pick the first element
B.
Iterate through the array and track the largest element
Answer
C.
Use a binary search
D.
Use a hash table

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board