Ad
  • Default User Avatar

    Clever. However, it uses a ton of heap size. Not a problem with small length, but as it approaches length of 1000000, you'll fullfill the heap.