CVS Health Interview Question

Write a program to make an array act as a set along with unit test cases