Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

yes It's a question of java Problem Specifications: Write a Java program that prompts the user to enter two lines of words. The words are

image text in transcribed

yes It's a question of java

Problem Specifications: Write a Java program that prompts the user to enter two lines of words. The words are separated by spaces. Extract the words from the two lines into two lists. Write the following methods that do the: 1. Display the union of the two lists in ascending alphabetical order using quick sort. 2- Display the difference of the two lists in descending alphabetical order using merge sort. 3- Display the intersection of the two lists in ascending alphabetical order using quick sort. 4- Recursively display the number of vowel letters in each list. The letters for vowels are A, E, I, O, and U. 5- Display a menu of six options: insert two lists, display the union, display the difference, display the intersection, display the vowel letters, and end program. Find the time complexity of the above five methods. Write the Bio-O notation as a comment next to each method. Use to represent the power sign (Example N = N^3)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning VB.NET Databases

Authors: Thearon Willis

1st Edition

1594864217, 978-1594864216

More Books

Students also viewed these Databases questions