Question: From the sample data given below, remove duplicates on the combination of Name and Age and print results. Please do not use high level API/Framework

From the sample data given below, remove duplicates on the combination of Name and Age and print results.

Please do not use high level API/Framework like pandas /spark-sql etc.

Solve this problem by using simple data structures given in java.

Please try to optimize the solution for efficiency in terms of space and time.

Given Dataset: Name - Age - Location

Amit - 21 - London

Cynthia -28 -Belfast

Wendy - 26- Manchester

Gareth -21 -Cardiff

Charles -29 -Edinburgh

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!