Cotiviti Interview Question

Given this string, reverse and print it. Given this array, find all duplicates with a lambda function.