This one I think is easy peasy. All you have to do it this! Code runs in O(n) time for every character. Nothing much to this problem.
確定! 回上一頁