Write a program that implements a recursive search of a


Question: Write a program that implements a recursive search of a sorted list of strings. Your program should include a recursive method that determines whether or not a given String is present within a sorted array (or, if you choose, an ArrayList) by searching successively smaller segments of the list. Include a test driver that prompts the user for strings to be searched. The user should enter one string per line, with an empty line indicating the end of the series. After the sorted list of strings has been entered, the program should prompt the user for a search string. The program should then print a message stating whether or not the search string was found in the list, the total number of strings in the list, and the number of comparisons made while looking for the search string.

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Write a program that implements a recursive search of a
Reference No:- TGS02318922

Expected delivery within 24 Hours