leetcode748-Shortest Completing Word

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/zem_nezer/article/details/86643900

Create hash table for target, and hash table for source, compare each and break if source less than target

Error:

  1. We are comparing source greater than target, not the same
  2. take care of lower case and non-alpha case

猜你喜欢

转载自blog.csdn.net/zem_nezer/article/details/86643900