It was a multipart question.
The question was based on string split, slicing, matching and basic checks. Attempting the question in python will really give us the edge instead of using any verbose language like Java.
Given multiple strings separated by commas mapped as individual merchant information. First part was to retrieve merchant info from each string and then further parts was to perform some basic checks.
Part 2 was to filter out merchants with empty / null values or description.
Part 3 was to match merchants with pre-determined description values.
Discussion
Loading comments…