Question: Create a function that accepts an array of string as an input and returns Array list of repetitive items. Ex 1 : input : [

Create a function that accepts an array of string as an input and returns Array list of repetitive items.
Ex1 : input : ["ali", "simranjit", "vansh", "ali","tamanna", "simranjit"]-> Output : ["ali", "simranjit"]
// ali and simranjit repetead more than once in input but
tamanna and
vansh was only once
Ex2: input : ["david", "alex","robert","David", "susan", "DAVID"]-> output : ["david"]
// if one name like david exists more than one but in different shape like "David" or "DAVID" it should be counted and return all small letter ["david"]
ex3 : ["Alex", "vansh","joe","Alex"]-> output : ["alex"]
// hint in the output array we do not have any capital letter, in case Alex exits 3 times it should be returned in small for like ["alex"] Using online java complier
u

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!