Most Common Trigraph

  • 0

    Given a long string of ascii characters, find the most common trigraph

    For example, given


    the trigraphs are

    abc, bcd, cda, dab, abc, bce, cef

    The most common is abc

Log in to reply

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.