exercism / vlang

Exercism exercises in V.
https://exercism.org/tracks/vlang
MIT License
11 stars 19 forks source link

Add anagram exercise #211

Closed keiravillekode closed 6 months ago

keiravillekode commented 6 months ago

I excluded the following test case

    {
      "uuid": "a6854f66-eec1-4afd-a137-62ef2870c051",
      "description": "handles case of greek letters",
      "scenarios": ["unicode"],
      "property": "findAnagrams",
      "input": {
        "subject": "ΑΒΓ",
        "candidates": ["ΒΓΑ", "ΒΓΔ", "γβα", "αβγ"]
      },
      "expected": ["ΒΓΑ", "γβα"]
    },

My example solution fails this test.

It is also inconsistent with the problem description

The target and candidates are words of one or more ASCII alphabetic characters (`A`-`Z` and `a`-`z`).