Introduction - If you have any usage issues, please Google them yourself
For this problem, you will need to create an second array that is smaller than the original whitelist. You need to go through the original whitelist twice: once to determine the number of unique items in the whitelist and a second time to copy the unique items to the new array.