Examveda

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

C. Use a binary search

D. Use a hash table

Answer: Option B


This Question Belongs to Data Structure >> Arrays In Data Structures

Join The Discussion

Related Questions on Arrays in Data Structures