in reply to Questions: how to exclude substring having Evil meanings

7 chars, eh?
N NNN NNN
If you just use the digits 0-9, you're set.
It's just a coincidence that your code is the set of integers from 1 - 5,000,000
  • Comment on Re: Questions: how to exclude substring having Evil meanings

Replies are listed 'Best First'.
Re^2: Questions: how to exclude substring having Evil meanings
by ikegami (Patriarch) on Dec 02, 2009 at 17:24 UTC
    Where did you get 5,000,000 from? 367 is significantly larger: 78,364,164,096
      I would imagine from the OP:
      I have a list which contains about 5M records...
      But it has been updated to add that the list may grow substantially over time, so a solution optimized for 5M items still wouldn't be the Right Answer.