C# Linq 1 line
Complexity\n- Time complexity:\nO(n)\n\n- Space complexity:\nO(n)\n\n# Code\ncsharp []\npublic class Solution {\n    public int[] MinBitwiseArray(IList<int> num
# Complexity\n- Time complexity:\n$$O(n)$$\n\n- Space complexity:\n$$O(n)$$\n\n# Code\n```csharp []\npublic class Solution {\n    public int[] MinBitwiseArray(IList<int> nums) => nums.Select(num => num % 2 == 0 ? -1 : num - ((num + 1) & (-num - 1)) / 2).ToArray();\n}\n```
['C#']