Solution of 4388 - Suffix reconstruction