strs[0]must be a superset of finalprefix.- Check all other strings if they contain
strs[0]; if not, substring it until satisfied.
1 | class Solution { |
strs[0] must be a superset of final prefix. strs[0]; if not, substring it until satisfied.1 | class Solution { |