3.
Please create a program in Java that will read through a file of 25 words(one of them being Waldo) and will store them in an array. The program should have two types of search (sequential and binary search). Use .equals() to find Waldo and System.nanoTime to find the time it took each of the methods to find Waldo. After that, print both times and in a separate line print which method was the fastest.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here