C# HashSet
\npublic class Solution {\n    public int[] CircularGameLosers(int n, int k)\n    {\n        var losers = new HashSet<int>(Enumerable.Range(1, n));\n\n        f
```\npublic class Solution {\n    public int[] CircularGameLosers(int n, int k)\n    {\n        var losers = new HashSet<int>(Enumerable.Range(1, n));\n\n        for (int i = 0, j = 0; losers.Contains(i + 1); i = (i + ++j * k) % n)\n        {\n            losers.Remove(i + 1);\n        }\n\n        return losers.ToArray();\n    }\n}\n```
['C#']