Removes the prefixes from a list of lowercase words of any length and concatenates them separated with uppercase letters representing the prefix size or Z if just the last letter changes or Y if just a letter is added.
Input (JSON)
["abandoned","abilities","ability","able","aboriginal","abortion","about","above","abroad","abs","absence","absent","absolute","absolutely","absorption","abstract","abstracts","abuse","academic","academics","academy","accent","accept","acceptable","acceptance","accepted","accepting","accepts","access","accessed","accessibility","accessible","accessing","accessories","accessory","accident","accidents"]
Output
GO
See the original version