Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
One liner solution in Clear category for Goes Right After by MBM_1607
def goes_after(word: str, first: str, second: str) -> bool:
return ''.join(sorted(set(word), key=word.index)).find(first+second) != -1
March 14, 2020