John Venn (Efficient Set Matching)

Asked at BlackRock · Coding Questions · Difficulty: Easy

Accept two sets of alpha-numeric values and perform an efficient matching (intersection). Output the values that exist in both sets, sorted alpha-numerically and space-separated; output NULL if there are no common values.

Loading the problem…