Address Validation Imagine you get a data set from a client that contains addresses from 150 countries all around the world and your task is to verify it, the data is stored in 3 fields – Address Line, City, and ZIP code. What you also have available is an address verification solution for each country, but the data set does not include the country code. Your task is to design a logic that will process the data and find the related country for each record, so they can be run through the relevant validation component. Think of the most efficient way. Describe your solution proposal ideally in an algorithmic way (e.g. using appropriate UML diagrams, pseudo-code, list of steps…) Hint: Running all of those 150 address verification components against each record is not considered efficient
Address Validation
Imagine you get a data set from a client that contains addresses from 150 countries all around the world and
your task is to verify it, the data is stored in 3 fields – Address Line, City, and ZIP code. What you also have
available is an address verification solution for each country, but the data set does not include the country code.
Your task is to design a logic that will process the data and find the related country for each record, so they can
be run through the relevant validation component. Think of the most efficient way. Describe your solution
proposal ideally in an
Hint: Running all of those 150 address verification components against each record is not considered efficient
Step by step
Solved in 3 steps