I think there should be more tests, I wrote a wrong solution but passed the test. tests like ["abg","hef","bf"] I got ahbefg.
22