MongoDB Interview Question

Given a array of words, return unique ones by keeping orders.