50. Group Similar Strings - medium Coding Challenge