Given a list of strings of different length, we need find out string that would come in first in dictionary among strings generated by combination of given strings.
For I