Here is a sample of the most popular female first names in the United Statesaccording to the 1990 census.String PopularName="MARY,PATRICIA,LINDA,BARBARA,ELIZABETH,JENNIFER,MARIA,SUSAN,MARGARET’DOROTHY,LISA,NANCY,KAREN,BETTY,HELEN,SANDRA,DONNA,CAROL,RUTH,SHARON,MICHELLE,LAURA,SARAH,KIMBERLY,DEBORAH,JESSICA,SHIRLEY,CYNTHIA,ANGELA,MELISSA,BRENDA,AMY,ANNA,REBECCA,VIRGINIA,KATHLEEN,PAMELA,MARTHA,DEBRA,AMANDA,STEPHANIE,CAROLYN,CHRISTINE,MARIE,JANET,CATHERINE,FRANCES,ANN,JOYCE,DIANE,ALICE,JULIE,HEATHER,TERESA,DORIS,GLORIA,EVELYN,JEAN,CHERYL,MILDRED,KATHERINE,JOAN,ASHLEY,JUDITH,ROSE";I want you to do the following:1. Convert this comma delimited list into ArrayList2. Sort an ArrayList using merge sort algorithm along with a recursion3. Find initial of each name and then find the occurrences of each the alphabet andstore the result in appropriate Java collections , set, map, or something else andjustify why you chose this collection4. I want you to print the result of the initial of each names along with it occurrencesand it should show something like this:Letter | OccurrenceM|7B|35. When you have the collection you created in step 3 ready, can change the capitalletter into small letter and we you print the result it should be:Letter | Occurrencem|7b|36. Can you accomplish step 1 & 2 by just using one of the Java collections assumingthat you are looping and fetching every name putting it in this collection and it isgoing to be sorted automatically? Write how you are going to do it.
Tags:
Need help with your assignment?
Expert writers available now. Original work, no AI, free revisions.
π No payment to start Β· Free revisions Β· Money-back guarantee
4.9 β
Student rating
8,400+
Papers delivered
97%
On-time delivery
Our Services
Study Guides
- Once Upon A Time English Literature Essay
- Role of Neuromedins in Pain and Signal Transduction Pathways
- Tracking Dermal Drug Delivery
- Analysis of Team Nursing Delivery Model
- Probing the Competitive Antagonism Between O-GlcNAcylation and Phosphorylation Modifications of the Nucleosome at Histone H2B-Ser36
Why students choose Scholaris
- 100% human writing, no AI
- Plagiarism report with every order
- Deadlines from 3 hours
- Money-back guarantee
- Free unlimited revisions