bitvector + modual arithmetic
rust []\nimpl Solution {\n    pub fn circular_game_losers(n: i32, k: i32) -> Vec<i32> {\n        let n = n as usize;\n        let k = k as usize;\n        let m
```rust []\nimpl Solution {\n    pub fn circular_game_losers(n: i32, k: i32) -> Vec<i32> {\n        let n = n as usize;\n        let k = k as usize;\n        let mut seen = vec![false; n];\n        let mut p = 0;\n        seen[p] = true;\n        for i in 1.. {\n            p = (p + i*k).rem_euclid(n);\n            if seen[p] {\n                    return (0..n).filter_map(|i|(!seen[i]).then_some((i+1) as i32)).collect()\n            } else {\n                seen[p] = true;\n            }\n        }\n        unreachable!()\n    }\n}\n```
['Rust']