Skip to content

⭐ Rated 4.9/5 by 8,400+ students  |  πŸŽ“ Expert writers in 80+ subjects  |  βœ… 100% original, no AI  |  πŸ”’ Confidential & secure

Home β€Ί Blog β€Ί

the most popular female first names in the United States

5 min read

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.

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

Why students choose Scholaris

  • 100% human writing, no AI
  • Plagiarism report with every order
  • Deadlines from 3 hours
  • Money-back guarantee
  • Free unlimited revisions

Related Study Guides