Pergunta de entrevista da empresa RetailMeNot

Given an array of strings ( may have duplicate), split them into multiple sub-arrays such that: 1. There is no duplicate in each sub-array. 2. The number of sub-array is minimum.