Can some one provide solution for this-https://aonecode.com/Interview-Question/Check-Product-Sequence-II
Identifying the minimum word subsequence