Implementation
Code\n\nclass Solution {\npublic:\n    vector<int> circularGameLosers(int n, int k) {\n        unordered_map<int,bool> mp;\n        vector<int> ans;\n        lo
# Code\n```\nclass Solution {\npublic:\n    vector<int> circularGameLosers(int n, int k) {\n        unordered_map<int,bool> mp;\n        vector<int> ans;\n        long long st = 0, i = 1;\n        while(!mp.count(st)){\n            mp[st] = true;\n            st += i*k;\n            st %= n;\n            i++;\n        }\n        for(int i=0; i<n; ++i)\n            if(!mp.count(i)) ans.push_back(i+1);\n        return ans;\n    }\n};\n```
['Simulation', 'C++']