Select words to maximize unique characters | Meta Interview Question