Skip to content

Instantly share code, notes, and snippets.

@DrunkenAlcoholic
Created May 14, 2024 04:02
Show Gist options
  • Save DrunkenAlcoholic/21c845da2e78e5a0d5c24df47dff7a1e to your computer and use it in GitHub Desktop.
Save DrunkenAlcoholic/21c845da2e78e5a0d5c24df47dff7a1e to your computer and use it in GitHub Desktop.
Isogram [Exercism - Nim]
import strutils
proc isIsogram*(s: string): bool =
result = true
for ch in s.toLowerAscii:
if ch in Letters:
if count(s.toLowerAscii, ch) >= 2: return false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment