Completed Substrings Assignment