Buttercup
After finally making it to the moon, without a day's rest, we were tasked with a job. All the other kids who were about to land on the moon had toy bins of their own. We were tasked to go through all these toy bins and throw away a particular flower that had a name we'd never heard of before. The name of this flower is Buttercup:
Being the Swift developer that we are, we've decided to write a program to handle this for us. For us (as humans) to go through each item one at a time from every single toy bin, it might take us forever to finish!
Getting right to it, we decided to create a function to handle this problem for us. This function will need to have one argument. When we look to call on this function, we will be giving it something; the something being an array of strings. That array of strings represents all the different items belonging to one person (their toy bin). In our implementation of this function, we will first create a new empty array (or new empty toy bin), and...