/* ***************************************************************************** * Name: * NetID: * Precept: * * Partner Name: * Partner NetID: * Partner Precept: * * Hours to complete assignment (optional): * **************************************************************************** */ Programming Assignment 3: Autocomplete /* ***************************************************************************** * Describe how your firstIndexOf() method in BinarySearchDeluxe.java * to find the first index of a key that equals the search key. **************************************************************************** */ /* ***************************************************************************** * Identify which sorting algorithm (if any) that your program uses in the * Autocomplete constructor and instance methods. Choose from the following * options: * * none, selection sort, insertion sort, mergesort, quicksort, heapsort * * If you are using an optimized implementation, such as Arrays.sort(), * select the principal algorithm. **************************************************************************** */ Autocomplete() : allMatches() : numberOfMatches() : /* ***************************************************************************** * What is the order of growth of the number of compares (in the worst case) * that each of the operations in the Autocomplete data type make, as a * function of the number of terms n and the number of matching terms m? * * Recall that with order-of-growth notation, you should discard * leading coefficients and lower-order terms, e.g., m^2 + m log n. **************************************************************************** */ Autocomplete(): allMatches(): numberOfMatches(): /* ***************************************************************************** * Known bugs / limitations. **************************************************************************** */ /* ***************************************************************************** * Describe whatever help (if any) that you received. * Don't include readings, lectures, and precepts, but do * include any help from people (including course staff, lab TAs, * classmates, and friends) and attribute them by name. * * Also include any resources (including the web) that you may * may have used in creating your design. **************************************************************************** */ /* ***************************************************************************** * Describe any serious problems you encountered. **************************************************************************** */ /* ***************************************************************************** * If you worked with a partner, assert below that you followed * the protocol as described on the assignment page. Give one * sentence explaining what each of you contributed. **************************************************************************** */ /* ***************************************************************************** * List any other comments here. Feel free to provide any feedback * on how much you learned from doing the assignment, and whether * you enjoyed doing it. **************************************************************************** */