Ad
  • Default User Avatar

    The entire string shouldn't necessarily be lowered either; chars could be lowered as you go. It's pointless lowering the whole of aABCDEFGHIJKLMNOPQRSTUVWXYZ if you're going to detect a non-isogram on str[1]

  • Default User Avatar

    "but not so fast as char comparison" - explain better what you mean by this