C# one liner | 0ms, beats 100%
Complexity
Time complexity: O(1)
Space complexity: O(1)
Code
# Complexity
- Time complexity: $$O(1)$$
- Space complexity: $$O(1)$$

# Code
```csharp []
public class Solution {
    public int[] EvenOddBit(int n) {
        return new int[] {
            BitOperations.PopCount((uint) n & 0x55555555U),
            BitOperations.PopCount((uint) n & 0xAAAAAAAAU)
        };
    }
}
```

['C#']