FDM Group Interview Question: If you were given an unsorted... | Glassdoor

Interview Question

Java Developer Interview New York, NY

If you were given an unsorted array and you were looking

  for a specific element, how would you go about finding it?
Answer

Interview Answer

1 Answer

0

Given that the array is unsorted, the best you can really do is go through it index by index from the beginning until you find the element that you are searching for.

Interview Candidate on Aug 15, 2015

Add Answers or Comments

To comment on this, Sign In or Sign Up.